Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to develop test automation using python script (Includes GUI) for the application developed in QT creator(.exe file)
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 495 Views
  • 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 Offline
    R Offline
    reddipradeep.embd
    wrote on 28 Jan 2020, 19:09 last edited by
    #1

    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
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Jan 2020, 19:33 last edited by
      #2

      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
      1

      1/2

      28 Jan 2020, 19:09

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved