Scriptless Test Automation through Graphical User Interface

Slides:



Advertisements
Similar presentations
Requirements for a UI Test Framework Stanislaw Wozniak Bernie Miles.
Advertisements

Object Oriented Analysis And Design-IT0207 iiI Semester
Making the System Operational
© by cellconsult.com Application Testing & Test Management.
GUI Testing By Norbert Haché. Contents b What is GUI testing b Elements of GUI testing b Old Approach (TRUMP Project) b Scripting b Capture / Replay b.
PREDICT Model for Test Automation. Does it sound familiar to you? Organization has procured test automation tools Management expectations are high Multiple.
By Rohen Shah – rxs07u.  Introduction  Different methodologies used  Different types of testing tools  Most commonly used testing tools  Summary.
Test Automation Success: Choosing the Right People & Process
Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
Regression testing Tor Stållhane. What is regression testing – 1 Regression testing is testing done to check that a system update does not re- introduce.
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
The chapter will address the following questions:
CS527: (Advanced) Topics in Software Engineering Overview of Software Quality Assurance Tao Xie ©D. Marinov, T. Xie.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automation Fundamental Concepts &
The information contained in this document is highly confidential and privileged. No part of this document may be copied or circulated without express.
An Introduction to MBT  what, why and when 张 坚
Copyright © Siemens AG All rights reserved. Essential Criteria on MBT to Ensure Quality of Software in Industry PVR Murthy Andreas Ulrich Siemens.
What is Software Testing? And Why is it So Hard J. Whittaker paper (IEEE Software – Jan/Feb 2000) Summarized by F. Tsui.
Chapter 8 – Software Testing Lecture 1 1Chapter 8 Software testing The bearing of a child takes nine months, no matter how many women are assigned. Many.
14-1 © Prentice Hall, 2004 Chapter 14: OOSAD Implementation and Operation Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph.
Website Accessibility Testing. Why consider accessibility People with disabilities – Visual, Hearing, Physical, Cognitive (learning, reading, attention.
Chapter 2: Software Process Omar Meqdadi SE 2730 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
WebVizOr: A Fault Detection Visualization Tool for Web Applications Goal: Illustrate and evaluate the uses of WebVizOr, a new tool to aid web application.
Reusability and Effective Test Automation in Telecommunication System Testing Mikael Mattas Supervisor: Professor Sven-Gustav Häggman Instructor: B.Sc.
CHAPTER TEN AUTHORING.
Software Engineering Research paper presentation Ali Ahmad Formal Approaches to Software Testing Hierarchal GUI Test Case Generation Using Automated Planning.
| ©2009, Cognizant Technology SolutionsConfidential All rights reserved. The information contained herein is subject to change without notice. ©2009, Cognizant.
16 October Reminder Types of Testing: Purpose  Functional testing  Usability testing  Conformance testing  Performance testing  Acceptance.
Software Construction Lecture 18 Software Testing.
DB2 Universal Database Confidential | July 2012 | India Software Lab Click to add text © 2012 IBM Corporation An End to End Windows Automation Framework.
Well-behaved objects Main concepts to be covered Testing Debugging Test automation Writing for maintainability Objects First with Java - A Practical.
Tomasz Haupt, Greg Henley, and Bhargavi Parihar Center for Advanced Vehicular Systems, Mississippi State University As a tactical tool onboard ships, this.
1 Legacy Code From Feathers, Ch 2 Steve Chenoweth, RHIT Right – Your basic Legacy, from Subaru, starting at $ 20,295, 24 city, 32 highway.
CS 490 Software Testing Fall 2009 Implement Unit Test Framework for Application running on a Pocket PC 2003 device 09/18/091 Framework for Unit-testing.
Objects First With Java A Practical Introduction Using BlueJ Well-behaved objects 2.1.
Tools for Automated Testing Presented by: Žygimantas Mockus.
1 Process activities. 2 Software specification Software design and implementation Software validation Software evolution.
Linux Standard Base Основной современный стандарт Linux, стандарт ISO/IEC с 2005 года Определяет состав и поведение основных системных библиотек.
Tool Support for Testing
Prepared by: Fatih Kızkun
How to Test a Complex ERP Application using a Data-Driven Framework
TQS - Teste e Qualidade de Software (Software Testing and Quality) Test Case Design – Model Based Testing João Pascoal.
Generating Automated Tests from Behavior Models
Bring Accessibility into the Development Lifecycle with CI Testing
Software Tools and Environments
Chapter 8 – Software Testing
Using Execution Feedback in Test Case Generation
Towards a Model-Driven Engineering Software Development Framework
Copyright Scott Bloss, All rights reserved.
Testing & Testing Tools
COS 260 DAY 17 Tony Gauvin.
Advantages OF BDD Testing
Objects First with Java
It is great that we automate our tests, but why are they so bad?
Lecture 09:Software Testing
COS 260 DAY 16 Tony Gauvin.
Software Test Automation and Tools
SELL THE RIGHT PRODUCT ─ EVERY TIME
Agile test automation = big challenges
Decentralized Model-Based Testing of Distributed Systems
Regression testing Tor Stållhane.
Overview of the ETSI Test Description Language
Megaputer Intelligence
Presented by Elodie Bernard
Test Cases, Test Suites and Test Case management systems
Lab 8: GUI testing Software Testing LTAT
Executable Specifications
Open Source Tool Based Automation solution with Continuous Integration and end to end BDD Implementation Arun Krishnan - Automation Manager Maria Afzal-
Presentation transcript:

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

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

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

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

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

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

Scriptless Test Automation through GUI Model Extraction © All rights reserved

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

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

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

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

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

Advanced Automated Testing www.testomatproject.eu ITEA3 framework project, http://itea3.org/ Industry-academia collaboration 34 partners from 6 countries User Conference on Advanced Automated Testing © All rights reserved

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

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