Unsolved Doubts in QT testing
-
Hi Everyone,
I want to do the behaviour test for the QT GUI. I am very new to this testing.
Here I want to load the files automatically to the lineEdit. How can we do that while testing?
Now I am browsing to the particular path and loading the file. But in testing it should automatically load the files in all the lineEdit?Any suggestions and the documents will be of great help.
Thank you
Shruthi -
-
@SGaist Ya I gone through the Qt Test module. And now I am able to do test construction for all the GUI elements. But I got stuck in behaviour testing of the GUI elements. Please let me know how to go ahead with this.
Thank you. -
You can for example get the widget you want using findChild.
Or depending on how you implemented it, do that through a dedicated API.