namjae / robotium

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

getCurrentCheckBoxes.get(0).getCount() is giving the wrong data. #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Launch the activity with checkboxes.
2.get the count of checkboxes.
3.My activity has 4 checkboxes but the last one is hided,to see it you need to 
scroll.

What is the expected output? What do you see instead?

Expected:it is getting me countas 3 checkboxes.

Actual: it should return 4 checkboxes.

What version of the product are you using? On what operating system?
Android2.2 with robotium 1.9.0

Please provide any additional information below.

Original issue reported on code.google.com by anandpai...@gmail.com on 6 Dec 2010 at 2:18

GoogleCodeExporter commented 9 years ago
It can only return the checkboxes that are shown on the screen. Before the 
screen actually shows them they do not exist. So this is the expected behaviour.

Original comment by renasr...@gmail.com on 6 Dec 2010 at 2:22