Closed ghost closed 10 years ago
AndroidViewClient (since version 4.0) is a monkeyrunner
drop-in
replacement so you don't need both in the same script.
Use python
as the interpreter when you use AndroidViewClient.
On Tue, Feb 4, 2014 at 4:55 AM, adikhullar notifications@github.com wrote:
Hi, I am able to use AndroidViewClient in eclipse using python interpreter, but I am stuck at using both MonkeyRunner and AndroidViewClient together in a single file using eclipse. I keep getting 'ImportError: No module named android.monkeyrunner'. When I am running the same file through command line, I am able to execute it. But using eclipse I am facing issues. Please Help. I am using the python2.7 interpreter for the same.
Reply to this email directly or view it on GitHubhttps://github.com/dtmilano/AndroidViewClient/issues/74 .
Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients
Okay thanks and one more thing I would like to ask is can I use HierarchyViewer with androidviewclient in same script ?? I added the chimpchat jar in the pynopath but again i got exception as "ImportError: No module named android.chimpchat.hierarchyviewer "
I don't think you need HierarchyViewer while using AndroidViewClient.
On Tue, Feb 4, 2014 at 11:26 PM, adikhullar notifications@github.comwrote:
Okay thanks and one more thing I would like to ask is can I use HierarchyViewer with androidviewclient in same script ?? I added the chimpchat jar in the pynopath but again i got exception as "ImportError: No module named android.chimpchat.hierarchyviewer "
Reply to this email directly or view it on GitHubhttps://github.com/dtmilano/AndroidViewClient/issues/74#issuecomment-34136706 .
Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients
Okay thanks for your response :+1:
Hi, I am able to use AndroidViewClient in eclipse using python interpreter, but I am stuck at using both MonkeyRunner and AndroidViewClient together in a single file using eclipse. I keep getting 'ImportError: No module named android.monkeyrunner'. When I am running the same file through command line, I am able to execute it. But using eclipse I am facing issues. Please Help. I am using the python2.7 interpreter for the same.