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 can I create the Automation Test Software for Qt application?

How can I create the Automation Test Software for Qt application?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt testingqt testembedded applicembedded qtc++
3 Posts 2 Posters 553 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.
  • Y Offline
    Y Offline
    Yash001
    wrote on 5 May 2021, 19:18 last edited by
    #1

    Hi,

    is there any way to create test application or any code or script which will test our Qt application, and Generated the report?
    Our application is Embedded Application, which is also require some specific hardware to run it.

    Application contain funcationality:

    1. Detect the our Device.
    2. Import export the Csv file,
    3. Represeting the Data on graph
    4. Graph has few button to handle
    5. Run Experiment and show real time data on graph, and write to csv file.
      Many other things is also avavaible.

    I am not getting any clear idea like.
    How can I create test Case without hardware?
    How can I verify the plotted data on graph is correct or not?
    How can I verify Data is ploted at correct place?
    how can generate the events which is usally perform by the User. Like start, stop, resume, changing screen, etc..

    Anyone please give me direction?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 5 May 2021, 19:23 last edited by
      #2

      Hi and welcome to devnet,

      The QtTest module is a starting point.

      Squish might also be of interest.

      Some visual check might require a human being.

      As for absent hardware, if you have created your application architecture in a suitable way you should be able to use a Mock software component to replace your hardware in tests.

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

      Y 1 Reply Last reply 5 May 2021, 20:50
      1
      • S SGaist
        5 May 2021, 19:23

        Hi and welcome to devnet,

        The QtTest module is a starting point.

        Squish might also be of interest.

        Some visual check might require a human being.

        As for absent hardware, if you have created your application architecture in a suitable way you should be able to use a Mock software component to replace your hardware in tests.

        Y Offline
        Y Offline
        Yash001
        wrote on 5 May 2021, 20:50 last edited by
        #3

        @SGaist Thank you for your reponse. I will check both QtTestModule and Squish.

        1 Reply Last reply
        0

        2/3

        5 May 2021, 19:23

        • Login

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