Solved| TestNG Error : Cannot find class in classpath - Software Testing

Empowering Technology

Post Top Ad

Responsive Ads Here

Oct 9, 2020

Solved| TestNG Error : Cannot find class in classpath

 Cannot find class in classpath: <CLASSNAME>.java
    at org.testng.xml.XmlClass.loadClass(XmlClass.java:81)
    at org.testng.xml.XmlClass.init(XmlClass.java:73)
    at org.testng.xml.XmlClass.<init>(XmlClass.java:59)
    at org.testng.xml.TestNGContentHandler.startElement(TestNGContentHandler.java:539)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)

 Solution: Check the path & classname in testng.xml

No comments:

Post a Comment

Thanks a lot for your valuable Comment!

Post Bottom Ad

Responsive Ads Here