Class XPathDescription
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
xpathstringThe 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
Operators
implicit operator XPathDescription(string)
Implicit cast of the specified string to an XPathDescription.
public static implicit operator XPathDescription(string xpath)
Parameters
xpathstringThe xpath to be used as the Web object's description.
Returns
- XPathDescription
An XPathDescription object based on the specified XPath.