Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Enabling mobile automation testing on QT/QML native mobile app



  • Hi,

    We have enabled "Accessible" property to make automation testing available.

    But I am not able to find a property to read the text present inside an element. Ex:
    • Text field (Accessible.name=”Page_TextField”) : I am unable to capture the entered text during run time, i.e. Go to page > I will identify the text field using the “name” property and enter “xyz” into the text field > But I am unable to capture “xyz” during runtime.

    • Button (Accessible.name=”Page_Button”) : I am unable to capture the actual label of the button, i.e. There is button named “START”. I will identify the button using the “name” property but I am unable to capture the actual label (“START”).

    It would be of great help if any one can assist me on this.