Tag: testng error in jenkins

Jenkins error: org.testng.annotations does not exist

Solution: In your pom.xml file remove the scope and this should work fine. Because, even though we have imported the maven dependency for TestNG, when you add scope tag in XML file, it treats as JUnit annotation and…

Read More »