Created
December 30, 2012 06:40
-
-
Save HQMIS/4411289 to your computer and use it in GitHub Desktop.
AndroidViewClient 使用记录
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env monkeyrunner | |
| # Script Name: androidviewclient.py | |
| # Author Email: huangqimin@baidu.com | |
| # Note: | |
| # 1、 主页: | |
| # https://github.com/dtmilano/AndroidViewClient | |
| # 2、 例子 | |
| # https://github.com/dtmilano/AndroidViewClient/blob/master/AndroidViewClient/examples/envsetup.sh | |
| import sys | |
| try: | |
| sys.path.append("C:\AndroidViewClient\AndroidViewClient\src") | |
| except: | |
| pass | |
| print sys.path | |
| from com.dtmilano.android.viewclient import ViewClient | |
| C:\Documents and Settings\huangqimin>"E:\Program Files\tools\monkeyrunner.bat" C | |
| :\androidviewclient.py | |
| ['lib\\monkeyrunner.jar:C:\\', 'E:\\Program Files\\tools\\lib\\Lib', 'E:\\Progra | |
| m Files\\tools\\lib\\jython.jar\\Lib', '__classpath__', '__pyclasspath__/', 'C:\ | |
| \AndroidViewClient\\AndroidViewClient\\src'] | |
| C:\Documents and Settings\huangqimin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment