-1

I am using Robotium 5.0.1. assertTure or asserFalse API is not displaying in my eclispe IDE. How to enable this option?

Thanks

1 Answers1

1

What's the code you use? What's the error?

You can write the code belove and report the error (anyway it should work if other robotium methods work):

assertTrue(solo.searchText("Pippo"));
Flavio Capaccio
  • 706
  • 4
  • 15
  • Thanks for your reply. Actually I was solo.assertTure(). Thats why it was displaying "The method assertTrue(boolean) is undefined for the type Solo" error. Could you please explain why solo is not working with assert? – user3004625 Feb 06 '14 at 11:21
  • Because you can use the assert of junit; I think it would be a redundant method. The effect is the same. Please accept my answer if it solved your problem. – Flavio Capaccio Feb 06 '14 at 11:25