adspace


How to run a group of test cases using testng?

Answer Posted / Kedar Gautam

In TestNG, you can use the @Test(groups = {"groupName"}) annotation on the test methods that you want to include in a particular group. Then, you can run the tests for a specific group by using the command line option -groups or in the IDE.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what will be the first salary and what will be the hike in the salary?

929


Do you know how to locate a link using its text in selenium?

985


Have you created any framework?

1038


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

1197


What’s selenese?

920