Tuesday, April 29, 2025

Steps for sequential run using TestNG

  Steps for sequential run using TestNG

Pre-Requisites:

  1. JDK
  2. Maven is present in the system. 
  3. .m2 folder is placed under location C:\users\yourlanid\.m2
  4. Enterprise_Automation_Framework version
Steps for Sequential Run:

  1. Mark the Test Cases which needs to be executed in all the required Test Suite excels.
  2. Update/Add the module names/class names to be executed in the below mentioned section in the TestNG.xml file. Also, based on the number of modules to be executed, update the 'thread-count' value.
    testing.xml
  3. Module names/class names can be found in the framework launcher under the 'TestClassName' column.
  4. Open TestNG.xml file in eclipse and run as TestNG Suite.

Note:
Once the execution is done. The Results can be found under the Test Results for all the executed Test Suites.

No comments:

Post a Comment

BrowserStack Testing

 Test any app: Web, mobile & enterprise Any type of testing:  Functional |  Cross-browser & real device | Accessibility | Visual | P...