test automation for mobile applications: a practical guide

23
Session Presented by: Kunal Chauhan Brought to you by: 340 Corporate Way, Suite Orange Park, FL 32073 8882 W15 Concurrent 4/9/2014 3:15 PM “Test Automation for Mobile Applications: A Practical Guide” QA InfoTech 300, 688770 9042780524 [email protected] www.sqe.com

Upload: techwellpresentations

Post on 26-Dec-2014

118 views

Category:

Technology


6 download

DESCRIPTION

The world of information technology is undergoing revolutionary changes. Advancements in mobile computing, fueled by mobile applications, are playing an important role in driving these changes. While developers build their technical skills to accommodate these evolving trends, it is equally important for testers to understand what it takes to test mobile applications. Testers must understand the scope of mobile device applications testing, whether automation is feasible, and what challenges will face the test team. Kunal Chauhan presents an optimized approach to testing smart devices, specifically focusing on mobile applications test automation, the various forms of applications (web, native, hybrid), and the tools available to assist in the automation process. Kunal demonstrates an automation framework using open source tools, providing a practical implementable solution to add to your mobile test automation toolkit.

TRANSCRIPT

Page 1: Test Automation for Mobile Applications: A Practical Guide

 

 

 Session 

 

Presented by: 

Kunal Chauhan 

  

Brought to you by: 

  

340 Corporate Way, Suite   Orange Park, FL 32073 888‐2

W15 Concurrent4/9/2014   3:15 PM     

“Test Automation for Mobile Applications: A Practical Guide” 

 

 

QA InfoTech   

    

300,68‐8770 ∙ 904‐278‐0524 ∙ [email protected] ∙ www.sqe.com 

Page 2: Test Automation for Mobile Applications: A Practical Guide

Kunal Chauhan QA InfoTech  

As chief technology officer at QA InfoTech, Kunal Chauhan focuses on driving technology and strategy initiatives, and helping the company move into additional vertical markets and segments. Kunal has more than eighteen years of experience in the software development and quality assurance field. Prior to QA InfoTech, Kunal was vice president, web applications development, at Thomson Reuters Equities, responsible for building and managing more than twenty applications including real-time, historical, TCA, and query-based systems serving brokerage houses and financial institutions. He has also worked with Fidelity Investments (Boston) in their corporate actions group. Kunal lives in Noida, India and can be reached at [email protected].

Page 3: Test Automation for Mobile Applications: A Practical Guide

Test Automation for

Mobile Applications: A

Practical Guide

Kunal Chauhan

CTO QA InfoTech

Page 4: Test Automation for Mobile Applications: A Practical Guide

Agenda

QA InfoTech Confidential Excellence | Partnership | Commitment

• Smart Devices and Application Spectrum

• Mobile Test Automation Tools

• Test Automation Solutions (Demos)

• Current Challenges

• Comprehensive Framework – A New Perspective

• Future Aspects

Page 5: Test Automation for Mobile Applications: A Practical Guide

Smart Devices & Application

Spectrum

• Mobile OS Platforms

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 6: Test Automation for Mobile Applications: A Practical Guide

Smart Devices & Application

Spectrum

• Devices Form Factor

QA InfoTech Confidential Excellence | Partnership | Commitment

Sliders,

Keypads Brick Tabs

Page 7: Test Automation for Mobile Applications: A Practical Guide

Smart Devices & Application

Spectrum

• Input Methods

QA InfoTech Confidential Excellence | Partnership | Commitment

Type Hardware Keypad,

Virtual Keypad

Touch Multi-Touch,

Gestures, Virtual

Keypad

Talk Voice commands,

Speech-to-text

Motion Accelerometer,

Gyroscope,

Compass

Page 8: Test Automation for Mobile Applications: A Practical Guide

Smart Devices & Application

Spectrum

QA InfoTech Confidential Excellence | Partnership | Commitment

Native Apps Installed Apps, OS Specific

Web Apps Browser based,

HTML/HTML5/CSS3

• /AJAX

Hybrid Apps Native apps with non-native

front-end components

Phonegap, Appcelerator

Titanium, Flex

• Application Types

Page 9: Test Automation for Mobile Applications: A Practical Guide

Mobile Test Automation Tools

• Open source

o Selenium Sikuli , Robotium

Calabash , Appium

• Commercial

o Experitest SeeTest

o Jamo Solutions M-eux

o QTP with Perfecto Mobile

o EggPlant Mobile

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 10: Test Automation for Mobile Applications: A Practical Guide

• Native Mobile Apps

o iOS UI Test Automation, Robotium (Android)

o Calabash/Appium (For both)

• Web Apps

o Selenium

• Hybrid Mobile Apps

o Calabash, Appium

o Screencast + Sikuli - Image Based UI Test Automation

Test Automation Solutions

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 11: Test Automation for Mobile Applications: A Practical Guide

• Native Mobile Apps

o iOS UI Test Automation

o Robotium (Android)

o Calabash/Appium (For both)

Test Automation Solutions

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 12: Test Automation for Mobile Applications: A Practical Guide

• Web Apps

o Selenium

Test Automation Solutions

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 13: Test Automation for Mobile Applications: A Practical Guide

• Hybrid Mobile Apps

o Calabash, Appium

o Screencast + Sikuli - Image Based UI Test Automation

Test Automation Solutions

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 14: Test Automation for Mobile Applications: A Practical Guide

• No silver bullet

o Native app automation tool does not support hybrid

apps (object identification)

o Separate tools for Web and Native app automation

• Closed source applications can not be

automated in a robust manner

• iOS7.0 has new security enhacements

blocking Safari interaction with app elements

Mobile Test Automation Challenges

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 15: Test Automation for Mobile Applications: A Practical Guide

Another Dimension: Current Test

Automation Approach

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 16: Test Automation for Mobile Applications: A Practical Guide

• Different Application Forms

o Same features, business actions

o Different tools to automate

• How does functional tester contribute?

o Test tool vocabulary

o Test runners

Challenges with current Approach

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 17: Test Automation for Mobile Applications: A Practical Guide

Many Tools for Many Application Forms

Need of Comprehensive Test Solution

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 18: Test Automation for Mobile Applications: A Practical Guide

Glimpse of Comprehensive

Framework Solution

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 19: Test Automation for Mobile Applications: A Practical Guide

Automating Application with

Comprehensive Framework

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 20: Test Automation for Mobile Applications: A Practical Guide

Automating Application with

Comprehensive Framework

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 21: Test Automation for Mobile Applications: A Practical Guide

• Continuous Integration ready

• Distributed cross-browser and cross-device

test execution for compatibility coverage

• Adoption of Json Wire Protocol

Future aspects of Comprehensive

Framework

QA InfoTech Confidential Excellence | Partnership | Commitment

Page 22: Test Automation for Mobile Applications: A Practical Guide

QA InfoTech Confidential Excellence | Partnership | Commitment

For more information, please:

• Contact us at [email protected]

[email protected]

• Visit us at www.qainfotech.com

• Read our blog at www.qainfotech.com/blog

• Follow us on Twitter at www.twitter.com/qainfotech

Thank You

USA

Office

International

Headquarters

Noida

Uttar Pradesh, India

Phone: +91-120-4292222 (Three additional testing facilities in India)

Farmington Hills

Michigan, U.S.A.

Phone: +1-248-719-3409

Page 23: Test Automation for Mobile Applications: A Practical Guide

About QA InfoTech

QA InfoTech Confidential Excellence | Partnership | Commitment

• An independent software quality assurance and testing company,

founded in 2003, currently employing 700 people

• Five testing “Centers of Excellence” across the USA and India

• World-class testing labs

• Experience working with clients across various domains

• Bagged the “Top 100 places to work for in India*” award, two years

in a row

• Focus on the right balance of people, processes, technology • CMMi III, ISO 9001:2008, 20000-1:2005 certified

Slide 21

* Study conducted by Great

Places to Work Institute, India