TestNG Tutorials – Integration with Selenium
TestNG stands for Test Next Generation. It is a testing framework used by developers for Unit Testing and by Automation Testers for writing functional test cases. TestNG tutorials here starts with Beginner’s Level and also covers all advanced topics. For a better understanding of the subject, We will recommend you to go through these items in sequential order and practice them thoroughly.
TestNG Tutorials for Beginners:
Let us first understand What is TestNG? And a comparison with one of its biggest competitor JUnit. TestNG provides a lot more feature as compared to JUnit.
TestNG does not come inbuilt with IDE’s like Eclipse etc. This topic here covers “How to Install TestNG with Eclipse IDE.”
Here, we will learn about the different Annotation and achieving attributes which can be used with these annotations in TestNG.
The default order of execution of test cases in TestNG is alphabetic order; this tutorial covers “How to execute test cases in desired order?”
This scenario covers How to skip a test case in TestNG?
Good Assertions is a key for achieving good Automation results. This section covers all the possible assertions in TestNG
Advanced Level topics in TestNG
Another benefit which TestNG provides us is running test cases from testng.xml file, which gives us the capability to run test cases in parallel, allows grouping of test cases and much more.
Here, we will learn “How to run all the test cases of the different file from a package?”
This section of TestNG tutorials covers execution of test cases in Groups, say, for example; you want to execute the Sanity test cases or Regression test cases, etc.
This tutorial covers how to execute a test case with some parameters
To execute a set of test cases on multiple browsers parallelly.
This is not the end of the tutorials; We will keep on adding the tutorials, keep checking this place for or Join Our Newsletter and get all latest updated tutorials, Interview Questions, Assignments and much more in you mailbox.
PS: For any queries, questions, suggestions or feedback feel free to write us at email@example.com or firstname.lastname@example.org.