Class XPathDescription
The description of a Web test object based on the object’s XPath.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public class XPathDescription : PropertiesDescription, IDescription, ICloneable
Constructors
XPathDescription()
Initializes a new instance of the XPathDescription class with an empty XPath (null).
Declaration
public XPathDescription()
XPathDescription(string)
Initializes a new instance of the XPathDescription class with the provided XPath string.
Declaration
public XPathDescription(string xpath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xpath | The XPath to be used as the Web object's description. |
Methods
ToString()
ToString override. The string representation of this XPathDescription object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
Operators
implicit operator XPathDescription(string)
Implicit cast of the specified string to an XPathDescription.
Declaration
public static implicit operator XPathDescription(string xpath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xpath | The xpath to be used as the Web object's description. |
Returns
| Type | Description |
|---|---|
| XPathDescription | An XPathDescription object based on the specified XPath. |