Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

How can we run test cases in parallel using TestNG?

Category: TestNG

In order to run the tests in parallel just add these two key-value pairs inside the suite tag of the testng.xml file
parallel=”{methods/tests/classes}”
thread-count=”{number of thread you want to run simultaneously}”

Leave a Reply

Your email address will not be published. Required fields are marked *