Important: Please read the Qt Code of Conduct -

Qml Testcase mouse drag

  • In an attempt to get an automated testing system with my UI, I'm trying to simulate a mouse dragging a Qml object from one place to another using the built in TestCase mouse interface, and not having any success.

    the element responds perfectly when manually dragged using the mouse, but is totally unresponsive to the simulation. However, i can confirm that it is clicked on successfully, so I am almost certain that the problem lies within the actual dragging functionality of the script.

    Has anyone had experience using the mouse simulation within QtTest, and more specifically, it's mouse dragging capabilities? Any advice is much appreciated!


Log in to reply