Qt Add-in

Use the Qt testing support provided by UFT One to test user-interface objects (controls) developed using the Qt framework for mobile devices.

General Information

Add-in Type

The Qt Add-in is a Windows-based add-in. Much of its functionality is the same as other Windows-based add-ins.

Important Information

UFT One supports only Visual Studio as the compiler for QT applications.

Test Object Methods and Properties

The Qt Add-in uses a sub-set of the standard Windows test objects, methods, and properties, which can be used when testing objects (controls) in Qt applications.

For details, see the Standard Windows section of the UFT One Object Model Reference for GUI Testing.

Known issues Known Issues - Qt Add-in

Prerequisites

Opening Your Application

You must open UFT One before opening your Qt application.

Add-in Dependencies

None

Low Level Recording

To enable low level recording on Qt controls, you must first modify the object description properties list for the WinObject test object class, as follows:

  • Add the regexpwndtitle property to the mandatory properties list.

  • Move the object class property up the assistive properties list so that it is learned before the text property.

Configuration

Configuration Options

Use the Windows Applications pane.
(Tools > Options > GUI Testing tab > Windows Applications node)

Record and Run Settings

Use the Windows Applications tab.
(Run > Run Settings or Record > Record Settings)

UFT One recognizes Qt objects only in applications that are opened after changing settings in the Windows Applications tab of the Record and Run Settings dialog box.

Custom Active Screen Capture Settings)

Use the Windows applications section.
(Tools > Options >GUI Testing tab > Active Screen node > Custom Level)

Application Area Additional Settings

Use the Applications pane.
In the application area, click Additional Settings in the sidebar and select the Java node