austgl / robotium

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

Can not click on Image in Gallery #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
While testing my app, I have to select a photo from the gallery.
So I uploaded an image to sdcard using adb push.
In emulator I am able to view the gallery which displays the image.
In logcat I noticed it invokes activity 
"com.android.gallery/com.android.camera.imagegallery"  to display gallery.

Invoked solo.clickOnImage(0); or solo.clickOnView(solo.getImage(0)); on the 
activity page that displays gallery with image.

What is the expected output? What do you see instead?
Expected output:- Should click on the image that is listed in the gallery
Actual output:- click action is not performed
For solo.clickOnImage(0) , the error message is displayed as "There is no image 
with index 0 "
For solo.ckickOnView(solo.getImage(0)), there is no action performed

What version of the product are you using? On what operating system?
Robotium 2.5

Please provide any additional information below.

Original issue reported on code.google.com by koneru.s...@gmail.com on 16 Nov 2011 at 1:38

GoogleCodeExporter commented 9 years ago
Please read the QA wiki page. If the activity does not belong to your 
application you are not allowed to interact with it!

Original comment by renasr...@gmail.com on 16 Nov 2011 at 5:52