Selenium RC Question: Download Selenium Remote Control PDF

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

Tweet Share WhatsApp

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 PDF Read All 17 Selenium Remote Control Questions
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?