Current location - Education and Training Encyclopedia - Graduation thesis - How to build appium environment for APP automated testing?
How to build appium environment for APP automated testing?
How to build appium environment for APP automated testing? 1

/ 12

Download and install node.js (note operating system, 32-bit, 64-bit). After the installation is completed, check whether the installation is successful: cmd, enter node -v to display the installation version information, and the installation is successful, as shown in the following figure:

2

/ 12

Install JDK configuration environment variables

JDK installation and environment variable setting.

Download eclipse (note the operating system, 32-bit, 64-bit), Mars version.

three

/ 12

Configure Android SDK environment

Download the Android SDK, and the download address is www.androiddevtools.cn, as shown in the following figure:

four

/ 12

Install 17 or above api, as shown in the following figure:

five

/ 12

The emulator chooses to install the Android operating system, as shown in the following figure:

six

/ 12

Configure environment variables

A> add a new variable: ANDROID_HOME, and set the value to the installation directory: l for example, E:\android-sdk.

New parameter in the b> path:% Android _ home% \ Tools% Android _ home% \ Platform-Tools

seven

/ 12

Verify that the configuration was successfully installed.

Cmd: enter android to pop up the SDK manager window.

eight

/ 12

ADT installation

Open eclipse, help & gt install new software, and enter /android/eclipse.

It will take a long time to download, or you can consider downloading and installing it locally directly, as shown in the following figure:

nine

/ 12

After the installation is completed, restart Eclipse, as shown in the following figure:

10

/ 12

Install Appium and download it: http://appium.io, as shown in the following figure:

1 1

/ 12

Set environment variables

The environment variable PATH has been added to the Appium directory and its bin directory: for example

APPIUM_HOME: E:\App\Appium

Path: %APPIUM_HOME%\node_modules\ box

12

/ 12

Run Appium-doctor to verify that all Appium dependencies are configured correctly.