Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.
TestNG gives the facility to run tests using the command prompt. Here are the steps you can follow for the same:
java -cp <path of lib>; <path of out or bin folder>
org.testng.TestNG <path of testng>/testng.xml
By giving the classpath for the JVM, the path to the compiled.class files, and the location of the TestNG XML configuration file; this program performs TestNG tests in Java. TestNG subsequently reads the configuration file, and the given tests are executed.
Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.
Start Free TestingEarn resume-worthy Selenium certifications that help you land a top job.
Learn MoreTest orchestration and execution cloud of 3000+ browsers and OS
24/7 support
Enterprise grade security
Fastest test execution cloud