ListBoxDescription Class

The description of a Web ListBox test object.

C# Syntax

public class ListBoxDescription : FormFieldDescription, HP.LFT.SDK.IDescription  
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.PropertiesDescription
      HP.LFT.SDK.Description
         HP.LFT.SDK.Web.WebBaseDescription
            HP.LFT.SDK.Web.WebElementDescription
               HP.LFT.SDK.Web.FormFieldDescription
                  HP.LFT.SDK.Web.ListBoxDescription
                     HP.LFT.SDK.SAP.UI5.ListBoxDescription

Public Constructors
 NameDescription
Public ConstructorListBoxDescription Constructor Initializes a new instance of the ListBoxDescription class.  
Top
Public Properties
 NameDescription
Public PropertyAbsoluteLocationThe object's absolute coordinates relative to the screen (in pixels). 0,0 is always the top-left corner of the (primary) monitor. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyAccessibilityNameThe label of the object (where no text label is available). (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Public PropertyAttributesDescribes the object by its DOM attributes. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyClassNameThe object's CSS class (className property). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyCSSSelectorThe path to the object in CSS format, for example, tr.BPTRow input. (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Public PropertyDefaultValueThe initial text value, which is set when the object is reset.  
Public PropertyFirstItemThe first item in the list of items in the list.  
Public PropertyIdThe object's HTML identifier. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyIndexThe 0-based index of this object, relative to all other objects with an otherwise identical description. (Inherited from HP.LFT.SDK.Description )
Public PropertyInnerHTMLThe HTML code contained between the object's start and end tags. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyInnerTextThe text contained between the object's start and end tags. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyIsEnabled

Indicates whether the list box is enabled.  

Public PropertyIsMultipleIndicates whether multi-selection is available.  
Public PropertyIsVisibleIndicates whether the object is visible. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyItemsA read-only collection of all IListItem objects in the list.  
Public PropertyItemsCountThe number of items in the list.  
Public PropertyLocationThe object's coordinates relative to the parent window (in pixels). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyNameThe object's name property. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyOuterHTMLThe object's HTML code and its content. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyOuterTextThe object's text. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyRoleProperty displaying the function of the specified object. For example, if the role property is listbox, the object functions as a listbox. (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Public PropertySelectedItemsA collection of all selected items in the list.  
Public PropertySizeThe object's size (in pixels). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyStylesDescribes the object by its computed style. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyTagNameThe object's HTML tag. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyTitleThe object's title. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
Public PropertyTypeThe type of object as defined in the HTML input tag. (Inherited from HP.LFT.SDK.Web.FormFieldDescription )
Public PropertyValueThis object's text value.  
Public PropertyVisibleItemsCountThe number of visible items in the list.  
Public PropertyVriDistinguishes this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application. (Inherited from HP.LFT.SDK.Description )
Public PropertyXPathThe path to the object in XPath format, for example, //TR[@id='UFTDeveloper']/*/INPUT (Inherited from HP.LFT.SDK.Web.WebElementDescription )
Top
Public Methods
 NameDescription
Public MethodCloneCreates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )
Top