Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Building appium Automated Test Environment under Mac

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 224

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report