sangmingming / robotium

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

clickInList should work for GridView #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Make test application (in attachment) with many ImageView organized in GridView

Test Code:
solo.waitForActivity("TestActivity", 500);
solo.setActivityOrientation(Solo.PORTRAIT);
solo.sleep(1000);
solo.clickInList(18);

then run test. 

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

Test failed cause solo tried cast GridView on ListView.

What version of the product are you using? On what operating system?
- robotium-solo-3.2.1.jar
- win7 64bit

Please provide any additional information below.

Original issue reported on code.google.com by Michal.S...@bitbar.com on 14 May 2012 at 10:30

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. It will be fixed in the next release.

Original comment by renasr...@gmail.com on 14 May 2012 at 3:09

GoogleCodeExporter commented 9 years ago
Issue 259 has been merged into this issue.

Original comment by renasr...@gmail.com on 29 May 2012 at 8:02

GoogleCodeExporter commented 9 years ago
This has been fixed in Robotium 3.3. 

Original comment by renasr...@gmail.com on 11 Jun 2012 at 4:07