austgl / robotium

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

waitForView(View v) don't capture correctly View v when it's out of screen and on top of activity #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.solo.waitForView(v, 1000, true);
2.             ........
3.solo.waitForView(spinner, 1000, true);

What is the expected output? What do you see instead?
Sorry for my English.

"solo.waitForView(spinner, 1000, true)" don't find spinner because it is upper 
of v.
spinner is on the top of activity and out of screen. It's up.

What version of the product are you using? On what operating system?
last version 3.0
windows vista

Please provide any additional information below.
The problem is "scroll up" because don't exists in implementation of
waitForView. There just scroll down

Original issue reported on code.google.com by castigliafrancesco on 2 Dec 2011 at 1:06

GoogleCodeExporter commented 9 years ago
This is according to design, the view needs to be shown. Use scrollUp() before 
waiting for it. 

Original comment by renasr...@gmail.com on 2 Dec 2011 at 3:50