chuckliddell0
chuckliddell0

Reputation: 2061

Robotium Tests Fail Randomly

I am using Robotium to test the GUI in my Android application. When I run my tests through eclipse they all pass without a hitch, however when I run them through maven the tests seem to fail randomly. The activity screens can sometimes hang before the crash, other times I get the error that the text to be clicked on cannot be found, when I can see it on the emulator. I have solo.waitForText() and solo.waitForActivity() in all the necessary places and have tried many different code rewrites but I get the same issue every time.

Has anyone else come across this issue with Robotium and found a solution? It is a fantastic framework and allows thorough testing of applications so I would like to use it if at all possible.

Chuck

Upvotes: 1

Views: 502

Answers (1)

Renas
Renas

Reputation: 1919

Please update Robotium to version 3.4.1. The issue that you are describing has been fixed in the new version.

If your issue still exists in 3.4.1 please file a defect report on:

http://code.google.com/p/robotium/issues/list

Upvotes: 2

Related Questions