Mobile Automation Testing using a Framework - PowerPoint PPT Presentation

About This Presentation
Title:

Mobile Automation Testing using a Framework

Description:

The power of mobile automation framework lies in increased automation efficiency by minimizing the initial coding efforts. Mobile Automation can be performed using various available robust automation frameworks. – PowerPoint PPT presentation

Number of Views:1134
Slides: 13
Provided by: bugraptors

less

Transcript and Presenter's Notes

Title: Mobile Automation Testing using a Framework


1
  • How to perform Mobile Automation using a
    Framework?

2
  • With the growing demand for mobile applications,
    new applications are developed in order to cater
    various platforms. Therefore, it has become
    imperative to have a robust automation framework
    that can help automate applications on any
    platform. Framework is a combination of test-data
    handling, coding standards, and object repository
    management that are followed during automation
    scripting which results in producing beneficial
    outcomes such as re-usage of the same code in
    multiple projects, higher portability and
    decrease the script maintenance cost etc.

3
Types of Automation Frameworks
  • Test Library Architecture FrameworkĀ 
  • Test scripts are initially created using "Record
    Playback" method. After that tasks inside the
    scripts are grouped into Functions. There
    Functions are called by main text script which is
    called Driver in different ways to createĀ test
    cases.

4
  • Data Driven Testing FrameworkĀ 
  • Test case logic resides in Test Scripts and Test
    Data is separated and kept outside the Test
    Scripts in this type of framework. Test Data is
    read from external files such as Excel Files,
    Text Files, CSV Files, etc. and are saved in the
    Test Script as variables.
  • Keyword Driven FrameworkĀ 
  • The Keyword-Driven consists of data tables and
    keywords, and is not dependent on automation tool
    for execution.
  • Hybrid Test AutomationĀ Framework
  • As the name suggests this framework is the
    combination of one or more frameworks but widely
    uses as a combination of Keyword Framework and
    Function decomposition method.

5
  • The power of mobile automation framework lies in
    increased automation efficiency by minimizing the
    initial coding efforts. Mobile Automation can be
    performed using various available robust
    automation frameworks. The widely used automation
    frameworks are as follows.

6
Appium
  • AppiumĀ is a test automation framework that
    supports most of the applications such as native,
    hybrid and mobile web apps.
  • It supports both iOS and Android applications and
    also Web DriverĀ JSON Wire Protocol.
  • Appium is aĀ black-box testing tool so it does not
    require source code.

7
Advantages of Appium
  • Cross-platform open sourceĀ mobile
    testingĀ automation framework.
  • Supports native, hybrid or mobile web apps.
  • Supports various Client libraries such as Python,
    Java, JavaScript, Ruby,Ā PHP,Ā C.
  • Does not access our source code or library.
  • Compatibility with manyĀ CIĀ environments.
  • Appium is a tool which is used worldwide so it
    has strong community.
  • It supports many languages and test frameworks
    with full access to database and APIs from test
    code.

8
TestNG
  • TestNGĀ is another famous testing framework that
    overcomes the limitations of another popular
    testing framework JUnit.
  • It supports both android and iOS applications.
  • The "NG" means "Next Generation. Most of the
    Selenium users use TestNG over JUnit because of
    its various advantages.

9
Advantages of TestNG
  • Annotations are easier to understand.
  • Test cases can be grouped more easily.
  • It supports parallel testing.
  • Generates various reports based on Selenium test
    results.
  • Generates the reports in more readable format.

10
Selendroid
  • Selendroid is one of the bestĀ test automation
    frameworksĀ available in the market which supports
    various type of UI testing of the mobile apps
    Android native, hybrid applications, and the
    mobile web.
  • Selendroid supports emulators, real devices and
    parallel testing.
  • Selendroid is also compatible with Selenium 3/
    JSON Wire Protocol.
  • It is easier to find the UI elements by using its
    default locator making the testing process better.

11
Advantages of Selendroid
  • No modification of Application under test is
    required. One just needs to install the binary
    file in the system.
  • Supports multiple android devices. Users can
    interact with multiple simulators at the same
    time to check the compatibility of various
    android devices.
  • Supports sign of human user options such as
    touch, swipe, drag and drop on devices.
  • Supports various android API versions.
  • Built-in inspector tool is available that helps
    to identify all the UI elements of application
    under test.
  • Supports parallel testing integrating a node into
    Selenium Grid.

12
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com