A new version of Qualitia Automation Studio for Web and Mobile 7.2.x is now available. We highly recommend you upgrade. Find more details here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

Qualitia uses third-party software components, which need to be downloaded separately for successful mobile test automation.

In order to prepare your Mac for mobile automation testing, you need to download and install Appium and Xcode.

Download and Install Appium Desktop and Xcode

Appium is an open source test automation tool for mobile applications. Appium comes equipped with Inspector for object identification; however, users can use UI Automatorviewer as well for mobile object identification.

  • Download and install the latest version of Appium 1.6.4.
    It is recommended to install Appium in the Applications directory.
  • Download and install the latest version of Xcode 8.3 (from the app store).

Install and Configure Appium Dependencies

In order to prepare your Mac for automation testing, please run the following commands using terminal after you have downloaded Appium Desktop and Xcode.

For more information on these dependencies, GitHub or Appium Documentation.

  1. Launch terminal and install packages using the following commands:
    • brew install libimobiledevice --HEAD: this command installs libimobiledevice.
    • brew install ideviceinstaller: this command installs ideviceinstaller that is required for iOS 9.
    • npm install -g ios-deploy: this command installs iOS-deploy required for iOS 10.
    • gem install xcpretty: this command installs xcpretty (optional).
    • brew install ios-webkit-debug-proxy: this installs iOS Web kit debug proxy. 
    • brew install carthage: this command installs carthage dependency manager.
  2. Configure WebDriver Agent project using the following steps:
    1. Launch terminal and go to the /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent.
    2. Execute command: ./Scripts/bootstrap.sh
    3. Open Finder and go to the same path mentioned above. 
    4. Double-click WebDriverAgent.xcodeproj.
      This launches the Xcode. 
    5. Connect your physical device and select it using the drop-down list from the top menu bar.
    6. Select each Target separately and in the General section, select the Automatically Manage Signing check box.
    7. Select the developer account details you use for the development from the Team drop-down list.
    8. From the top menu items, select Product > Build For > Testing
      Xcode then builds the WedDriver agent project for testing. If the project builds successfully, your Mac setup is ready for testing.
      If the build fails, please here for troubleshooting.

       View Image

Download Simulators

You need to download the required simulators if you want to execute test cases on simulators. 

To download simulators:

  1. Open the Xcode application using Launchpad on Mac.
  2. Click Xcode > Preferences.
  3. Select Components from the top. 
    All the available simulators are listed here.
  4. Select one or more simulators from the list to download.
    A pop-up appears asking password.
  5. Enter Password and then click Install Software. 

Turning on the Automation Support on Safari (Mac) 

Enabling the Develop Menu on Safari

The Develop menu can be turned on by following the steps mentioned below.

  1. Launch the Safari browser.
  2. Go to Safari > Preferences > Advanced.
  3. Ensure that Show Develop menu check box is selected.

Enable Remote Automation in the Develop Menu

  1. Launch the Safari browser.
  2. Go to Develop > Allow Remote Automation.

Authorize Safaridriver to launch the WebDriver service which hosts the local web server

  • Run /usr/bin/safaridriver once manually and complete the authentication prompt.


  • No labels