austgl / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

clickOnButton should been called by id #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I only can access the clickOnButton by his show text
2. -
3. -

What is the expected output? What do you see instead?
I like can access the clickOnButton by his ID instead his show text

What version of the product are you using? On what operating system?
on version 2.1

Please provide any additional information below.
Maybe I will try a newest version. I don't know if in a newest version this 
improvement is resolved

Original issue reported on code.google.com by pipi...@gmail.com on 28 Jul 2011 at 2:29

GoogleCodeExporter commented 9 years ago
Please see the javadoc.

Original comment by renasr...@gmail.com on 28 Jul 2011 at 6:49

GoogleCodeExporter commented 9 years ago
If you want to click using id, u'll have to use clickOnView
try this:
         solo.clickOnView(solo.getView(id));

Original comment by rudolfco...@gmail.com on 11 Jul 2013 at 12:26