Robotium Problem

Hello Everyone,

I am a newbie to Robotium. I had copied the entire script from the below website:

When I am running the script I am facing the below mentioned problem.

at com.calculator.test.TestMain.setUp(
at android.test.AndroidTestRunner.runTest(
at android.test.AndroidTestRunner.runTest(
at android.test.InstrumentationTestRunner.onStart(

Please help me to get rid of this problem. Thanks in advance.


Devraj Kanti

You need to be a member of Mobile QA Zone to add comments!

Join Mobile QA Zone

Email me when people reply –


  • Hello Everyone,

    Thanks a lot for your concern. Actually there was a problem with the code. I had sorted it out with help of my colleague.

    Thanks & Regards,

    Devraj Kanti

  • I guess If Solo jar is not there, while writing Solo.method it will give error. It will be highlighted in red. It wont allow you to run the app. Here he is able to run. So problem is something else (This is just a guess).

    Robotium is not a 100% perfect framework. If it could not find the element in  some duration it may fail.

    So its better to give some  delay 


    Please try test droid, automation version of this framework. It will save your time.



  • its something robotium-solo..jar

  • there is no solo.jar. Looks like that the robotium.jar file is missing in the build path.

  • Include solo.jar file into project's library.. download it from google.

This reply was deleted.
    results->result as $result) { ?>
  1. jobtitle;?>
    company;?>(formattedRelativeTime;?>)city;?>, state;?>
    Welcome to Mobile QA Zone, a Next Generation Software Testing Community.Invite your friends to join this community.Write to us to become a featured member.