GUI Testing - QTestLib
I am developing Qt application for my embedded platform. I would like to test my GUI screens. I did come across many tools such as TDriver, Squish, Ranorex, QTestLib, etc.
I am more interested to know about QTestLib, If I can test my Application's UI Screens. Is it possible? If yes, How do I do it?
Can anyone explain me please?
Do you mean something like "QTest::mouseMove":http://qt-project.org/doc/qt-5/qtest.html#mouseMove and it's friends ?
Yes, something of that sort!
Example to visualize the need:
Assume, there is a form that takes employee details such as "Employee ID, Name, Mobile". Form has OK button. On click OK, it validates the field. On success, form gets loaded with new fields such as "Employee family details" "Spouse details", Children Information", etc.
What I need to test is,
In the first screen, the test framework suppose to enter the fields with the data and click OK and the application will do the validation. Test framework shall enter all the fields with different combinations to test the failure case as well. On Success, form is expected to load the next screen in the UI. UI framework shall conform that, etc, etc.
Please let me know if it explains the problem..
Well, then you can write that "script" using QTest to e.g. move the mouse over the button and click on it,
Thanks Sam! I'll give a try and get back if I have any more questions.