Interface definitions

The process of how to capture an application’s interface information, how to select only those parts of it that you require for your project, and how to rename the elements of the interface to make them easier to work with.

Automated test systems need to interface with the application being tested to perform their operations and verifications. After completing the design of your tests, you need to capture the various windows, controls, HTML elements, etc., that comprise the interface of the application to be tested. These are then used in your development of action definitions.

Interface mapping
Interface mapping identifies elements of an interface in an application under test

Interface entities and elements
TestArchitect interfaces are implemented with interface entities and interface elements. These project items identify the windows and controls of an application’s user interface, and assign TA names to them.

Creating an interface
An interface in TestArchitect is essentially a container for a set of interface entities and elements, which perform the actual mappings.

Setting a default interface
The default interface in a project is the one that is in effect during a test if no other interface has been specified for the test. (Typically, however, a test initializes itself with the use interface built-in action to specify the interface to be used).

Creating interface entities
How to create an interface entity, which is used to represent such AUT elements as desktop windows, browser windows, and dialog boxes.

Interface capturing commands
In addition to the Interface Viewer, TestArchitect offers some handy tools for working with interfaces, or examining the elements of an AUT’s user interface.

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.

Web Interface Viewer
Web Interface Viewer is a powerful and friendly support tool that allows you to inspect, verify and save all or parts of an interface definition, and to explore HTML elements on many kinds of websites.

Addressing windows, controls of Multiple Document Interface applications
This topic explains how TestArchitect significantly enhances the UI matching process performance for Multiple Document Interface (MDI) applications during test automation

Exporting an interface entity
Interface entities can be exported to archive files (.ZIP format), which can be used as a backup or for re-importing.

Importing an interface entity
You can import an interface entity into your project from one that has been saved to a .ZIP archive file.

Class mapping
To address the complexity introduced by the variety of native control classes, TestArchitect introduces the concept of TA classes. TA classes represent a “common core” of control classes that TestArchitect’s built-in actions and methods are designed to interface with. Class mapping is the process of relating the various control classes of each software platform to their corresponding TA classes.

Control properties
For each known class of control, TestArchitect uses internal mapping files to map its native properties to a set of TA properties.

Dynamic identifiers
Dynamic identifiers allow the identification of controls and windows to be made under program control, rather than with interface definitions.

Container classes
Container classes are classes of UI controls that can contain other controls. Because the number of child controls that a container holds is potentially unlimited, such container classes present possible performance hits during test runs. To avoid such issues, TestArchitect offers the option of bypassing the recognition of container child controls.


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