ICE-TCS seminar Helga Guðmundsdóttir: Visual GUI Testing with PiGuiT
Date: Friday, September 20th, 2pm
Location: M1.08, Reykjavík University, Menntavegur 1
Speaker: Helga Guðmundsdóttir (Reykjavik University)
Title: Visual GUI Testing with PiGuiT
All software has bugs. Fortunately, software engineers are becoming increasingly aware of the importance of applying good testing practices in their software development process. However, it is evident that GUI testing is frequently neglected in practice. Existing automation tools for GUI testing generate test scripts that are tightly coupled with GUI-level details. They identify individual elements by directly referencing underlying code components or their exact location on screen. This coupling can easily lead to complicated and unreadable scripts that are hard to maintain as the GUI evolves.
We propose a more natural way of referencing GUI elements, termed visual GUI testing, using image recognition to identify elements. Our approach depends neither on absolute locations in the GUI nor the underlying code. We examine whether our method is both applicable and robust in practice, and further investigate how we can address the challenge of rapidly evolving GUI interfaces. In the talk, we introduce the fundamental ideas of the PiGuiT model, a way of modeling a GUI-under-test at a high level, abstracting away GUI-level details from the business logic of the application. Finally, we give an overview of how the PiGuiT testing framework can be used to build simple and flexible test suites.