How can we set the priority of test cases in TestNG?
Hey Macy
Using the priority parameter in @Test annotation in TestNG we can define the priority of test cases. The default priority of the test when not specified is the integer value 0. Example-
@Test(priority=1)