GAQM Certified Professional Selenium Tester (CPST) CPST-001 Question # 38 Topic 4 Discussion

GAQM Certified Professional Selenium Tester (CPST) CPST-001 Question # 38 Topic 4 Discussion

CPST-001 Exam Topic 4 Question 38 Discussion:
Question #: 38
Topic #: 4

You need to group your Selenium tests using TestNG. How would you define and use test groups in TestNG?


A.

Use the TestNG XML configuration file to specify test groups.


B.

Use the mvn testng:test command to execute tests in specific groups.


C.

Use the @Test(groups = "") annotation to define test groups.


D.

Manually specify the test groups in the test classes.


Get Premium CPST-001 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.