mobile automation meetup presentation [english]

26
Santex Tech Meetup Mobile Automation Testing

Upload: maria-carcar

Post on 22-Mar-2017

197 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Mobile Automation Meetup Presentation [English]

SantexTech Meetup

Mobile Automation Testing

Page 2: Mobile Automation Meetup Presentation [English]

Content

• Testing in the software development process• Testing automation – what are the benefits?• Testing automation with mobile applications

(Android, iOS) using MonkeyTalk

Page 3: Mobile Automation Meetup Presentation [English]

The Software Development Process

• The structure applied to the development of a software product.

• Best practices of how to organize those involved with the process.

Page 4: Mobile Automation Meetup Presentation [English]

Testing During Software Development

What is Testing?A part of software development where tasks are carried out with the purpose of obtaining information about the quality of the product.

What is Functional Testing?• The execution and verification of functions

(characteristics) of an application.• Detecting functionality problems so they can be

resolved.

Page 5: Mobile Automation Meetup Presentation [English]

Functional Testing in Software Development

Who does it?• QA or TesterDifferent types:• Exploratory• Integration• Regression• Acceptance

Page 6: Mobile Automation Meetup Presentation [English]

Mobile Apps Everywhere• Smartphones offer a

new world of applications

• Each application is updated periodically with a new version

It’s necessary to do TESTING

Page 7: Mobile Automation Meetup Presentation [English]

AUTOMATION

Page 8: Mobile Automation Meetup Presentation [English]

What are We Referring to With Automation?

“The use of software to control execution and tests to compare the results obtained

with expected results.”

Page 9: Mobile Automation Meetup Presentation [English]

+ Advantages• Fast testing abilities• More effective than manual testing• The possibility to repeat tests multiple times

• Time and money to program tests• Automation tolos have limitations• The effect of the test depends on how well it was

programmed.

- Disadvantages

Page 10: Mobile Automation Meetup Presentation [English]

Tools Available on the Market for Mobile Automation

Page 11: Mobile Automation Meetup Presentation [English]

Tools for Purchase

Page 12: Mobile Automation Meetup Presentation [English]

Tools for Purchase

Page 13: Mobile Automation Meetup Presentation [English]

Free Tools

Page 14: Mobile Automation Meetup Presentation [English]

Free Tools

Page 15: Mobile Automation Meetup Presentation [English]

Ranking Logo Name Since Price

1 Cucumber 2008 Free

2 eggPlant 2009 Price

3 Ranorex Test Automation 2007 USD 890 x year

4 Tosca 2008 Price

5 MonkeyTalk 2008 Free

6 M-eux Test 2008 USD 2800 x year

7 Android GUITAR 2011 Free

8 Googletest 2008 Free

9 Robotium 2010 Free

http:

//w

ww

.qat

estin

gtoo

ls.co

m/

Page 16: Mobile Automation Meetup Presentation [English]

Which Tool Should I Choose?

Page 17: Mobile Automation Meetup Presentation [English]

Which Tool Should I Choose?

It a

ll depends on Project necessities….

Page 18: Mobile Automation Meetup Presentation [English]

Project

Need:Finding a Tool• Easy to use• Easy to program• Compatible with iOS and Android• Usable with simulators and physical devices• Free• Compatible with a continuous integration tool• Available on Windows, Linux, and MacOS

Page 19: Mobile Automation Meetup Presentation [English]

And the winner is…

MonkeyTalk

Page 20: Mobile Automation Meetup Presentation [English]

MonkeyTalk - Features

• Environment to create, edit, and run automated tests for iOS and Android based on Eclipse.

• Platform for recreating and recording tests in real time from a physical device.

• Management support• Allows you to connect to an iOS or Android

device through Wi-FI and USB

Page 21: Mobile Automation Meetup Presentation [English]

How does it work?

Monkey Talk has 3 key parts:

• IDE MonkeyTalk (Eclipse)• Agent MonkeyTalk (HTTP communication)• Scripts (automatic tests)

Page 22: Mobile Automation Meetup Presentation [English]
Page 23: Mobile Automation Meetup Presentation [English]

Steps for Creating a Test:

• Enter the IDE• Create a new project• Create a new script• Connect the iOS/Android device to the app for initial

tests (this should include the agent)• Select Record and execute the test in real-time. To

conclude, click Stop• Modify the resulting script, adding validations and wait

times. • Run the script and verify that the test goes through

Page 24: Mobile Automation Meetup Presentation [English]

iOS Demo

Page 25: Mobile Automation Meetup Presentation [English]

Android Demo

Page 26: Mobile Automation Meetup Presentation [English]

Thanks!