Share this page

WebElementDescription Class
A basic Web element's description.

C# Syntax

                                    public class WebElementDescription : WebBaseDescription, 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.SAP.UI5.AccordionDescription
HP.LFT.SDK.SAP.UI5.CalendarDescription
HP.LFT.SDK.SAP.UI5.CarouselDescription
HP.LFT.SDK.SAP.UI5.DatePickerDescription
HP.LFT.SDK.SAP.UI5.DateTimeInputDescription
HP.LFT.SDK.SAP.UI5.DialogDescription
HP.LFT.SDK.SAP.UI5.FacetFilterDescription
HP.LFT.SDK.SAP.UI5.HeaderDescription
HP.LFT.SDK.SAP.UI5.LabelDescription
HP.LFT.SDK.SAP.UI5.MenubarDescription
HP.LFT.SDK.SAP.UI5.MenuDescription
HP.LFT.SDK.SAP.UI5.NavigationBarDescription
HP.LFT.SDK.SAP.UI5.NotificationBarDescription
HP.LFT.SDK.SAP.UI5.PaginatorDescription
HP.LFT.SDK.SAP.UI5.RadioGroupDescription
HP.LFT.SDK.SAP.UI5.RatingIndicatorDescription
HP.LFT.SDK.SAP.UI5.RoadMapDescription
HP.LFT.SDK.SAP.UI5.RowRepeaterDescription
HP.LFT.SDK.SAP.UI5.TabStripDescription
HP.LFT.SDK.SAP.UI5.TileDescription
HP.LFT.SDK.SAP.UI5.ToolBarDescription
HP.LFT.SDK.SAP.UI5.TreeViewDescription
HP.LFT.SDK.Web.AreaDescription
HP.LFT.SDK.Web.ButtonDescription
HP.LFT.SDK.Web.FormFieldDescription
HP.LFT.SDK.Web.ImageDescription
HP.LFT.SDK.Web.LinkDescription
HP.LFT.SDK.Web.MediaControlDescription
HP.LFT.SDK.Web.MenuDescription
HP.LFT.SDK.Web.TableDescription
HP.LFT.SDK.Web.TabStripDescription
HP.LFT.SDK.Web.TreeViewDescription

Public Constructors

| Name | Description
--- | --- | ---
| WebElementDescription Constructor | Initializes a new instance of the WebElementDescription class.

Top
Public Properties

| Name | Description
--- | --- | ---
| AbsoluteLocation | The 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 )
| AccessibilityName | The label of the object (where no text label is available).
| Attributes | Describes the object by its DOM attributes. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| ClassName | The object's CSS class (className property). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| CSSSelector | The path to the object in CSS format, for example, tr.BPTRow input.
| Id | The object's HTML identifier. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Index | The 0-based index of this object, relative to all other objects with an otherwise identical description. (Inherited from HP.LFT.SDK.Description )
| InnerHTML | The HTML code contained between the object's start and end tags. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| InnerText | The text contained between the object's start and end tags. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| IsVisible | Indicates whether the object is visible. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Location | The object's coordinates relative to the parent window (in pixels). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Name | The object's name property. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| OuterHTML | The object's HTML code and its content. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| OuterText | The object's text. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Role | Property displaying the function of the specified object. For example, if the role property is listbox, the object functions as a listbox.
| Size | The object's size (in pixels). (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Styles | Describes the object by its computed style. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| TagName | The object's HTML tag. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Title | The object's title. (Inherited from HP.LFT.SDK.Web.WebBaseDescription )
| Vri | Distinguishes 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 )
| XPath | The path to the object in XPath format, for example, //TR[@id='UFTDeveloper']/*/INPUT

Top
Public Methods

| Name | Description
--- | --- | ---
| Clone | Creates an exact copy of the test object. (Inherited from HP.LFT.SDK.PropertiesDescription )

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: