1.

How To Run Testng Using Command Prompt?

Answer»

RUN the TestNG USING command prompt

Open command prompt and USE the below code

  1. C:UsersAdminDesktopSTMSeleniumTutorialworkspaceSoftwareTestingMaterial
  2. SET classpath=C:UsersAdminDesktopSTMSeleniumTutorialworkspaceSoftwareTestingMaterialbin;C:UsersAdminDesktopSTMSeleniumTutorialworkspaceSoftwareTestingMateriallib*
  3. java org.testng.TestNG C:UsersAdminDesktopSTMSeleniumTutorialworkspaceSoftwareTestingMaterialtestng.xml

Run the TestNG using command prompt

Open command prompt and use the below code



Discussion

No Comment Found