How can i use id to do action on an object of an android using Robotium tool?

0
0

I tried to use id to click on the object in an android application but when i enter solo.clickOnImageButton(R.id.action_menu_search); It is showing an error, that action_menu_search cannot be resolved or not a field. How can i use the id of an object to click on the same.

Thank you in advance,
With regards,
David Gayler

  • You must to post comments
0
0

Use solo.clickOnView(solo.getView(int id));

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website