user3301133
user3301133

Reputation:

android:Test Class not found in eclipse

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

Answers (4)

user3306875
user3306875

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

gionnut
gionnut

Reputation: 99

your tests name should start with the word test

public void testClickOnButton() throws Exception {
}



public void testLogin() throws Exception {
}

Upvotes: 3

Flavio Capaccio
Flavio Capaccio

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

user3222498
user3222498

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

Related Questions