21 Mohit Anand

download 21 Mohit Anand

of 31

Transcript of 21 Mohit Anand

  • 8/15/2019 21 Mohit Anand

    1/31

    Mohit Anand, Software Engineer 

     Adobe

    1

    Selecting GUI Automation TestingTool for Mobile Domain

  • 8/15/2019 21 Mohit Anand

    2/31

    2

    Abstract

    With the growing number of mobile apps and their agile development life

    cycle, Automation testing around them will no longer be optional. The intent of

    this paper is to present a comparison between the widely used mobileautomation tools in order to determine their ease of use & eectiveness. We

    picked up a typical Adobe mobile app, tested its GUI manually & then followed

    it up by a round of automation testing using these tools. This paper list down the

    technical nuances involved while choosing any such tool for user specic

    scenario.

  • 8/15/2019 21 Mohit Anand

    3/31

    !

    Do you know your apps?

  • 8/15/2019 21 Mohit Anand

    4/31

    "

    Complexities in Mobile an!scape

  • 8/15/2019 21 Mohit Anand

    5/31

    #

     "perating System # De$ice Manufacturers

  • 8/15/2019 21 Mohit Anand

    6/31

    $

    Screen Si%e # &esolution

  • 8/15/2019 21 Mohit Anand

    7/31

    %

    G'U( )eart of Creati$e Apps

  • 8/15/2019 21 Mohit Anand

    8/31

    ocali%ation( T*e +ig *ur!le

  • 8/15/2019 21 Mohit Anand

    9/31

    '

    "ur main consi!eration

  • 8/15/2019 21 Mohit Anand

    10/31

    1(

    ,ee! of Automation in Mobile Testing

    )utomation isthe key

    %*+11"- "(*+11$-

  • 8/15/2019 21 Mohit Anand

    11/31

    11

    Mobile Automation Tools

  • 8/15/2019 21 Mohit Anand

    12/31

    12

    Selection criteria

    We want to have a combination of tools which satisfy thefollowing criteria/

    0an automate )ndroidi34oth mobile apps

    5irst partyThird party tool

    4undled with the 3 678 3hould be installed separately

    0oordinate based b9ect based automation

  • 8/15/2019 21 Mohit Anand

    13/31

    1!

    Tools Selecte!

  • 8/15/2019 21 Mohit Anand

    14/31

    1"

    -ey .eatures

    Components of t*is tool

    :oogle• ;rovides an );6 for writing programs to control an)ndroid deviceemulator.

    • 0an be used for both functional and unner

    • =onkey7evice

    • =onkey6mage

    =onkey>unner

  • 8/15/2019 21 Mohit Anand

    15/31

    1#

    =onkey>unner

  • 8/15/2019 21 Mohit Anand

    16/31

    1$

    -ey .eatures

    Components of t*is tool

    :oogle• 6t is a 9ava library containing );6s to create customi?edfunctional

  • 8/15/2019 21 Mohit Anand

    17/31

    1%

  • 8/15/2019 21 Mohit Anand

    18/31

    1

    -ey .eatures

    Components of t*is tool

    • 6t is an integrated environment for recording, customi?ing  and managing test suites.

    • pen source, eclipse based 678.

  • 8/15/2019 21 Mohit Anand

    19/31

    1'

  • 8/15/2019 21 Mohit Anand

    20/31

    2(

    -ey .eatures

    Components of t*is tool• )ppium 3erver

    • )ppium 0lient libraries

    • )ppium 6nspector

    • 6t is a ATT; server that takes ATT; commands from the  test script and eBecutes the command on the device.

    • 4ased on Web7river C3D protocol.

  • 8/15/2019 21 Mohit Anand

    21/31

    21

  • 8/15/2019 21 Mohit Anand

    22/31

    22

    Deep !i$e into Appium

  • 8/15/2019 21 Mohit Anand

    23/31

    2!

     Test Setup

  • 8/15/2019 21 Mohit Anand

    24/31

    2"

    T*e 'rocess( &ecipe of Success

  • 8/15/2019 21 Mohit Anand

    25/31

    2#

    Demo of A!obe S*ape GUI Automation

  • 8/15/2019 21 Mohit Anand

    26/31

    2$

    Takeaways

     

  • 8/15/2019 21 Mohit Anand

    27/31

    2%

    C*oose t*e &IG)T tool

  • 8/15/2019 21 Mohit Anand

    28/31

    2

    Use case scenario

    =onkey>unner

    )ndroid apponly

    4asic

  • 8/15/2019 21 Mohit Anand

    29/31

    2'

    +ibliograp*y

    o http/developer.android.comtoolshelpmonkeyrunnerHconcepts.html

    o https/www.cloudmonkeymobile.commonkeytalk

    o http/developer.android.comtrainingtestinguiItestingindeB.html

    o https/developer.android.comaboutdashboardsindeB.html

    o https/developer.apple.comsupportappIstore

  • 8/15/2019 21 Mohit Anand

    30/31

    !(

    /uestion an! Answers

  • 8/15/2019 21 Mohit Anand

    31/31

    !1