stephenwang1011 / robotium

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

Robotium not scrolling properly #267

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install attached apk (no source) and test-driver (source included). If all 
you do is look at the source and install, you shouldn't have to re-sign the apk 
(it's already using the debug key of the runner's APK under  bin). If you want 
to modify the test runner you'll have to resign antutu. 
1.5 Run tests with adb shell am instrument -w 
org.magnum.ataack.milestone1.benchmarkrunner/android.test.InstrumentationTestRun
ner
2. Run test once, holding phone in portrait mode. With desired 'start test' 
button visible, test executes successfully
3. Run test in landscape mode. Seemingly cannot find view, and no scrolling is 
visible on screen

What is the expected output? What do you see instead?
scrollview should navigate downwards and eventually click on textview. Instead 
it fails to locate textview and prints the log of all items that were found on 
the (non-scrolled) visible screen. Interestingly, some of the items it locates 
are visible on a different tab, so I'm not sure what's going on there. 

What version of the product are you using? On what operating system?
Nexus S 4G 4.0.4 build IMM76D on OS X 10.7.4 using robotium solo 3.2.1

Original issue reported on code.google.com by hamiltont on 29 May 2012 at 5:33

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. This will issue will be analyzed. 

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

GoogleCodeExporter commented 9 years ago
I've actually got a patch for you, but I need to clean it up a bit - I 
accidentally hit "format code" in eclipse and now the actual changes are merged 
with tons of code formatting

Original comment by hamiltont on 30 May 2012 at 12:08

GoogleCodeExporter commented 9 years ago
Did you get my github pull request for this issue? I submitted it, but it's no 
longer showing -- seems like github is having some problems today

Original comment by hamiltont on 31 May 2012 at 6:08

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

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