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.
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.
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