When we are running testng ant tasks we might get this error:
"Reference testng-impl-classpath not found"
You should look at the testng.xml file you are using for testng to pick up your classes from!!!
Like mine has the following:
Now you should check if your classes mentioned in the file are found at the exact path..
I have a mistake in the path. My classes are found under Panels.LeftPanels.Barrel.TestBookBox
Thus the error.
So solution: Check if you have any mistake in the class path you mentioned!!!!
"Reference testng-impl-classpath not found"
You should look at the testng.xml file you are using for testng to pick up your classes from!!!
Like mine has the following:
Now you should check if your classes mentioned in the file are found at the exact path..
I have a mistake in the path. My classes are found under Panels.LeftPanels.Barrel.TestBookBox
Thus the error.
So solution: Check if you have any mistake in the class path you mentioned!!!!
Comments