Build appium automated test environment under MAC

Source: Internet
Author: User
Tags appium

To be installed together are:

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

2, SDK(test installation app required, 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, Xcode,appstore direct Download Installation

5, node. JS installation, directly in the official website download installs, the step does not do the description.

    • JDK install directly after download. You do not need to configure environment variables, enter java–version directly into the shell after installation to Check if it is installed.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/06/EC/wKiom1nApW-i3rfhAADyfIH51rA746.jpg-wh_500x0-wm_ 3-wmp_4-s_1653129466.jpg "title=" Mac java version. jpg "alt=" wkiom1napw-i3rfhaadyfih51ra746.jpg-wh_50 "/>

    • SDK After the download is complete, unzip to a path.

1. Then enter the Android-sdk-macosx\tools directory and click Run Android

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/06/EC/wKiom1nApXyxhdsoAAJ3q5rW0sM005.jpg-wh_500x0-wm_ 3-wmp_4-s_2397364360.jpg "title=" Select Install Sdk.jpg "alt=" Wkiom1napxyxhdsoaaj3q5rw0sm005.jpg-wh_50 "/>

simulator of the system itself can be selected, I choose 7.0 system here, click Install

2, the next page to the two are checked on

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/A5/9C/wKioL1nApVbALjUnAAHSWvkiU2w290.jpg-wh_500x0-wm_ 3-wmp_4-s_1178220526.jpg "title=" select two. jpg "alt=" wkiol1napvbaljunaahswvkiu2w290.jpg-wh_50 "/>

then click Install. May take a long time after point installation

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/A5/9C/wKioL1nApWjyKErRAAQLTeIY5B8747.jpg-wh_500x0-wm_ 3-wmp_4-s_263287780.jpg "title=" wait. jpg "alt=" wkiol1napwjykerraaqlteiy5b8747.jpg-wh_50 "/>

3. Configure the environment variables for Android after the installation is complete

Execute VI bash_profile and press i input below to execute. Then esct exit Edit:wq! Save

Export java_home=$ (/usr/libexec/java_home)
Export ANDROID_HOME=/USERS/DONGRINIE/DOWNLOADS/ANDROID-SDK-MACOSX

after exiting the edit, the terminal executes the source ~/.bash_profile that is the environment variable in effect.

    • Installing Appium

download the above to the link package 1.5.3 directly can be installed successfully, after the installation is completed appium Click the Doctor button to check the environment construction situation

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/06/EC/wKiom1nApamxphNqAALTXQPPjio958.jpg-wh_500x0-wm_ 3-wmp_4-s_3256685494.jpg "title=" Open appium-doctor.jpg "alt=" Wkiom1napamxphnqaaltxqppjio958.jpg-wh_50 "/>

The following log appears to indicate that the environment is installed OK.

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/06/EC/wKiom1nApbbR8Ha6AAKdHPsxx3g971.jpg-wh_500x0-wm_ 3-wmp_4-s_1345150497.jpg "title=" success. jpg "alt=" wkiom1napbbr8ha6aakdhpsxx3g971.jpg-wh_50 "/>

here our appium test environment is built. problem plus QQ Group Exchange 610845268



This article is from the "It Bug" blog, so be sure to keep this source http://laomomo.blog.51cto.com/6595318/1966695

Build appium automated test environment under MAC

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.