Just import the jar into the libs directory of the test project and then adding it to the Build Path Libraries:
Project Properties -> Java Build Path -> Libreries -> Add JARs... -> Project/libs/robotium-solo-3.1.jar
Question
I am running Junit test with Robotium frame work in eclipse,also I have added the robotium-solo-3.1.jar in lib folder still getting error as Test Class not found in selected project, please help me out
Solution 3
Just import the jar into the libs directory of the test project and then adding it to the Build Path Libraries:
Project Properties -> Java Build Path -> Libreries -> Add JARs... -> Project/libs/robotium-solo-3.1.jar
OTHER TIPS
your tests name should start with the word test
public void testClickOnButton() throws Exception {
}
public void testLogin() throws Exception {
}
Why do you use a so old version? Current version is robotium-solo-5.0.1.jar
I suggest to use this one!
use current version which is robotium-solo-5.0.1.jar right now. if you are using eclipse add to your add to your build path or add it your lib folder of project