i want use cucumber framework selenium webdriver+java. development of our automation framework. automated many scenarios on ff browser. want run tests on multiple browsers. browsed through net, couldn't concrete solution. can 1 please me on implementation.
src/main/java
> has page objectssrc/main/resources
> has nothingsrc/test/java
> hasruntests.java
,testrunner.java
src/test/resources
> has feature file.
any on appreciated.
parameterise instantiating ff webdriver object can take browser type, e.g. ff, chrome, ie. variable return different webdriver object e.g. chromedriver, internetexplorerdriver etc.
to learn instantiating different browser types, search google or see: http://www.qaautomation.net/?p=373
from there can feed method variable or set environment variable through ci (e.g. jenkins) job hold browser type test run.
Comments
Post a Comment