UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ITestObject Interface Methods

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. The test object must be obtained using the Describe method, otherwise, this method returns null.  
 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 (Windows only).  
 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