PDA

View Full Version : Testing Qt-Software with a GUI Testing Tool



nightghost
7th May 2009, 23:03
Has anymore use some sort of GUI Testing Tool to test his Qt Application (Windows/Linux) An example would be Squish (http://www.froglogic.com/pg?id=Products&category=squish&sub=overview&subsub=overview), but its a bit expensive for us.

Has anyone used similar tools or frameworks? (clicking a testsuite together is nice, but coding the test would be also OK) We want to setup a small testsuite with basic tests to ensure, that the basic features of our programm are working as expected.

wysota
8th May 2009, 07:50
You can use the QTestLib that is part of Qt.

NoRulez
8th May 2009, 08:00
You could also use KD Executor (http://www.kdab.net/kdexecutor/)

Regards
NoRulez

nightghost
11th May 2009, 08:58
Ah ok, I missed, that QtTestLib can simulate Mouseclicks and Keyboardstrokes. I'll give it a try

Gaut
18th February 2012, 15:31
Hello,

I'm a functionnal tester.
My developpement team work on QT4.X and on opensuse 12.1 platform.

I search the right open source GUI testing tool.

I have seen:
- LinxDesktopTestingProject: It's quite good, but It doesn't work because I'm not on QT4.8 or upper
- Dogtail: It doesn't seen work on opensuse
- FitNesse: It tests work application and not GUI
- Squish: it's not free
- The other are not on QT based for Desktop Application or are based on screenshot.
:confused:


After, have seen this post: I want try QtestLib. But I'm not sure that is could be applied to functionnal testing.
Anyone to confirm ?


If you have another Idea, tell me !
;)

Thank's
Gaut

wysota
18th February 2012, 19:20
Hmm hmm... it highly depends on what you mean by "functional testing". QtTestLib deals with unit tests (which are part of functional testing) but if you want to test complex scenarios, it is not the right tool for the job.

Gaut
20th February 2012, 09:20
Hmm hmm... it highly depends on what you mean by "functional testing". QtTestLib deals with unit tests (which are part of functional testing) but if you want to test complex scenarios, it is not the right tool for the job.

Functionnal testing (for me): should test the binary of the application. This test type should not embed source file (only executable application).

Thanks for your response, I am agree with you.


I have finally found Software Testing Automation Framework (STAF: http://staf.sourceforge.net/index.php) that seems to be the dad of LDTP.
I a not sure that could be used on opensuse 12.1, I go to try it.


I search also, always any information to progress on this subject
Thank's you !

Gaut
21st February 2012, 16:36
Hello,

Software Testing Automation Framework doesn't permit to validate GUI. It's a end to end but haven't the tool to test GUI.

Anyone have one idea ?

wysota
22nd February 2012, 08:43
I can only think of Squish but it is commercial and quite expensive.