AWTComponentName property to obtain the name of a Java application’s object as it is defined in the application’s source code. 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
|A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
All Java application objects.
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
A string holding the component name. This is the same string that is returned by the
getName method in Java.
AWTComponentName 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.