I am working with Selenium 2 WebDriver in Eclipse and everything is working fine.
But when I want to test my WebDriver test files without Eclipse, many missing classes arise.
First it starts with:
NoClassDefFoundError com/google/common/collect/Maps
so I downloaded guava.jar and set the path to it for it.
But now the following NoClassDefFoundError has happened:
java.lang.NoClassDefFoundError: org/json/JSONException
Errors always occur on createDriver();
I am running Selenium with JUnit in Java.
"Only for JUnit" -testcases works fine (set the path to junit.jar and selenium-java.jar)
Do you know which banks I have to link in this eclipse are already tied by default for selenium test boxes?
ctekk source share