Open browser and test login functionality with different cases with out closing a browser

1. Open Browser.
2. Load Login URL page.
3. Pass different values into username and password field ,without closing the browser.
4. Last value’s in the excel is a valid login , i should be logged into the page.
(validation’s also i am passing as a variable.)

I am stuck at passing a values to username and password field ,without closing the browser. Now browser open’s every time and passes the value.
Need Help with code …anyone ?

12.png

you can get out the open/close browser from the test case and set it in test listeners - tear up / tear down instead

1 Like

Ibus said:

you can get out the open/close browser from the test case and set it in test listeners - tear up / tear down instead

Thank you buddy