Mobile app automation testing with Calabash – Installation (iOS)

Reading Time: 2 minutes

get-started-with-calabash

Calabash is an open source cross-platform framework developed by Xamarin that enables you to write and execute automated acceptance tests for mobile apps. It supports Cucumber which allows you to express the behavior of your app using natural language that can be understood by non-technical QA guys.

Introduction to Mobile app testing

Mobile application testing is a process by which apps developed for mobile devices is tested for its functionality, usability, and consistency. Similar to web applications, We can also perform Functional, Performance, Usability, Security, and Load testing for verifying it’s behavior and functionality.

Prerequisites and Installation

Prerequisites

Installing Calabash framework

Step #1 Install Calabash- OS X

Execute the following command in your terminal to install calabash:

This will take a few minutes to get installed and you’ll get the following message at the end of installation:

Step #2 Link Calabash framework with your project

Go to project directory and open terminal in that directory and start calabash using the following command:

Now, link calabash framework using the following command:

Once you execute this command you may get may see the following informative message:

Next, open your project in XCode and go to Build Settings. Now, search for the term “Other Linker Flags“.

Screen Shot 2016-05-13 at 6.02.59 PM

Double click on “Debug” and check if CFNetwork Framework is added or not.

Screen Shot 2016-05-13 at 6.24.09 PM

If not, then click on ‘+’ button displaying on left bottom corner and type following command:

ObjC -force_load “$(SOURCE_ROOT)/calabash.framework/calabash”

Once you enter this command, the screen will look like above. Now run your application in the emulator.

You’re ready with Calabash for automating your iOS app!

Quality Analyst and Software Tester by profession. I have great interest in learning automation tools. Deep down willing in iOS development and gradually moving towards it.

  • Maulik Thaker

    Hi , can you please mention the steps to install calabash-android fully on windows 7
    ?