Thursday, September 12, 2019

Selenium TestNG - Running Multiple TestNG Classes using Java Main Class





List file=new ArrayList();
file.add("/home/selenium-workspace/starauto/starEE.xml");
file.add("/home/selenium-workspace/starauto/starDD.xml");
TestNG testSTAR = new TestNG();
testSTAR.setTestSuites(file);

testSTAR.run();

No comments:

Post a Comment

How to interact with the non-interactable Web Elements in Selenium

How to interact with the non-interact able Web Elements in Selenium    // Find the non-interactable element element WebElement element = dr...