Class TdTag
- Namespace
- Ranorex
- Assembly
- Ranorex.Plugin.Web.dll
The HTML 'td' tag.
public class TdTag : WebElement, IAdapter
- Inheritance
-
TdTag
- Implements
- Inherited Members
Constructors
TdTag()
Creates a new TdTag adapter instance. This constructor is used internally by the Ranorex Core Framework for performance issues!
protected TdTag()
TdTag(Element)
Creates a new TdTag adapter instance.
public TdTag(Element element)
Parameters
elementElementThe element to create the adapter for.
Exceptions
- NullReferenceException
If
elementisnull.- CapabilityNotSupportedException
If the element does not support the capabilities required by this adapter.
Properties
Abbr
The 'abbr' attribute of the element.
public virtual string Abbr { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Align
The 'align' attribute of the element.
public virtual string Align { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Axis
The 'axis' attribute of the element.
public virtual string Axis { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Colspan
The 'colspan' attribute of the element.
public virtual string Colspan { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Headrs
The 'headrs' attribute of the element.
public virtual string Headrs { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Height
The 'height' attribute of the element.
public virtual string Height { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
RequiredCapabilities
Capabilities required by the adapter implementation.
protected override string[] RequiredCapabilities { get; }
Property Value
- string[]
Rowspan
The 'rowspan' attribute of the element.
public virtual string Rowspan { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Scope
The 'scope' attribute of the element.
public virtual string Scope { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Title
The 'title' attribute of the element.
public virtual string Title { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Valign
The 'valign' attribute of the element.
public virtual string Valign { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Width
The 'width' attribute of the element.
public virtual string Width { get; set; }
Property Value
Exceptions
- SetAttributeFailedException
Thrown if setting the attribute value failed.
Methods
FromElement(Element)
Converts an Element to an instance of this class.
public static TdTag FromElement(Element element)
Parameters
elementElementThe element to convert.
Returns
- TdTag
The TdTag.
Exceptions
- ArgumentNullException
If
elementisnull.- CapabilityNotSupportedException
If the element does not support the capabilities required by this adapter.
FromPath(string)
Converts a string to an instance of this class by searching the root.
public static TdTag FromPath(string path)
Parameters
pathstringThe search path.
Returns
- TdTag
The TdTag.
Remarks
The DefaultSearchTimeout is used to search for the specified path.
Exceptions
- ArgumentNullException
If
pathisnull.- RxPathException
If the specified
pathis not valid.- ElementNotFoundException
If no element is found.
- CapabilityNotSupportedException
If the element does not support the capabilities required by this adapter.
Operators
implicit operator TdTag(Element)
Implicitly converts an Element to an instance of this class.
public static implicit operator TdTag(Element element)
Parameters
elementElementThe element to convert.
Returns
- TdTag
The TdTag.
Exceptions
- ArgumentNullException
If
elementisnull.- CapabilityNotSupportedException
If the element does not support the capabilities required by this adapter.
implicit operator TdTag(string)
Implicitly converts a string to an instance of this class by searching the root.
public static implicit operator TdTag(string path)
Parameters
pathstringThe search path.
Returns
- TdTag
The TdTag.
Remarks
The DefaultSearchTimeout is used to search for the specified path.
Exceptions
- ArgumentNullException
If
pathisnull.- RxPathException
If the specified
pathis not valid.- ElementNotFoundException
If no element is found.
- CapabilityNotSupportedException
If the element does not support the capabilities required by this adapter.