How to automate Qt GUI Tests
summary
Automated GUI testing for Qt apps uses froglogic’s Squish GUI Tester to hook into the running app (no code edits if linked dynamically) and traverse the Qt object tree, using object-based identification plus optional image checks. Tests run as scripts (Python, JavaScript, Tcl, Ruby, Perl), map Gherkin steps (Gherkin BDD) to script functions, and execute via squishrunner + squishserver (remote and distributed runs supported). Demo verifies an energy UI (set speed/heating → 37 kW), outputs HTML reports, and integrates into CI with coverage-driven test selection.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:45Challenges
- 4:03GUI Tester
- 5:06ObjectBased Testing
- 7:36Test Scripting
- 9:28Behavior Driven Development
- 12:10Multiplication Testing
- 12:47Architecture
- 15:04Integrations
- 16:12Time
- 18:46Demonstration
related talks
46mBehavior Driven GUI Testing of Embedded, Mobile and Desktop Qt HMIs
49mQuickly and Effectively Testing Qt Desktop Applications
57mQuickly Testing Qt Desktop Applications with Approval Tests
29mAre you testing enough - Qt application Quality Assurance
58mIntroduction to Automated Testing for Qt Applications
25mTest It!
35mTesting GUI with Fedora and openQA
40mAutomated Full System Testing on Hardware with OpenQA
