Closed GoogleCodeExporter closed 9 years ago
Thanks for this. Do you get any error when using the click methods? If you do
for(TextView textView : solo.getCurrentTextViews()) Log.d("Robotium", "text: "
+ textView.getText()); Do you see any of the text views that are displayed in
that tab?
Original comment by renasr...@gmail.com
on 18 Apr 2011 at 5:17
I do not get any error but robotium cannot proceed forward. I queried like this
and i got the listView refrence to scroll
for(ListView lView : solo.getCurrentlistViews)
It has given me the correct lisview and quried the count by using
lView.getCount() - This also has given me the correct count.
Only the hardware key functionalities is working and the robotium searchText
and clickOntext is not working.I am able to scroll but using
this.sendkeys(KeyEvent.KEYCODE_DPAD_DOWN) but if the textview is available also
the not able to give proper result.
Original comment by anandpai...@gmail.com
on 18 Apr 2011 at 11:02
Would it be possible for you to send me this application?
Original comment by renasr...@gmail.com
on 18 Apr 2011 at 12:25
No i cant send as it is against policy you can verify this on the base google
contacts application.
Original comment by anandpai...@gmail.com
on 18 Apr 2011 at 1:22
So the problem is that it does not scroll? searchText() will still find
something if it shown in the first screen?
Original comment by renasr...@gmail.com
on 20 Apr 2011 at 10:27
yes if the item is visible it returns true and does not but clickOntext does
not able to click on that text item if it is visible and also can't scroll.
Original comment by anandpai...@gmail.com
on 20 Apr 2011 at 3:47
The problem is that I am not able to write test cases for the pre-installed
Contacts application. It is one of those pre-installed that can not be resigned
and then replaced. So I am not able to reproduce this issue, consequently I can
not figure out what the problem might be...
Original comment by renasr...@gmail.com
on 21 Apr 2011 at 7:36
Original comment by renasr...@gmail.com
on 21 Apr 2011 at 5:45
Original issue reported on code.google.com by
anandpai...@gmail.com
on 15 Apr 2011 at 6:07Attachments: