Table of Contents

Class XPathDescription

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

The description of a Web test object based on the object’s XPath.

public class XPathDescription : PropertiesDescription, IDescription, ICloneable
Inheritance
XPathDescription
Implements
Inherited Members

Constructors

XPathDescription()

Initializes a new instance of the XPathDescription class with an empty XPath (null).

public XPathDescription()

XPathDescription(string)

Initializes a new instance of the XPathDescription class with the provided XPath string.

public XPathDescription(string xpath)

Parameters

xpath string

The XPath to be used as the Web object's description.

Methods

ToString()

ToString override. The string representation of this XPathDescription object.

public override string ToString()

Returns

string

Operators

implicit operator XPathDescription(string)

Implicit cast of the specified string to an XPathDescription.

public static implicit operator XPathDescription(string xpath)

Parameters

xpath string

The xpath to be used as the Web object's description.

Returns

XPathDescription

An XPathDescription object based on the specified XPath.