stephenwang1011 / robotium

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

Can not click all the buttons get by getCurrentButtons() #288

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.ArrayList<Button> buttons = solo.getCurrentButtons();
2.int btnsize = buttons.size();
3.for(int i = 0; i < buttons.size(); i++){
     solo.clickOnButton(i);
  }

Please provide any additional information below.

junit.framework.AssertionFailedError: Button with index 3 is not available!
at com.jayway.android.robotium.solo.Waiter.waitForAndGetView(Waiter.java:362)
at com.jayway.android.robotium.solo.Clicker.clickOn(Clicker.java:323)
at com.jayway.android.robotium.solo.Solo.clickOnButton(Solo.java:929)
at ....

Original issue reported on code.google.com by davidyou...@gmail.com on 26 Jun 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Is any of the buttons blocked? E.g. soft keyboard blocking one of them or 
similar?

Original comment by renasr...@gmail.com on 26 Jun 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Will open up again when new information is given.

Original comment by renasr...@gmail.com on 20 Jul 2012 at 5:56

GoogleCodeExporter commented 9 years ago
i have encountered the same question
have you found the reason?

Original comment by dqz...@gmail.com on 12 Sep 2012 at 3:46

GoogleCodeExporter commented 9 years ago
Would it be possible for you to send me a sample app that exhibits this issue?

Original comment by renasr...@gmail.com on 12 Sep 2012 at 4:36