[Qt-interest] [software testing] How simulate human interaction with widgets?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Tue Jun 15 09:59:57 CEST 2010
Ed Sutton wrote on Monday, June 14, 2010 6:55 PM:
> ...
> QTestLib may be useful for unit testing. Not sure yet about GUI
> testing. Still reading...
If you don't mind writing (simple) GUI tests programatically:
http://doc.trolltech.com/4.6/qtestlib-tutorial3.html
The QTestLib framework lets you create "Qt events" (such as from keyboard, mouse etc.) and "inject" them into the Qt event queue. Not as comfortable as a GUI test editor, but should work for "simple" dialogs/test scenarios.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list