Share this page

ITestObject Interface
Base interface for all test objects.

C# Syntax

    public interface ITestObject : ITestObjectDescriber

Public Properties

| 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.

Top
Public Methods

| Name | Description
--- | --- | ---
| CallFTMethod | Overloaded. Calls a method or property of an OpenText Functional Testing test object.
| 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.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: