Mobile, Testing – Using Calabash or Appium to test your mobile applications on iOS and Android
At a certain point when you are making development for mobile, your have to, like for the desktop, to leverage on test automated tool for mobile application. For mobile, you may find 2 solutions that are widely common in mobile environment : Appium and Calabash.
Our propose was to handle the tests with the same tool in both of the most popular OS : Android and iOS.
With Appium you are not force to give your source to an external company, that is mainly very time consuming. With Appium, as the in-house tester, you can handle test automation on both Android and iOS mobile application.
Appium provide a client-side that is very helpful for non-developer like me for instance.
Appium is also very close to the Selenium RC and Appium server leverage on the selenium api and what else… for Calabash
For Calabash, the interesting point is that you can write your features straight in Gherkin. This is to my point of view, one the best advantage of Calabash. For instance, you can ask our PO (Product Owner) who knows its products and has certainly written the User Stories for the application’s conception to convert them into useful functional scenarios with a minimum learning curve. What more could you ask for?
This non-tutorial covers haphazardly some of the required commands and installation that you may have to do and give a large amount of resources especially some videos in order to help you to install on Mac Appium and calabash for Android and iOS.
Appium
Appium is giving you a "doctor" to inspect your installation and give you the errors to solve
When there is no errors in the diagnostic, you can run Appium
Calabash
To install calabash for mac
$ curl -sSL https://raw.githubusercontent.com/calabash/install/master/install-osx.sh | bash |
to launch calabash
$ calabash-sandbox |
To setup calabash for Android
$ calabash-android setup |
To generate the feature directory inside the project directory
$ calabash-android gen |
to launch calabash for an .apk
$ calabash-android run app-debug.apk --verbose |
For iOS, you may use the following command.
To install calabash for iOS
$ calabash-ios setup |
To update calabash
$ calabash-sandbox update |
To start calabash
$ calabash-sandbox This terminal is now ready to use with Calabash. To exit, type 'exit'. |
Go to your project (the dir containing the .xcodeproj file)
$ calabash-ios gen |
Read more
- Easily setup an Android development environment on a Mac
https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03 - Step 1 calabash IOS- set up from scratch
https://www.youtube.com/watch?v=0PrQc2AM-3k - Tutorial: Build iOS App from Scratch
https://realm.io/docs/tutorials/realmtasks/ - Introduction to Calabash
https://anadea.info/blog/introduction-to-calabash - Calabash-ing iOS Applications
https://dzone.com/articles/calabash-ing-ios-applications - iOS Automated Testing with Calabash, Cucumber, and Ruby
https://www.moncefbelyamani.com/ios-automated-testing-with-calabash-cucumber-ruby/ - Open Source iOS Apps – Real iOS Source Code Examples
https://maniacdev.com/2010/06/35-open-source-iphone-app-store-apps-updated-with-10-new-apps/ - Adaptive Layout Tutorial in iOS 11: Getting Started
https://www.raywenderlich.com/162311/adaptive-layout-tutorial-ios-11-getting-started - iOS Automated Testing with Cucumber and Appium in the BDD
https://www.youtube.com/watch?v=uor32GM0Td4 - calabash-android
https://github.com/calabash/calabash-android/blob/master/ruby-gem/lib/calabash-android/canned_steps.md - Calabash
https://github.com/calabash/ - Calabash for iOS
https://github.com/calabash/calabash-ios - calabash-ios-example
https://github.com/calabash/calabash-ios-example - ios-smoke-test-app
https://github.com/calabash/ios-smoke-test-app - calabash tutorial for mobile app testing
https://bitbar.com/calabash-tutorial-for-mobile-app-testing/ - Calabash Tutorial for Android & iOS Testing
https://www.guru99.com/calabash-android-ios-testing.html - A Beginner’s Guide to Automated Mobile App Testing
https://blog.testmunk.com/tutorial-for-automated-mobile-app-testing-calabash/ - Calabash Cucumber BDD Test Automation for iOS #1 Intro & Setup
https://www.youtube.com/watch?v=kXcsvuwUkKY - Calabash Cucumber BDD Test Automation for iOS #3 Write & Execute
https://www.youtube.com/watch?v=OC5J_6qRaRA - calabash iOS automated test
https://www.youtube.com/watch?v=N_PI-j6gIck - Automation Calabash-ios(Cucumber) – Iphone [..AzevedoRafaela..]
https://www.youtube.com/watch?v=cdV_7uhjSYU - mobile app automation testing with calabash – writing and executing test cases
https://www.promactinfo.com/blog/mobile-app-automation-testing-with-calabash-writing-and-executing-test-cases/ - Using Hiptest and Calabash to test Android Apps
https://blog.hiptest.net/2015/09/08/using-hiptest-and-calabash-to-test-android-apps/ - An automation approach for native mobile end-to-end testing
https://www.devbridge.com/articles/how-to-embed-automated-native-mobile-application-end-to-end-testing-into-a-continuous-integration-workflow/ - Mobile test automation with Appium and Hiptest
https://blog.hiptest.net/2015/12/18/mobile-test-automation-with-appium-and-hiptest/ - Appium Testing on Physical iOS devices
https://help.testobject.com/docs/guides/appium-osx-ios/
- Android & iOS automation using Appium : Getting started
https://www.youtube.com/watch?v=InsDgNxWlHM - Appium Tutorial-IOS Configuration on mac
https://www.youtube.com/watch?v=BULjgsTpw2c - Appium Test Demo for IPhone Apps
https://www.youtube.com/watch?v=b8uCq7FUG3s - Testing iOS apps with Appium: from setup to first test on OS X
https://www.youtube.com/watch?v=meU4TzI3KNM - Appium App User Interface
https://www.youtube.com/watch?v=cK6_8K3jDhc&index=4&list=PL477l_arYvahKop32SO09ThtoZY6cNHOn - Xcode Command Line Tools
http://railsapps.github.io/xcode-command-line-tools.html - How to set java_home on mac os X
http://www.sajeconsultants.com/how-to-set-java_home-on-mac-os-x/ - Installing the Android Development Environment
https://spring.io/guides/gs/android/ - Setup appium for Android on Mac osx 10.8.5
http://sqa.stackexchange.com/questions/9273/setup-appium-for-android-on-mac-osx-10-8-5 - Appium IOS Demo | Configure appium on mac | Appium for beginner | iOS app automation
https://www.youtube.com/watch?v=-b0AW22ZhqY - [Webinar] Step-by-Step Mobile Testing: Building Scalable Appium Test Automation Infrastructure
https://www.youtube.com/watch?v=cwZrKSGdvrA - appium/sample-code on github
https://github.com/appium/sample-code/tree/master/sample-code/examples - Start Automating Native iOS testing with Appium using Node.js
https://www.built.io/blog/2015/03/start-automating-native-ios-testing-with-appium-using-node-js/ - Le site officiel de Appium
http://appium.io/ - Resource library (videos, webinars, whitepapers and more)
https://applitools.com/appium-tutorial-no-sweat-setting-up-and-running-your-first-script/#anch01 - Native iOS Automation – Getting started with appium
http://appium.io/slate/en/tutorial/ios.html?ruby#getting-started-with-appium - ios-uicatalog
https://github.com/appium/ios-uicatalog - ios-test-app
https://github.com/appium/ios-test-app - ios-webview-app
https://github.com/appium/ios-webview-app
CALABASH
APPIUM
Few test applications