xiaofans / robotium

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

clickOnText() problems with ViewPager #365

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just noticed a problem with how clickOnText() works on ViewPagers. 

What steps will reproduce the problem?
1. Create a ViewPager with two pages, each page with an EditText or Button with 
the same contents.
2. Create a test that swipes to the second screen then clickOnText()

What is the expected output? What do you see instead?
I'm expecting Robotium to tap the currently displayed text on the second page 
but the emulator attempts to click the offscreen text from the previous / 
initial page. (as seen with touches enabled on Dev tools)

What version of the product are you using? On what operating system?
Robotium 3.5 & 3.6, Android 2.3 Emulator, Linux

Original issue reported on code.google.com by jeriel...@gmail.com on 11 Dec 2012 at 2:41

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. Would it be possible for you to send me an 
application that exhibits this issue?

Original comment by renasr...@gmail.com on 11 Dec 2012 at 6:43

GoogleCodeExporter commented 9 years ago
Will open up when new information is given.

Original comment by renasr...@gmail.com on 2 Jan 2013 at 12:21