I need to run my test case through chrome,Firefox and IE browsers in same time so how can i open two or more browsers using one single instance of Webdiver?
Thanks.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this communityI need to run my test case through chrome,Firefox and IE browsers in same time so how can i open two or more browsers using one single instance of Webdiver?
Thanks.
In TestNG using @parameter
annotation you can run your test cases in different browsers.
In testng.xml
File, you have to pass the browser value in the parameter tag which you have specified in the test case.
In case of Protractor
, which is almost a webdriver implementation for Angular based website automation, you can open multiple browsers at the same time , using multicapabilities
in the conf.js
file.
See this for further reference