Skip to content Skip to sidebar Skip to footer

Robotium Assertion Failing

When I run a test with Robotium, I use an assertion to verify that there is specific text on the page, but it fails. However, when I run the test without the assertion, the test pa

Solution 1:

If you don't assert anything then your test will pass cause nothing can fail.

Obviously the text you are searching is either missing from the screen, your configuration of the test runner is wrong or you are not even using the correct mechanisms for searching.

Solution 2:

I just found out the content that I am trying to verify is HTML. So since Robotium doesn't work with HTML, or any other web component, it won't verify the text I'm looking for.

Thank you to all who offered help!

Post a Comment for "Robotium Assertion Failing"