RE: How to run more than one test in testng?

Answered

How to run more  than one test in testng?

kishore Train Asked on September 20, 2014 in Selenium WebDriver.
Add Comment
3 Answers

Hi,

Create more than 2 methods and use @Test annotation with methods. Or please post your code if below is not solution for your query. I gave the solution based on what I understood from your query.

@Test(priority=0)
public void method1() {
……………. //Your code
}

@Test(priority=1)
public void method2() {
…………….//Your code
}

So on………!!!!!

Vice Professor Answered on September 20, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.