1.

How To Run Test Cases With Dependent In Selenium Using Testng?

Answer»

The @TEST should be followed by (dependsOnMethods = "testLogin")

Note:- The test CASE will be executed after the testLogin case

EX: @Test(dependsOnMethods = "testLogin")

The @Test should be followed by (dependsOnMethods = "testLogin")

Note:- The test case will be executed after the testLogin case

Ex: @Test(dependsOnMethods = "testLogin")



Discussion

No Comment Found