How to execute certain set of test cases

How to execute certain set of test cases which are not same every  when we execute..?

Ex: 1st time i need to execute 1,3,5,7,9…

2nd time 2,4,6,8,…

3rd time 1,5,7,8,45,34,56,58,….

so like this every time it vary from set to set…

Default Asked on January 6, 2015 in Selenium WebDriver.

You can probably use the TestNG’s grouping feature which lets you to group the related @Test methods.

And to run specific @Test you can use include or exclude in TestNG.xml

For details you can refer the TestNG documentation :

on January 7, 2015.
Add Comment
  • 0 Answer(s)
  • Your Answer

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