Search code examples
javaautomated-testsselenium-rctest-suite

How to implement Test Suite for Java Selenium tests


I would like to call my Selenium tests, written in Java (@Test annotated) from one class.

Is there option make it class as kind of Test Suite,perhaps annotated appropriately?

thanks.


Solution

  • If you use TestNG then you can programmatically call these test methods, for more on this - http://testng.org/doc/documentation-main.html#running-testng-programmatically