Mobile App Automation | Case Study

Manual and Automation tests for mobile app based product platforms. Functional, Security, Performance & Reliability test for the mobile applications.

Manual & Automation Tests for Mobile App Platforms

Introduction

Mobile is very rapidly becoming the biggest medium to reach the consumers as the adoption of mobile phones is increasing. A Mobile App or Mobile web application is the platform which enables you to get connected with your desired audience. Consumers use various different platforms and devices to access your mobile apps. So in this age of multi-platform and mass adoption, are your apps cross-platform? Are your apps tested for cross-platform? Are you delivering the best experience to your users irrespective of the device varieties in today’s world?

Why Mobile App Automation Testing?

Testing of Mobile Apps in quite cumbersome because of sheer magnitude of testing required on variety of devices. Moreover, Mobile Apps require changes faster than other kind of Applications (Web or Desktop). That’s the reason, more and more organizations have started realizing the need of using automation testing as much as possible.

 
Mobile App Automation Testing can be a massive undertaking, and if unaware, one can end up complicating the process by selecting a bad tool. With a major trending shift to open-source mobile test automation tools, there have been a plethora of tools available in most open-source software markets.

 
So how do you know which are the best tool available in the market? Which tools will give you the most efficient solution to fulfill your enterprise’s need for speed and integration?

 
This blog post is to help you quickly choose which open-source test automation tool will be right for your automation testing.

Benchmarks for selecting the right tool

You would need a set of criteria to fulfil when assessing your selection of the right open-source automation tool. Here are a crucial few questions to ask:

  • Do you have the required skilled resource for automation tasks?
  • Is there ease of script development to support agile processes and shorter iteration cycles?
  • Does the tool support cross team collaboration for seamless use by QA and Dev?
  • Can it match app platform with test development language?
  • Will it have performance capabilities gaps while testing?
  • Will it support both real devices and emulators?
  • Does the app support multiple platforms — Mobile and Web?
  • Does it have multi device execution capability
  • How easily can it integrated with external Device cloud platforms?
Our Approach

There are many tools and automation frameworks we use, however Appium is always preferred as the leading automation tool and Core Java as automation scripting language to test both Android and iOS based apps. Appium is the leading cross-platform solution for mobile test automation, and we experienced it why.

Appium is an open source, cross-platform mobile test automation tool to automate the testing for native, hybrid and mobile web applications. Appium comes with support for Android, iOS on real devices as well as simulators and emulators. At core, Appium is nothing but an HTTP server written in node.js. In working, it almost acts same as Selenium which perceives http requests from selenium client libraries and it handles those requests in different ways depending upon the platforms.

Appium is one of the best options available today in the market and is widely adopted by the organizations for their mobile test automation needs. Also with growing supporter base and stronger community, it is getting easier for enterprises to adopt it. Appium lets you write the tests in any language which is supported by Selenium, using the WebDriver API. If you are trying to test the Andoird Apps then, Appium automates it using the UIAutomator library, which is part of the Android SDK. So the learning curve is a bit easier if you have already used Selenium. The ease of testing both Android and iOS apps makes it one of the best cross-platform tool. You can run your test either on Emulators or on Real devices with Appium using the WebDriver JSON Wire protocol.

At a Glance

This project had a scope to automated all the test cases for a Mobile based Medical TPA application on Android and iOS, for a leading Singapore based TPA Provider. Automation testing is done for all the native and Hybrid application using the Appium tool. We are ensuring product quality assurance before launch. The scripts were written in such a way that at any moment one could execute functional as well as regression test cases overnight.

OdiTek, with more than 15+ years of test automation & domain independent testing expertise successfully collaborated with the customer from the requirements phase to post-production phase. This project required to adopt to the processes defined by the customers and use of their templates, artifacts and procedures was a learning one for the team as well.

Industry

Mobile Test Automation

Key Results

A very successful UAT and production phase where test coverage was cent percent covering entire gamut of tests from functional, security to Regression. Several high priority defects were reported, corrections were verified as earliest. The project scope was met, automation strategy planned for the Mobile applications were achieved and overall customer was very happy with the products going LIVE on time.

Technologies Used
  • OS: Windows/MAC
  • Test Automation Scripting Languages: Java
  • Application Program & Test Scripts: Java
  • Mobile App Automation Tool: Appium
Key Offereings
  • Mobile Test Advisory Services
  • Mobile Test Tool Feasibility
  • Mobile Test Automation Framework Development
  • Functional Testing (Manual & Automated)
  • Performance Testing

Functional Tests
Security Tests
Automation Tests

HIGH LEVEL ARCHITECTURE

Principal Steps in App Automation
  • Parameterization in csv format.
    Different parameter files (csv file) [Maintainance is easier].
  • Building Scripts written in Page Object Model
    Looks clean and easy to maintain
  • TestNG Framework used
    To run the test set (Multiple test cases)
    Can choose from the TestNG.XML which Method / Class to be run or not by configuring it
  • Report file Generation
    • Customized pdf report file(shows graphical representation of Pass/Fail methods)
    • HTML report file (With Log and details of pass and Fail reason)
    • Automatically sent Email for the test result after execution as attachment

Like to know more about the project?

Case Studies
Sending
×