Hello Mani, how are you executing this? Are you using Gradle? Are you starting the tests from an IDE? Can you show your build.gradle file?
Best regards, Thomas On Monday, June 29, 2020 at 9:48:07 AM UTC+2 Mani wrote: > I created a framework with testng & GEB. (groovy) > > When I executed as testng suite, I'm getting > > Cannot find class in classpath: com.Daca.Smoke.GoogleTest > 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:556) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) > > > I tried all the solution given in google such as cleaning the project > etc.(I've done the same in testng, java & selenium it worked well) > > For groovy, testng & GEB i couldn't resolve it. > > -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/ba4d7dda-7f42-48ee-8b3a-cf1b56169e63n%40googlegroups.com.
