Appium+robotframework automated testing for iOS apps -1:appium installation in OS X.

Source: Internet
Author: User

The previous series introduced Appium and how to test the Android app with Robotframework.

Starting today, I started to introduce appium+robotframework how to test iOS apps.

Testing iOS apps is a little trickier than testing Android apps, mainly because Appium must run in OS X to Run tests, so the prerequisite is to build an OS X environment.

Because there is no Apple computer, so my plan is to use the virtual machine installed OS X, how to install you can find relevant information on the Internet, but please note that the minimum required OS X 10.7, recommended 10.8 and 10.9, I use the latest 10.10.3, there is no problem, of course, if you have an Apple machine, you can directly ignore this step.

Next look at the specific installation steps:

1. Install or upgrade Xcode and iOS SDK (s)

because Appium also needs Xcode and iOS SDK (s) and the recommended version is 5.1, but because my version of OS X is 10.10.3, I used the Xcode and iOS SDK (s) versions are 6.3.1, and there's no problem, they're all free to download or upgrade directly from the Apple store.

2. Install or upgrade Xcode Command line Tools

There is also the need to install Xcode Command line Tools, which if not installed, will prompt for installation, not to worry, directly from the Apple Store Download or upgrade .

3. Install the Appium.

From the Appium official dot to hit the big downloadAppium button will jump to the download list, on this page select the desired Appium type and version number, Before I was 1.3.7 version, now 1.4 of the version also has, then directly download the latest version, from the file size does not indicate that the version number should be the latest 1.4 version, as shown in.


The next step is to install Appium. Open the APPIUM.DMG, and then in the Pop-up window drag it to the right of the applications to start the installation, installation takes a little time, please wait patiently until the installation is successful, the installation will be in the application of a more application appium, check that there is no OH.

4. Install the Python client

Open terminal, enter command: Pip installs Appium-python-client, then enter to start the installation, or you can download Python-client-master.zip directly ,then unzip it, open the command line, First cut to the path where the decompression is located, then enter: Python setup.py install to complete the installation.

If there is no error, then congratulations, success! If you are having problems, please review the error prompts, which can be resolved in general.

Well, the environment is finally set up.

Please continue to pay attention to ...

This article copyright to the Green Tree all, welcome reprint, but please specify the author and source, strictly prohibited for any commercial use, otherwise the consequences!





Appium+robotframework automated testing for iOS apps -1:appium installation in OS X.

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.