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

Linux Kernel Compilation

 Step 1: Install Required Packages Install additional packages before building a kernel. To do so, run this command: sudo apt-get install gi...