Results 1 to 9 of 9

Thread: Testing Qt-Software with a GUI Testing Tool

  1. #1
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Testing Qt-Software with a GUI Testing Tool

    Has anymore use some sort of GUI Testing Tool to test his Qt Application (Windows/Linux) An example would be Squish, 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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Testing Qt-Software with a GUI Testing Tool

    You can use the QTestLib that is part of Qt.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default Re: Testing Qt-Software with a GUI Testing Tool

    You could also use KD Executor

    Regards
    NoRulez

  4. #4
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Testing Qt-Software with a GUI Testing Tool

    Ah ok, I missed, that QtTestLib can simulate Mouseclicks and Keyboardstrokes. I'll give it a try

  5. #5
    Join Date
    Feb 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Symbian S60

    Question Re: Testing Qt-Software with a GUI Testing Tool

    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.



    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
    Last edited by Gaut; 18th February 2012 at 14:38.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Testing Qt-Software with a GUI Testing Tool

    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.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Feb 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Re: Testing Qt-Software with a GUI Testing Tool

    Quote Originally Posted by wysota View Post
    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 !
    Last edited by Gaut; 20th February 2012 at 09:45.

  8. #8
    Join Date
    Feb 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Re: Testing Qt-Software with a GUI Testing Tool

    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 ?

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Testing Qt-Software with a GUI Testing Tool

    I can only think of Squish but it is commercial and quite expensive.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Open source automated testing tool for Qt App
    By William Wilson in forum Qt Programming
    Replies: 21
    Last Post: 5th December 2007, 16:56
  2. Automated testing tool for Qt app
    By William Wilson in forum Qt Programming
    Replies: 1
    Last Post: 12th November 2007, 09:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.