My test case need to interact with three different system, say system A, B, C.
System A, B can be opened on chrome and IE both,but system C being legacy system, can be opened on IE only.
On System A, I have to enter series of some user data which then redirects us to system B (we are integrating system A & B) within same browser. After performing some action on system B, in order to assert status we have to open system C which is legacy application and can be opened only on IE.
Now how can I execute my test case in such a way that opening system A, B on chrome and opening system C on IE.
I am using selenium webdriver with cucumber and serenity
Opening two different browser for same test case in Selenium
1.8k Views Asked by SachinB At
1
QAF supports feature of working with multiple drivers. Since QAF 2.1.11 additional feature of having muliple driver sessions in the same test is added
To have multiple driver session in the same thread/test-case
set driver name using QAFTestBase#setDriver("driverName") For instance,
NOTE: If you don't want to quite driver while switch, set
driver.name
property instead of set driver.