austgl / robotium

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

clickInList fails with multiple lists #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create a view with multiple lists.
2. Attempt a clickInList on any list except the first. 

No click event occurs.

The problem is on line 369 of the Clicker.java class. Where it calls 
viewFetcher.getView it passes zero instead of index. This used to work 
correctly in version 2.1 but is broken in 2.2 and 2.3. 

I'll submit a pull request for this fix shortly.

Original issue reported on code.google.com by andrew.l...@gmail.com on 29 Jun 2011 at 10:51

GoogleCodeExporter commented 9 years ago
I've submitted a pull request for this fix. Here is the commit URL for anyone 
else that's interested.

https://github.com/louth/robotium/commit/78600568eca1bcdf4e04236d23221e78b8ea6a2
b

Original comment by andrew.l...@gmail.com on 29 Jun 2011 at 10:58

GoogleCodeExporter commented 9 years ago
Thanks for this. The fix will be merged in the coming days.

Original comment by renasr...@gmail.com on 29 Jun 2011 at 11:13

GoogleCodeExporter commented 9 years ago
This has been corrected in Robotium 2.4.

Original comment by renasr...@gmail.com on 13 Jul 2011 at 5:26

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 13 Jul 2011 at 5:26