Automating high-level system test of Adaptive Human Machine Interaction using Visual GUI Testing
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 28 HE credits
Student thesis
Abstract [en]
This thesis was carried out at SAAB Aeronautics, at the Human Machine Interaction material group. This group is responsible for designing the cockpit, from the seating position to the user interface of the displays of Gripen E/F. Today the verification is done manually by engineers and test pilots in multiple steps to ensure that the cockpit layout does not cause confusion for the operator. The verification is divided into small use cases of a flight mission where each verification case can be verified independently. This thesis investigates the possibility to automate part of the verification case by using machine vision to identify the presence of symbols on the displays according to the verification case.
This thesis studies the suitability of different state of the art machine vision techniques and evaluates their performance against their suitability to be used according to the industry standard. A prototype was built using OpenCV in python to help evaluate the performance. This prototype uses Microsoft Flight Simulator 2020 to provide an environment similar to the rig setup at SAAB of a camera recording a display. The main idea being to utilize feature matching and homography to normalize the display area and then search for the symbols using template matching.
The results indicates that a robust Visual GUI Testing framework can be developed that meet the requirements imposed by the industry standard.
Abstract [sv]
Detta arbete är utfört hos SAAB Aeronautics, i materielgruppen för Human Machine Interaction. Denna grupp ansvarar för designen av cockpit, från positionering av stolen till användargrännssnittet hos skärmarna i Gripen E/F. Idag utförs verifieringen manuellt av ingenjörer och testpiloter i flertalet steg för att säkerställa att cockpitens utformning inte orsakar förvirring för användaren. Verifieringen är uppdelad i små del fall av ett flyguppdrag så att varje fall kan verifieras separat. I detta arbete undersöks möjligheten till att automatisera delar av verifieringsfallen genom att använda dataseende för att identifiera närvaron av symbolar på displayerna enligt verifieringsfallet.
Detta arbete studerar lämpligeten hos olika toppmoderna tekniker inom dataseende och utvärderar deras resultat kontra deras lämplighet i förhållande till industristandarden. En prototyp som använder OpenCV byggdes i python för att hjälpa till med utvärderingen. Prototypen använder sig av Microsoft Flight Simulator 2020 för att simulera den uppsättning som finns hos SAAB för att spela in en display. Huvudidén är att använda feature matchning och homographi för att normalisera displaytan och sedan använda template matchning för att identifiera symbolerna.
Resultatet visar på att det är möjligt att ta fram ett robust Visuellt GUI Testramverk som uppfyller kraven ställt från industristandarden.
Place, publisher, year, edition, pages
2025. , p. 79
Keywords [en]
Visual GUI Testing, VGT, Feature Matching, Template Matching, Convolutional Neural Network, CNN, Machine Vision
Keywords [sv]
Visuel GUI Testning, VGT, Feature Matchning, Template Matchning, Faltat neuralt nätverk, CNN, Dataseende
National Category
Probability Theory and Statistics
Identifiers
URN: urn:nbn:se:liu:diva-214533ISRN: LiTH-MAT-EX--2025/06--SEOAI: oai:DiVA.org:liu-214533DiVA, id: diva2:1966146
External cooperation
SAAB AB
Subject / course
Mathematical Statistics
Presentation
2025-06-04, Kompakta rummet, B-huset, Linköpings universitet, Campus Valla, Linköping, 15:15 (English)
Supervisors
Examiners
2025-06-112025-06-092025-06-11Bibliographically approved