Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Building appium Automated Test Environment under Mac

Shulou Source: shulou.com Published: 2022-06-03 04:33:22 11月25日 Update

The ones that need to be installed together are:

1. JDK http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2. SDK (required to test and install app, link to SDK24.4.1 version)

Http://down.tech.sina.com.cn/download/d_load.php?d_id=45703&down_id=2&ip=183.11.129.46

3. Appium client http://pan.baidu.com/s/1nvHXnmh password: n5c8

4. Download and install Xcode,Appstore directly

5. Install node.js. Download and install it directly on the official website. There is no description in the steps.

JDK can be downloaded and installed directly. There is no need to configure environment variables, after installation, type java-version in shell to check whether it has been installed.

After the SDK download is complete, extract it to a path.

1. Then go to the android-sdk-macosx\ tools directory and click run android

You can choose the system of the simulator. I choose 7.0 system here, click install.

2. Check both of them on the next page

Then click install. It may take a long time after installation

3. Configure Android environment variables after installation

Execute vi .bash _ profile and then press I to type below. Then ESCT quit editing,: wq! Save

Export JAVA_HOME=$ (/ usr/libexec/java_home)

Export ANDROID_HOME=/Users/dongrinie/Downloads/android-sdk-macosx

After exiting editing, the terminal executes source ~ / .bash_profile so that the environment variable takes effect.

Install appium

Download the link package 1.5.3 above and you can install it successfully. After installation, open appium and click the Doctor button to check the construction of the environment.

The following log indicates that all environments have ok installed.

At this point, our appium test environment is ready. Add QQ × × stream 610845268 if there is a problem.

Tags: Environment variable test system link check input configuration success next two client password situation button time emulator step version Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi OPPO Reno Linux Microsoft NVidia