austgl / robotium

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

Emai can't add a attachement(a picture or a file ) via application of Gallery or File Manager or other app #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Email 
2. Create a new Email
3.Enter addressee and  add a attachment

Expected:can add a attachment via solo.click(x,y)  ((x,y) is picture 
coordinate) 

mobile:Android 2.3.6 system    computer: winxp     

I try to via solo.clickontext("***")  but can't work

When i click the button of attachment in email compose activity 
then system pop up a listview of selecting add attachment types
i choose Galley then choose a  picture via solo.click(x,y) 
TestRunner will tell me click is null

again ,i choose File Manager choose a file via solo.clickontext("**") 
also assertfail not found click

at last when i switch activity of "File Manager" of "Gallery" i use 
solo.getviews();
return me "null" 

no matter how  thank you for attention

Original issue reported on code.google.com by yhlon...@gmail.com on 25 Apr 2012 at 3:04

GoogleCodeExporter commented 9 years ago
Your test project is locked to the targetPackage. Going outside of that target 
package is not allowed by the Android platform. Therefore you are not allowed 
to interact with the filemanager app.

Original comment by renasr...@gmail.com on 26 Apr 2012 at 7:07

GoogleCodeExporter commented 9 years ago
I see  ,thank you

Original comment by yhlon...@gmail.com on 26 Apr 2012 at 1:35