Using models to ease the
start up of automated GUI
testing
Achim Lörke, Bredex GmbH



                           © 2008 B...
Agenda

 The importance and difficulty of testing early
 Using models
 Why models are useful for GUI testing
 




 Aims ...
Testing early

 Finding errors early reduces costs
 Problems with testing early
 Lack of information on implementation
 
...
Models can help

 Design phase involves models
 Use case diagrams, activity diagrams  UML
 




 Use as foothold for tes...
What are we aiming for?

 Complete, functional tests?
 No!
 




 Identify structures and sequences
 Basis for automated ...
Structure and sequence

 Use cases provide structure
 What needs to be tested
 




 Functions and behavior of software
 ...
Example




                03.03.2009   7
          MBT
Example (cont.)




                        03.03.2009   8
                  MBT
Example (cont.)




                        03.03.2009   9
                  MBT
Example (cont.)




                        03.03.2009   10
                  MBT
Generating test design from models

 Eclipse Modeling Framework
 Unified way to share models
 




 Across platforms, too...
Benefits

 Same source for test and development
 Nothing forgotten
 




 Clues about how to modularize tests in model
 ...
Benefits

 Information on critical areas
 The more a structure is reused, the more critical it is
 




 Maximum benefit ...
Questions?

 …



 More information
         Booth 204 in the exhibition hall




                                        ...
Upcoming SlideShare
Loading in...5
×

Using Models To Ease The Start Up Of Automated

672

Published on

EclipseCon presentation on models in testing

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
672
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Using Models To Ease The Start Up Of Automated

  1. 1. Using models to ease the start up of automated GUI testing Achim Lörke, Bredex GmbH © 2008 Bredex GmbH Version 2.3
  2. 2. Agenda The importance and difficulty of testing early Using models Why models are useful for GUI testing  Aims when using models  Generating structures and sequences  How the test process benefits from using models 03.03.2009 2 MBT
  3. 3. Testing early Finding errors early reduces costs Problems with testing early Lack of information on implementation  Workflows unknown  Where to start  How abstract/specific should tests be?  Don‘t start without a plan Redundancy  Maintenance problems  03.03.2009 3 MBT
  4. 4. Models can help Design phase involves models Use case diagrams, activity diagrams  UML  Use as foothold for test design Test and development team work from same source  Models have right level of specificity Independent of implementation  Fundamental details about application  Workflows depicted in activity diagrams   models don‘t have to be too formal  03.03.2009 4 MBT
  5. 5. What are we aiming for? Complete, functional tests? No!  Identify structures and sequences Basis for automated test  03.03.2009 5 MBT
  6. 6. Structure and sequence Use cases provide structure What needs to be tested  Functions and behavior of software  Pre and post conditions of user actions   Tests planned to cover these functions  Activity diagrams show sequences Alternative workflows through application  Show which structures will be reused in application   Tests designed to capture reusability at test case level  03.03.2009 6 MBT
  7. 7. Example 03.03.2009 7 MBT
  8. 8. Example (cont.) 03.03.2009 8 MBT
  9. 9. Example (cont.) 03.03.2009 9 MBT
  10. 10. Example (cont.) 03.03.2009 10 MBT
  11. 11. Generating test design from models Eclipse Modeling Framework Unified way to share models  Across platforms, tools and model types  Use case diagrams from Eclipse Modeling Tools  domain specific models (e.g. test specifications) 03.03.2009 11 MBT
  12. 12. Benefits Same source for test and development Nothing forgotten  Clues about how to modularize tests in model   well thought out test design, easier maintenance  Test team has access to models Errors found and fixed in design phase  03.03.2009 12 MBT
  13. 13. Benefits Information on critical areas The more a structure is reused, the more critical it is  Maximum benefit with minimum effort Write tests once and reuse for recurring structures  Earliest possible start with testing Test design created early  Automation begins as soon as tools/process allow  03.03.2009 13 MBT
  14. 14. Questions? … More information Booth 204 in the exhibition hall 03.03.2009 14 MBT
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×