I have switched to a new branch and created new TestNG XML to run different test suite. But when I tried to run it as a TestNG suite eclipse only suggests run as configurations. I have set the suite path in TestNG but still not getting run as TestNG.

I have tried maven clean and project update as well. TestNG is already installed in eclipse.

What can I do to resolve this?

1 Answer 1

  1. Help--->Install new software-->already installed --->TestNG (All)---> Uninstall ---> restart now (Eclipse will restart)

  2. After restart again Help-->Install new software --> Clicks on 'Add' ---> Name TESTNG URL - https://testng.org/testng-eclipse-update-site/7.4.0/ ---> Ok

  3. After install restart now Eclipse

  4. You got the TestNG

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.