Presentation is loading. Please wait.

Presentation is loading. Please wait.

Three-tier Mobile Application Testing Framework:

Similar presentations


Presentation on theme: "Three-tier Mobile Application Testing Framework:"— Presentation transcript:

1 Three-tier Mobile Application Testing Framework:

2 Tools available in market
Robotium Fonemonkey See Test Test studio Calabash Keynote Eggplant Appium / Selenium And many more…

3 What’s Calabash A cross platform mobile automation testing tool for Android and iOS platforms

4 Technology Calabash Cucumber framework Ruby development kit
Android SDK

5 Cucumber Cucumber is a tool for running automated acceptance tests written in a behavior-driven development (BDD) style

6 Advantages Open-Source Tool . Cross platform support
write once run anywhere (IOS and Android) Based on the Cucumber framework Supports both devices and emulators. Provides simple language for a non programmer to write test scripts library Support for all the basic events and movements on the mobile Supports Native/Hybrid apps ,browser based apps thriving forum and Google Group: “Calabash Android”.

7 Comparative analysis Real device support which most of the tools doesn't support. Source code is not a must. Alert box and toast notifications can be automated which cannot be achieved by other tools.

8 Steps – Configure A Device

9 Steps – Configure an Emulator

10 Feature files and step definitions
Feature: Register feature Scenario: As a user I can Register into my app Given I am about to Register And i enter login credentials Then I press "Login“ Step definition : Given /^I am about to Register$/ do screenshot_embed(:label => "Register") end When /^i enter login credentials$/ do query("* id:'Username'",{:setText => “test"}) query("* id:'Password'",{:setText =>“test"}) end

11 Calabash Android Architecture

12 Calabash IOS Architecture

13 Generating Cucumber files
Calabash-android gen Will generate feature

14 Re-signing the app Re-sign application with new signature

15 Calabash console Creates test server

16 Calabash Run Connects to the device/emulator and runs the automation script

17 Test reporting will output the test report in the HTML format
calabash-android run (path-to-apk )--format html --out reports.html will output the test report in the HTML format

18 DEMO

19 Limitations Slower execution time- on both emulator or device
always installs the app first before starting each scenario. If a step fails then the subsequent tests in the scenario are skipped. still in its nascent stage. complex scenario library support is currently not available. Need to code your way in Ruby. Need the source code of the app for identifying the ids of various elements. Browser based apps can be tested with web-view only ID capture is missed sometimes due to faster script execution Dynamic value passing

20 Scenarios - yet to be tried
Flash content on a browser based app Recording test scenario provision


Download ppt "Three-tier Mobile Application Testing Framework:"

Similar presentations


Ads by Google