C# Syntax
public interface ITestObject : ITestObjectDescriber
Name | Description | |
---|---|---|
DisplayName | The object display name defined in the Application Model. | |
Parent | The parent test object of this test object. The child object must be obtained using the Describe method, otherwise, it returns null. |
Name | Description | |
---|---|---|
Describe<TChild> | Creates a child test object of this test object. (Inherited from HP.LFT.SDK.ITestObjectDescriber) | |
Exists | Overloaded. Checks whether this object exists in the AUT before the default object synchronization timeout elapses. | |
FindChildren<TChild> | Returns all the child test objects that match the specified test object type and description filter. For example, you can use this method to retrieve all Web buttons on a Page with type="submit". | |
GetDescription | Returns a clone of the description for this test object. The test object must be obtained using the Describe method, otherwise, this method returns null. | |
GetSnapshot | Captures a bitmap of this test object and returns a System.Drawing.Image of it. | |
GetTextLocations | Overloaded. Returns all rectangle areas containing the specified text within this object (Windows only). | |
GetVisibleText | Overloaded. Returns all visible text from this object. | |
Highlight | Highlights this object in the AUT. | |
HighlightMatches<TChild> | Highlights all children that match the specified test object type and description filter. | |
SetDescription | Replaces this test object's description with the supplied description. | |
VerifyImageExists | Checks whether a snapshot of this object contains the supplied image. | |
VerifyImageMatch | Overloaded. Checks whether a snapshot of this object and the supplied image are a match, given the specified pixel and RGB tolerance values. |