TestNG Runner Class Example | Run multiple tests

TestNG Runner Class



There are three ways of running multiple tests

1) Using testng xml file

2) Using TestNG runner class

3) Using @Factory annotation



Earlier we have covered how to run multiple test cases using testng.xml file and in the next blog we will see how to use factory annotation to run multiple tests.



In this video we will go through step by step process of creating a simple Java class which makes use of  TestNG class to run the tests using run method and setTestSuite methods.



For setTestSuite we make use of testng xml files. For further details go through the following video









YouTube : https://bit.ly/2oCwC5N

Twitter : @rajtechtrainer

Facebook : https://www.facebook.com/raj.techtrainer

Google Plus : https://plus.google.com/114713735444684008024



For any training requirements both online and offline or Corporate training please contact us at techtrainerraj at gmail.com

Comments

Popular posts from this blog

Selenium Grid Part 2 : Grid setup and run test case on multiple browsers