Hot answers tagged


Convert your project to Maven project and use the surefire plugin. Inside the plugin mention the testng.xml file as the test suite. Now you can run your scripts in any environment using below commands. mvn install - This will install all the dependencies mvn test - This will run your scripts <plugin> <groupId>org.apache.maven.plugins</...

Only top voted, non community-wiki answers of a minimum length are eligible