Important: Please read the Qt Code of Conduct -

How to develop test automation using python script (Includes GUI) for the application developed in QT creator(.exe file)

  • I have an application (.exe file), that has developed in QT creator. Now, I would like to develop one test automation script to the given .exe file with GUI. The GUI should have button and when click the buttons it should run the test scripts and it should shows the result in same GUI.
    For scripting, I want to use Python language and my script should interface with the buttons QT application. Please give me some ideas, that how to create the new GUI and for the buttons in the created GUI should runs the python script in the background.

  • Lifetime Qt Champion


    You can embed PySide2 with your application like described in this blog post.

    Out of curiosity, why not use the QtTest module ?

Log in to reply