mobile automation meetup presentation [english]

Post on 22-Mar-2017

201 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SantexTech Meetup

Mobile Automation Testing

Content

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

(Android, iOS) using MonkeyTalk

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.

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.

Functional Testing in Software Development

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

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

AUTOMATION

What are We Referring to With Automation?

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

with expected results.”

+ 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

Tools Available on the Market for Mobile Automation

Tools for Purchase

Tools for Purchase

Free Tools

Free Tools

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/

Which Tool Should I Choose?

Which Tool Should I Choose?

It a

ll depends on Project necessities….

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

And the winner is…

MonkeyTalk

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

How does it work?

Monkey Talk has 3 key parts:

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

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

iOS Demo

Android Demo

Thanks!

top related