The Interface Viewer

The Interface Viewer is a powerful support tool that allows you to capture and save all or parts of an interface definition, and to explore the elements of an AUT’s interface.

In order to write test modules and implement actions that interact with the GUI of the AUT, an automation engineer must first capture information into an interface definition, which is a collection of maps that allow the automation to find windows and controls. As we learned previously, those maps are, in TestArchitect terms, interface entities and interface elements.

The Interface Viewer is a support tool to capture and save all or parts of the interface definition. (See also the tutorial section on using the Interface Viewer for examples on how to use it). It does this by examining an AUT’s user interface and then generating the contents of interface entities.

Capturing and identifying elements of an interface can be performed, to a certain extent, via the TestArchitect client’s own interface. In that regard, it should be noted that the Interface Viewer offers two primary advantages:

  • the ability to capture and map all the elements of a given window at once; and
  • the ability to view information on the interface: windows, controls, element, interface entities, interface elements, and all their various properties and property values.

Starting the Interface Viewer
Launching the Interface Viewer tool.

Interpreting the Interface Viewer
Understanding the information displayed in the Interface Viewer’s panels.

Capturing interface definitions
Capturing interface definitions means writing out interface entities with a) mappings of controls to TA names, and b) mapping of windows to interface entities.

Naming interface elements
Choosing good logical names is an essential step in the design of your automation.

Maintaining interface definitions
As an application under test evolves over time, its windows and dialog boxes also change; therefore the TestArchitect interface entities associated with them must be updated.

Identifying interface elements and controls
The Interface Viewer provides a few means of assisting you in relating nodes on the GUI Element Tree to actual physical items, and vice-versa.

Interface Viewer transient controls capture
The Interface Viewer retains captured UI controls and their properties even after they are no longer available from the AUT.

Other functionalities
Save, Refresh, Open vs. Active, HTML tags filter, Copy Value, Class Mapping, Show Invisible Windows, Show Invisible Controls, Show All Processes functionalities are discussed in this section.

Related information

Interface Viewer


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400