avepra / robotium

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

Perform click on list item in custom list view realization #629

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Implement custom ListView
2. Attach it to layout
3. Try to invoke Solo.clickInList({any_index})

What is the expected output? What do you see instead?
Solo framework performs click on list item. But solo throws 
`AssertionFailedError: AbsListView is not found!`

What version of the product are you using? On what operating system?
I use robotium-solo-5.2.1

Is it may be any other way to perform click on custom list view item using Solo 
framework

Original issue reported on code.google.com by demonlee...@gmail.com on 8 Sep 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Probably the step before clicks on it and then clickInList() can not find the 
list. 

Original comment by renasr...@gmail.com on 9 Sep 2014 at 5:00

GoogleCodeExporter commented 9 years ago
It obvious that Solo can not find list view. It is clearly from log message. 
But it is did not answer why Solo throw this exception. Does Solo work with 
custom list view correct?

Original comment by demonlee...@gmail.com on 9 Sep 2014 at 5:28

GoogleCodeExporter commented 9 years ago
Absolutely. Robotium supports custom abs listviews. Would it be possible
for you to send the APK?

Original comment by renasr...@gmail.com on 9 Sep 2014 at 5:44

GoogleCodeExporter commented 9 years ago
I am sorry. It is not possible for me to send APK file for you. I can send to 
you just certain files of source code. Is this useful for?

Original comment by demonlee...@gmail.com on 9 Sep 2014 at 5:48

GoogleCodeExporter commented 9 years ago
If you can send me any apk that can reproduce this issue it would be very
beneficial for us.
Den 9 sep 2014 07:48 skrev <robotium@googlecode.com>:

Original comment by renasr...@gmail.com on 9 Sep 2014 at 5:55

GoogleCodeExporter commented 9 years ago
What is valid e-mail for sending? robotium@googlecode.com?

Original comment by demonlee...@gmail.com on 9 Sep 2014 at 6:19

GoogleCodeExporter commented 9 years ago
Please send it to support@robotium.com

Original comment by renasr...@gmail.com on 9 Sep 2014 at 6:20