Selenium RC Question:
Download Questions PDF

How to run the test cases in group in Selenium using TestNG?

Answer:

Test cases in group in Selenium using TestNG will be executed with the below options.
If you want to execute the test cases based on one of the group like regressiontest or smoketest
@Test(groups = {"regressiontest", "smoketest"})

Download Selenium Remote Control Interview Questions And Answers PDF

Previous QuestionNext Question
How to run test cases with dependent in Selenium using TestNG?How to execute the test cases in an XML format using TestNG in Selenium?