Reputation:
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
Upvotes: 0
Views: 574
Reputation:
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
Upvotes: 0
Reputation: 99
your tests name should start with the word test
public void testClickOnButton() throws Exception {
}
public void testLogin() throws Exception {
}
Upvotes: 3
Reputation: 706
Why do you use a so old version? Current version is robotium-solo-5.0.1.jar
I suggest to use this one!
Upvotes: 2
Reputation:
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
Upvotes: 1