Mapping unknown controls

Every control belonging to a given platform has a native control class within that platform. Just as TestArchitect maps controls and windows to logical names (TA names) it also maps control class names from each AUT platform to its own set of class names, called TA classes. In some cases, the Interface Viewer encounters a control whose class it does not know about. (These are indicated by red question marks in their nodes in the Viewer’s UI explorer tree.) When that happens, if you need to interface with the control, or with other controls of that class, you must map the unknown native class to a suitable TA class.

重要: 
Custom class mapping is only supported for the following applications:

  • Windows Presentation Foundation (WPF)
  • Win32
  • iOS
  • Android
  • Silverlight
  • Windows Forms (WinForms)
  • SAP

If you attempt to capture a control whose class is unknown (), TestArchitect displays an alert requiring that you map that control’s class to either

  1. a known class (an existing built-in or user-defined TA class) or
  2. a new user-defined TA class.

Mapping unknown controls to a known class
A step-by-step guide to mapping unknown controls to a known class (built-in TA class, or user-defined TA class).

Mapping unknown controls to a new class
The last topic discussed mapping unknown control classes of an AUT to a known TA class. Now we’ll explore how to map an unknown control class to a completely new class (that is, a newly created user-defined TA class).


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400