uiautomatorパッケージのPythonを使用してAndroidテストスクリプトを作成
556 ワード
1.uiautomatorアドレスをダウンロードするには:https://github.com/kingdawin/uiautomator https://pypi.python.org/pypi/uiautomator
2.環境変数Pythonディレクトリのscriptパスを追加します.このパスの下のpipを使用するからです.Exceツールインストールuiautomaor C:Users101004679AppDataLocalProgramsPythonPython 35-32Scripts
3.uiautomatorをインストールする2つの方法1)
4.githubに従い、モジュールのapiを使用してスクリプトを作成するhttps://github.com/kingdawin/uiautomator
tip Python ide Spyderを開くとadbが起動し、MonkeyRunnerでテストスクリプトを書くときはSpyderを閉じます
2.環境変数Pythonディレクトリのscriptパスを追加します.このパスの下のpipを使用するからです.Exceツールインストールuiautomaor C:Users101004679AppDataLocalProgramsPythonPython 35-32Scripts
3.uiautomatorをインストールする2つの方法1)
pip install uiautomator
(ネットワークインストール)2)python setup.py install
(オフラインパッケージをダウンロード済み)4.githubに従い、モジュールのapiを使用してスクリプトを作成するhttps://github.com/kingdawin/uiautomator
tip Python ide Spyderを開くとadbが起動し、MonkeyRunnerでテストスクリプトを書くときはSpyderを閉じます