Appium Automated Test Environment Deployment

1. First install Appium, and install it all the way to the next step. When you click Appium.exe, you will be prompted to install .netframwork4.5. After the installation is complete, enter: appium in the DOS window, and an appium window will pop up.
2. JDK environment deployment
First install JDK, and configure the environment variable JAVA_HOME after installation; C:\Program Files\Java\jdk1.7.0_71
path:%JAVA_HOME%\bin
Check whether the JDK is successfully configured: java -version
Appium Automated Test Environment Deployment

3. SDK environment construction
First unzip the SDK, here the landlord uses: adt-bundle-windows-sdk compressed package, first unzip it to the root directory of the D drive, and rename it to: adt-bundle-windows-sdk
and then configure the environment Variable: ANDROID_HOME sdk path: D:\adt-bundle-windows-sdk/sdk
path %ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools;
If the configuration is correct, enter adb and there will be command output, no error will be reported

4. Appium environment variable configuration
First configure the APPIUM_HOME: appium installation path, as shown in the following figure;
Appium Automated Test Environment Deployment

Then enter appium-doctor in the DOS window to check whether the environment is configured successfully, as shown in the following figure:
Appium Automated Test Environment Deployment

If it prompts: appium-doctor is not an internal or external command, or is not a runnable program, don't panic, just add the path to the path, as shown in the following figure:

Appium Automated Test Environment Deployment

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325515372&siteId=291194637