LIUPPA – Movies Team LIUPPA – Movies Team DSM’10 – Reno/Tahoe, Nevada, USA 17 October 2010 A DSML for Mobile Applications Testing Youssef RIDENE*/**, Nicolas BELLOIR*, Franck BARBIER* and Nadine COUTURE*** * Liuppa Labs, Movies Team, University of Pau, France ** Neomades Cie, Bidart, France *** Estia, Bidart, France
A DSML for Mobile Applications Testing. Youssef RIDENE*/**, Nicolas BELLOIR* , Franck BARBIER* and Nadine COUTURE*** * Liuppa Labs, Movies Team , University of Pau , France ** Neomades Cie , Bidart, France *** Estia , Bidart, France. Agenda. Problem & Motivation Cloud Testing The DSML - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
LIUPPA – Movies TeamLIUPPA – Movies Team
DSM’10 – Reno/Tahoe, Nevada, USA 17 October 2010
A DSML for Mobile Applications Testing
Youssef RIDENE*/**, Nicolas BELLOIR*, Franck BARBIER* and Nadine COUTURE***
* Liuppa Labs, Movies Team, University of Pau, France** Neomades Cie, Bidart, France
How many specific versions of each application? (Porting Tools!)
How to ensure end-user quality assurance?
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
5
Problem & Motivation
Application tests are made on real handsets ~ 250 in average
Visual and sonorous interpretation of the application’s behavior
Costly:TimeHandsetsTesters’ TeamFrom scratch for each application
DSM‘10
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
6
Problem & Motivation - Test steps sample
Alternatives?
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
Alternative
Provide more efficient environment
Manage variability
LMO'07 7
Cloud Testing PlatformCloud Testing Platform
DSMLDSML
DSMLDSML
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 8
Agenda
Problem & Motivation
Cloud Testing
The DSML
Conclusion
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 9
Cloud Testing - Architecture
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 10
Cloud Testing – the Neomades prototype
Internal prototype for our research
?
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 11
Cloud Testing – Other solutions
Device Anywhere
Perfecto Mobile
Keynote
…
How to manage variability?
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 12
Agenda
Problem & Motivation
Cloud Testing
The DSML
Conclusion
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 13
The DSML - Description
A Modeling Language to design test scenarios
Resembling UML Sequence diagrams Lifelines: Tester or MobilesMessages:
Tester Mobile: press a key, press the pointer…Mobile Mobile: call, send SMS…
No programming skills are required
A scenario can be adapted for another application
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 14
The DSML - Description
Basic domain elementsTester Mobile under test A second Mobile (optional)Simple actions: press a key…
Variabiliy ManagementInterruptionsAutomates actionsCheckPoints and results validation
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 15
The DSML
A scenario is composed by a tester, one or more mobiles
A scenario is composed by a tester, one or more mobiles
A mobile can permorm actionsA mobile can permorm actions
A tester can execute interactions on the mobile, called messages
A tester can execute interactions on the mobile, called messages
User can defines checkpointsUser can defines checkpoints
Three variability types can be definedThree variability types can be defined
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 16
The DSML - Basic domain elements
Tester Mobile under test A second Mobile (optional)
Simple actions: press a keypress pointerrotate the phone…
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 17
The DSML - Tool
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 18
The DSML - Automated actions
Write TextSend SMSSet Wifi connectionSet date and Time…
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 19
The DSML - Interruptions
Test application behaviorSend SMSBluetooth connection
Incoming call …
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 20
The DSML - Variability Management
The same application can vary depending on: Different mobile screen resolutions Mobile models: Nokia N95, Samsung Galaxy S… Mobile specifications: has GPS, has Bluetooth…
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 21
The DSML - Variability Management
In practice: Create a variability point Assign one ore more action to this variability point
A scenario can contains many variability points
The execution paths are managed on the testing bed thanks to a database (which phone has GPS…)
Actions will be executed only on the targeted phones.Only one scenario for all the devices
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 22
The DSML - Example : Mobile specifications
Actions assigned to touch screen enabled phones
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 23
The DSML - Example : Screen Size
Actions performed only on mobile phones with a 240x320 resolution
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 24
The DSML - Example : Mobile Models
Assign actions only to one or more specific device
LIU
PP
A –
Movie
s T
eam
LIU
PP
A –
Movie
s T
eam
DSM‘10 25
The DSML - Check Points
Take a SnapshotRecord an Audio SequenceRecord a video sequence