TestNG Groups:
We don't want to define test methods separately in different classes
(depending upon functionality) and at the same time want to ignore (not to execute) some test cases as if they do not exist in the code.
So to carry out this we have to Group them. This is done by using "include"
and the "exclude" mechanism supported in testNG.
@Test (groups = "Sanity")
void methodA(){
System.out.println("This test is under Sanity Group");
}
TestNG Annotations:
https://www.youtube.com/watch?v=TYolO...
TestNG XML Files:
https://www.youtube.com/watch?v=_yoqi...
TestNG Introduction for Beginners
• TestNG Tutorial | IT Industry Tutorials | ...
TestNG Include and Exclude methods
• TestNG for Beginners - Part 4 | TestNG Inc...