Answers

Question and Answer:

  Home  Selenium Remote Control

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

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

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

Ex: @Test(dependsOnMethods = "testLogin")

 162 views

More Questions for you: