Controlling native Windows applications via the UIAuto module

Note The win engine is described in a separate chapter Testing native Windows applications (preview).

The UIAuto module provides a temporary solution when simple control of native Windows applications is required during testing of process flow across Java, Web and Windows applications.

The module allows control of native Windows GUI elements via Microsoft's UI Automation interface. It can trigger actions and check certain values. The interface is described on

Procedures in the standard library qfs.qft wrap the methods of the module most frequently required.

It is not possible to record actions or checks directly (capturing). The parameters identifying a GUI object need to be determined and then be passed to the respective procedure.

Actions are replayed via 'hard' system events mainly. This results in a different replay behavior than you are used to with QF-Test for Java or web applications.

Despite these restrictions the module can be very helpful for simple testing and controlling tasks on native Windows applications.