How to run test cases with dependent in Selenium using TestNG?

Submitted by: Administrator
The @Test should be followed by (dependsOnMethods = "testLogin")
Note:- The test case will be executed after the testLogin case
Ex: @Test(dependsOnMethods = "testLogin")
Submitted by: Administrator

Read Online Selenium RC Job Interview Questions And Answers