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

jq command in Linux

 How to access the {"field-name":"cskmetro"} echo "{\"field-name\":\"cskmetro\"}" |jq -r ...