AWTPattern Class |
Namespace: SmartBear.TestLeft.TestObjects.Swing
The AWTPattern type exposes the following members.
Name | Description | |
---|---|---|
AWTPattern |
Creates a new instance of the AWTPattern class.
|
Name | Description | |
---|---|---|
AWTComponentAccessibleName |
The accessible name of the sought-for object (the value returned by the javax.accessibility.AccessibleContext.getAccessibleName() method).
| |
AWTComponentIndex |
The object's position (zero-based) in the parent object's collection of child objects. Use it to distinguish objects that have the same class name and accessible name.
| |
AWTComponentName |
The object's name as it is specified in the application's source code.
| |
Enabled |
Specifies whether the sought-for control is enabled (true) or disabled (false). Disabled controls are typically displayed in grey.
(Inherited from ControlPattern.) | |
Index |
Used for windowed objects. Specifies the object's current front-to-back position (1-based) among other objects that have the same class name and accessible name.
| |
JavaFullClassName |
The full class name of the sought-for object (for example, java.awt.Button).
| |
Visible |
Specifies whether the sought-for controls are visible (a control may be out of the screen, but still visible).
(Inherited from ControlPattern.) |
Name | Description | |
---|---|---|
Add |
Adds a custom property to the search pattern and returns the pattern object.
You can explore your tested application in the TestLeft UI Spy to choose the appropriate property and value.
| |
DoAddCustomItem |
Adds a custom property to the search pattern.
(Inherited from SearchPatternBase.) | |
DoAddOwnItems |
Overrides the DoAddOwnItems(SearchPatternBaseSearchPatternItems) method.
(Overrides ControlPatternDoAddOwnItems(SearchPatternBaseSearchPatternItems).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPatternItems |
Implements GetPatternItems.
(Inherited from SearchPatternBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a user-friendly string representation of properties and values used in the search pattern.
(Inherited from SearchPatternBase.) |