AWTComponentAccessibleName Property

Applies to TestComplete 15.31, last modified on March 17, 2022

Description

Use the AWTComponentAccessibleName property to obtain the accessible name of a Java application’s object. The property is only used if the object meets the following requirements:

  • The object belongs to a Java application that was created with AWT or Swing libraries.
  • The object is a descendant of the java.awt.Component class.

If the object is addressed by the AWTObject or SwingObject methods that use the accessible name as the second parameter, the property value is equal to the parameter value used by these methods.

Declaration

TestObj.AWTComponentAccessibleName

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

All Java application objects.

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

A string holding the accessible class name.

Remarks

The AWTComponentAccessibleName property is only available if the Java Application Support plugin is installed and the application under test is a Java application created with AWT or Swing libraries. Otherwise, this property is absent in the object’s property list.

See Also

Testing Java Applications - Overview
AWTComponentName Property
AWTComponentIndex Property

Highlight search results