TestNG - Order of Tests execution in selenium script
问题 I'm using selenium 3.8.1 and TestNG 6.9.2 version,while test execution before completing the @Test method another @Test method is starts,because of this i'm getting error in selenium script After completion of Test Cases execution. One Class public class LoginPage{ @Test(priority=0) public void test1(){ System.out.println(first test); } @Test(priority=1) public void test2(){ System.out.println(Second test); } } Second Class public class HomePage{ @Test(priority=0) public void test3(){ System