tag:blogger.com,1999:blog-25456655.post7261614934837723374..comments2024-02-09T11:53:32.369-05:00Comments on Diego Torres Milano's blog: Android Application Testing Guide: Q&ADiego Torres Milanohttp://www.blogger.com/profile/12030778501784140349noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-25456655.post-63864386477469101852012-10-09T15:15:15.752-04:002012-10-09T15:15:15.752-04:00@Molly Brinkley,
This is a Windows related problem...@Molly Brinkley,<br />This is a Windows related problem. It works correctly on Linux and OS X.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-34696826402410199332012-10-09T13:05:32.409-04:002012-10-09T13:05:32.409-04:00@Mike
did you ever get monkeyrunner to install wi...@Mike <br />did you ever get monkeyrunner to install with the variable name?<br /><br />device.installpackage(HOMERUN)<br />versus <br />device.installpackage('C:/path/to/app.apk') ?<br /><br />That's the issue I am running into now, with your same error.<br /><br />@Joseh672 you can try sikuli.org and using their sikuli project to simulate clicking on the mobile device.m0llym0nsterhttps://www.blogger.com/profile/03787185324706493431noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-89147486238916687242012-09-06T23:15:28.234-04:002012-09-06T23:15:28.234-04:00I am trying to use monkeyrunner
to
1st step open ...I am trying to use monkeyrunner<br />to<br />1st step open file expert <br />2nd then click on select My Apps<br />3rd select All<br />4th click on Backup<br /><br />any suggestions?<br /><br />Thanks<br /><br /><br />Joseh672https://www.blogger.com/profile/16365558736131519835noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-3311247784014345442012-09-06T23:08:51.524-04:002012-09-06T23:08:51.524-04:00@Joseh672,
Help me help you.
If you don't des...@Joseh672,<br />Help me help you.<br /><br />If you don't describe your problem with enough detail and giving examples is almost impossible to guess what you are trying to accomplish.<br /><br />Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-71396867150102899192012-09-06T23:02:17.829-04:002012-09-06T23:02:17.829-04:00I was using file expert as an example
I was using file expert as an example<br /><br /><br />Joseh672https://www.blogger.com/profile/16365558736131519835noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-62712545276289076392012-09-06T22:58:57.267-04:002012-09-06T22:58:57.267-04:00@Joseh672,
What's an "application exp: Fi...@Joseh672,<br />What's an "application exp: File expert" ?<br />Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-91999738382977982032012-09-06T14:50:06.363-04:002012-09-06T14:50:06.363-04:00Diego
how can I run monkeyrunner to open
applica...Diego <br /><br />how can I run monkeyrunner to open<br />application exp: File expert<br />then select the files <br /><br />Thanks<br />Joseh672https://www.blogger.com/profile/16365558736131519835noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-40024108033802219512012-05-30T16:54:12.591-04:002012-05-30T16:54:12.591-04:00@Joseh672,
What do you mean by minimize it ?
You c...@Joseh672,<br />What do you mean by minimize it ?<br />You can start another Activity (i.e. Home) and the previous Activity will be moved to the background.<br /><br><br /><br><br /><b>Background activity</b>: (an activity that is not visible to the user and has been paused) is no longer critical, so the system may safely kill its process to reclaim memory for other foreground or visible processes. If its process needs to be killed, when the user navigates back to the activity (making it visible on the screen again), its onCreate(Bundle) method will be called with the savedInstanceState it had previously supplied in onSaveInstanceState(Bundle) so that it can restart itself in the same state as the user last left it.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-10443417770681357372012-05-30T14:09:28.529-04:002012-05-30T14:09:28.529-04:00Hi
Diego
Is there a way to call an app
then m...Hi <br /><br />Diego <br /><br />Is there a way to call an app <br />then minimize it so that it can run in the background<br /><br /><br />ThanksJoseh672https://www.blogger.com/profile/16365558736131519835noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-30038136056629243602012-05-30T14:07:45.584-04:002012-05-30T14:07:45.584-04:00Hi Diego
is there a way to call an app then min...Hi Diego <br /><br /><br />is there a way to call an app then minimize it so it can run in the background.<br /><br /><br />Thanks,<br /><br />JoseJoseh672https://www.blogger.com/profile/16365558736131519835noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-18116674782277966522012-02-08T03:44:41.700-05:002012-02-08T03:44:41.700-05:00Wonderful blog & good post.Its really helpful ...Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!<br /><br /><br /><br /> <a href="http://www.mofirst.com/android-application-development.php" rel="nofollow">Android Application Development</a>mithunhttps://www.blogger.com/profile/01051476426338504146noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-20037357645462841412012-01-25T01:29:46.027-05:002012-01-25T01:29:46.027-05:00Very advantageous cavalcade you access here.. Nice...Very advantageous cavalcade you access here.. Nicely presented admonition in this post, I accept to apprehend this affectionate of stuff. The amore of adequate is able and the abeyance is good. Acknowledgment for the post.<br /><br /><a href="http://www.android-developers.in/" rel="nofollow">Android developers</a>Android developerhttps://www.blogger.com/profile/00419561840667606557noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-89778100468893202632012-01-17T00:02:50.436-05:002012-01-17T00:02:50.436-05:00This is one of the good post.I like your blog adva...This is one of the good post.I like your blog advantages. This is one of the useful post.<br /><a href="http://www.android-app-development.com" rel="nofollow">Android app developers</a>Android app developmenthttps://www.blogger.com/profile/09663450300679743066noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-42208528352002967322011-11-07T23:44:54.361-05:002011-11-07T23:44:54.361-05:00You should have no problems importing a module whi...You should have no problems importing a module which is in the same directory of your script as the default path includes the current directory. To verify this <b>pint sys.path</b> and if necessary append '.' or the specific directory.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-11605726438552151052011-11-03T17:39:30.445-04:002011-11-03T17:39:30.445-04:00...kind of confusing, cause when I do
device.insta......kind of confusing, cause when I do<br />device.installPackage('C:/monkeyrunner/apk/com.com2us.HB3DLITE-19-1.4.1.apk')<br />it works.<br /><br />Also I'm trying to import my module into my monkeyrunner script. When I do: 'import myLib' it gives 'error: No module named myLib'<br />BTW I put the module myLib.py in the same directory as my script.Mikehttps://www.blogger.com/profile/07680955667451724441noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-70732450034061222752011-11-03T16:43:10.864-04:002011-11-03T16:43:10.864-04:00I don't know how the C:// is treated. Try to a...I don't know how the C:// is treated. Try to avoid it by moving the APK to the same directory where you are running the script.Diego Torres Milanohttps://www.blogger.com/profile/12030778501784140349noreply@blogger.comtag:blogger.com,1999:blog-25456655.post-68469276130836883232011-11-03T15:05:43.517-04:002011-11-03T15:05:43.517-04:00Hi Diego
when I try to use the full path name of ...Hi Diego<br /><br />when I try to use the full path name of my apk i.e<br /> HOMERUN = 'C:/monkeyrunner/apk/com.com2us.HB3DLITE-19-1.4.1.apk'<br /> device.installPackage(HOMERUN)<br /><br />I get msg "error during Sync: Local path doesn't exist"<br /><br />Any idea why this is happening?<br />ThanksMikehttps://www.blogger.com/profile/07680955667451724441noreply@blogger.com