Steps for sequential run using TestNG
Pre-Requisites:
- JDK
- Maven is present in the system.
- .m2 folder is placed under location C:\users\yourlanid\.m2
- Enterprise_Automation_Framework version
Steps for Sequential Run:
- Mark the Test Cases which needs to be executed in all the required Test Suite excels.
- 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 - Module names/class names can be found in the framework launcher under the 'TestClassName' column.
- 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.
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