UFT Pro (LeanFT) .NET SDK Reference, Version 14.00
ITestObject Interface
Base interface for all test objects.
Syntax
public interface ITestObject : ITestObjectDescriber  
Public Properties
 NameDescription
 PropertyDisplayNameThe object display name defined in the Application Model.  
 PropertyParentThe parent test object of this test object.  
Top
Public Methods
 NameDescription
 MethodDescribe<TChild>Creates a child test object of this test object. (Inherited from HP.LFT.SDK.ITestObjectDescriber)
 MethodExistsOverloaded. Checks whether this object exists in the AUT before the default object synchronization timeout elapses.  
 MethodFindChildren<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".  
 MethodGetDescriptionReturns a clone of the description for this test object.  
 MethodGetSnapshotCaptures a bitmap of this test object and returns a System.Drawing.Image of it.  
 MethodGetTextLocationsOverloaded. Returns all rectangle areas containing the specified text within this object.  
 MethodGetVisibleTextOverloaded. Returns all visible text from this object.  
 MethodHighlightHighlights this object in the AUT.  
 MethodHighlightMatches<TChild>Highlights all children that match the specified test object type and description filter.  
 MethodSetDescriptionReplaces this test object's description with the supplied description.  
 MethodVerifyImageExistsChecks whether a snapshot of this object contains the supplied image.  
 MethodVerifyImageMatchOverloaded. Checks whether a snapshot of this object and the supplied image are a match, given the specified pixel and RGB tolerance values.  
Top