IWebTestObject Interface
A generic Web test object used only for implementation. Do not use to describe a concrete web test object.

C# Syntax

Public Properties
 NameDescription
PropertyAbsoluteLocationThis object's coordinates relative to the screen (in pixels). 0,0 is the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyAttributesReturns a copy of the collection of attributes that is attached to the element for example, "id","class", ...  
PropertyClassNameThe object's CSS class.  
PropertyIdThe object's HTML identifier.  
PropertyInnerHTMLThe HTML code contained between the object's start and end tags.  
PropertyInnerTextThe text contained between the object's start and end tags.  
PropertyIsVisibleIndicates whether the current element is visible. (Inherited from HP.LFT.SDK.IVisibleProvider)
PropertyLocationThis object's coordinates relative to the parent window in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyNameThe object's name property.  
PropertyNativeObjectReturns the native application object that is represented by this test object instance, enabling you to access the native properties and methods provided by that object. (Inherited from HP.LFT.SDK.ISupportsNativeObject)
PropertyOuterHTMLThe object's HTML code and its content.  
PropertyOuterTextThe object's text.  
PropertySizeThis object's size in pixels. (Inherited from HP.LFT.SDK.ILocationInfoProvider)
PropertyStylesReturns the element's computed styles as a dictionary with the name of the style as the key.  
PropertyTagNameThe object's HTML tag.  
PropertyTitleThe element's title attribute.  
Top
Public Methods
 NameDescription
MethodDescribeOverloaded. Describes a child test object.  
MethodGetAttributeReturns the value of a single attribute.  
MethodGetComputedStyleReturns the value of a single style.  
Top