Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    General and Desktop
    2
    2
    202
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reddipradeep.embd last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

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

        Out of curiosity, why not use the QtTest module ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • First post
          Last post