About

About

WHAT IS TESTAR?

TESTAR is a tool that enables the scriptless automated system testing of desktop, web and mobile applications at the GUI level. The goal of the TESTAR team is to build a tool that shifts the paradigm of GUI testing: from developing scripts to developing intelligent AI-enabled agents.

TESTAR is available under the BSD3 license and is published on GitHub https://github.com/TESTARtool/TESTAR.

WHERE DOES IT COME FROM?

TESTAR has been developed within the context of the FITTEST (Future Internet Testing) project (EU project no: 257574 FP7 Call 8 ICT-Objective 1.2 Service Architectures and Infrastructures) that run from 2010 till 2013. After that development has been continued by the Universidad Politecnica de Valencia, Utrecht University and the Open University The Netherlands in the context of several national and European funding initiatives. The tool was piloted in various companies in ERASMUS+ projects like SHIP and various nationally funded projects from the Spanish and Valencian governments. In 2017, the development was continued in the context of the TESTOMAT ITEA3 project.

HOW DOES IT WORK?

The underlying principles of TESTAR are very simple: generate test sequences of (state,action)-pairs by starting up the System Under Test (SUT) in its initial state and continuously selecting an action to bring the SUT into another state. TESTAR basically generates test sequences repeating the following 3 steps shown in the diagram.

After we start the System Under Test (SUT), we scan (or scrape) the GUI in order to obtain the state of all control elements (widgets) on the screen (type, position, enabled/disabled, etc.)

Subsequently, TESTAR derives a set of sensible actions (such as clicks, keystrokes, drag and drop operations, etc.) that can potentially be executed in that state and selects one.

The selected action is executed and brings the SUT in a new state. The oracles are applied to this new states, to determine if there are any failures of the SUT.

TESTAR stops when a certain stopping criterion has been met, i.e. time budget, predefined number of actions, predefined number of sequences.

WHERE TO READ MORE ABOUT IT?

The latest overview of TESTAR has been published in STVR 2021. It contains a description of TESTAR together with a list of the industrial case studies it has been applied to and a research agenda. If you want to cite TESTAR please cite this paper:

@article{https://doi.org/10.1002/stvr.1771,
author = {Vos, Tanja E. J. and Aho, Pekka and Pastor Ricos, Fernando and Rodriguez-Valdes, Olivia and Mulders, Ad},
title = {testar – scriptless testing through graphical user interface},
journal = {Software Testing, Verification and Reliability},
volume = {31},
number = {3},
pages = {e1771},
keywords = {test automation, graphical user interface, model inference, monkey testing, artificial intelligence},
doi = {https://doi.org/10.1002/stvr.1771},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/stvr.1771},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/stvr.1771},
year = {2021}
}