Class WebElementDescription
A basic Web element's description.
Inheritance
WebElementDescription
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class WebElementDescription : WebBaseDescription, ICloneable, IDescription
Constructors
WebElementDescription()
Declaration
public WebElementDescription()
Properties
AccessibilityName
The label of the object (where no text label is available).
Declaration
public StringProperty AccessibilityName { get; set; }
Property Value
| Type | Description |
|---|---|
| StringProperty |
CSSSelector
The path to the object in CSS format, for example, tr.BPTRow input.
Declaration
public CSSDescription CSSSelector { get; set; }
Property Value
| Type | Description |
|---|---|
| CSSDescription |
Role
Property displaying the function of the specified object. For example, if the role property is listbox, the object functions as a listbox.
Declaration
public StringProperty Role { get; set; }
Property Value
| Type | Description |
|---|---|
| StringProperty |
XPath
The path to the object in XPath format, for example, //TR[@id='LeanFT']/*/INPUT
Declaration
public XPathDescription XPath { get; set; }
Property Value
| Type | Description |
|---|---|
| XPathDescription |