Presentation is loading. Please wait.

Presentation is loading. Please wait.

Scriptless Test Automation through Graphical User Interface

Similar presentations


Presentation on theme: "Scriptless Test Automation through Graphical User Interface"— Presentation transcript:

1 Scriptless Test Automation through Graphical User Interface
Presented by Pekka Aho, Open Universiteit, NL © All rights reserved

2 Test Automation through GUI
Scripted vs. Scriptless © All rights reserved

3 Scripted GUI testing – automated test execution
Pre-defined sequence of test steps Scripts usually manually created Test oracles: Assertions with expected values Each check separately specified 1 2 3 4 5 User Conference on Advanced Automated Testing © All rights reserved

4 Scriptless GUI testing – automated GUI exploration
Online / On-the-fly test generation Based on some level of randomness Test oracles: ”Free”: crashes, unresponsiveness, etc Programmable: ”if text Error found...” 1. Detect all the available interactions 3. Wait for the GUI to update 2. Select and execute one interaction User Conference on Advanced Automated Testing © All rights reserved

5 Advanced Automated Testing
User Conference on Advanced Automated Testing © All rights reserved

6 Scripted vs. Scriptless GUI testing
Precise oracles Manual effort to create and maintain Scripted smoke tests and critical test scenarios Scriptless Low maintenance General oracles, requires time to get coverage Scriptless nightly testing for robustness and coverage User Conference on Advanced Automated Testing © All rights reserved

7 Scriptless Test Automation through GUI
Model Extraction © All rights reserved

8 Scriptless GUI testing – GUI state model extraction
1. Detect all the available GUI info Save as a GUI state 3. Wait for the GUI to update 2. Select and execute one interaction Save as a transition User Conference on Advanced Automated Testing © All rights reserved

9 GUI state model extraction - challenges
Abstraction State-space explosion vs. ambiguous model Could be application specific Manual elaboration of generated models Preserving manual details when re-generating User Conference on Advanced Automated Testing © All rights reserved

10 Exploiting extracted GUI state models
Automated documentation Analysis through visual inspection of models Unspecified behavior Model-based testing Manual elaboration (e.g. Test oracles) Automated change analysis by comparing GUI models of consequent versions Report and visualize changes with screenshots User Conference on Advanced Automated Testing © All rights reserved

11 Model comparison for automated change analysis
Reducing the need for scripted regression test cases Reducing manually created scripts and maintenance effort Increasing coverage Covering also the improbable paths Detecting all changes, not only assertions User Conference on Advanced Automated Testing © All rights reserved

12 TESTOMAT project The Next Level of Test Automation
© All rights reserved

13 Advanced Automated Testing
ITEA3 framework project, Industry-academia collaboration 34 partners from 6 countries User Conference on Advanced Automated Testing © All rights reserved

14 Advanced Automated Testing
testar.org Open source tool for scriptless GUI test automation Being extended / enhanced in TESTOMAT project User Conference on Advanced Automated Testing © All rights reserved

15 Scriptless GUI test automation in TESTOMAT
Ongoing pilots with 3 partners Challenging industrial GUI apps Tool has to be extended Pilots progressing slower than expected Changes in CI pipeline Other tool pilots at the same time Some results still confidential User Conference on Advanced Automated Testing © All rights reserved


Download ppt "Scriptless Test Automation through Graphical User Interface"

Similar presentations


Ads by Google