Hi,
I want to run same test for multiple data sets through xls file in data driven framework using all runmode (Y/N) things without opening new browser for each data set
I want to run it with the same opened browser for all data.
e.g.,
want to run this for multiple TYNumber in a loop
type("filterTextField_xpath", data.get("TYNumber"));
Instructor
Ashish Thakur Replied on 30/11/2019
Ok.. In that case open the browser in @BeforeTest Annotation. @BeforeTest is just executed once
Then @DataProvider can supply the data to the same test multiple times and you can use same browser which you opened in @BeforeTest annotation