Table of Contents

Class TableTag

Namespace
Ranorex
Assembly
Ranorex.Plugin.Web.dll

The HTML 'table' tag.

public class TableTag : WebElement, IAdapter
Inheritance
TableTag
Implements
Inherited Members

Constructors

TableTag()

Creates a new TableTag adapter instance. This constructor is used internally by the Ranorex Core Framework for performance issues!

protected TableTag()

TableTag(Element)

Creates a new TableTag adapter instance.

public TableTag(Element element)

Parameters

element Element

The element to create the adapter for.

Exceptions

NullReferenceException

If element is null.

CapabilityNotSupportedException

If the element does not support the capabilities required by this adapter.

Properties

Align

The 'align' attribute of the element.

public virtual string Align { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Border

The 'border' attribute of the element.

public virtual string Border { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Cellpadding

The 'cellpadding' attribute of the element.

public virtual string Cellpadding { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Cellspacing

The 'cellspacing' attribute of the element.

public virtual string Cellspacing { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Frame

The 'frame' attribute of the element.

public virtual string Frame { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

RequiredCapabilities

Capabilities required by the adapter implementation.

protected override string[] RequiredCapabilities { get; }

Property Value

string[]

Rules

The 'rules' attribute of the element.

public virtual string Rules { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Summary

The 'summary' attribute of the element.

public virtual string Summary { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Title

The 'title' attribute of the element.

public virtual string Title { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Width

The 'width' attribute of the element.

public virtual string Width { get; set; }

Property Value

string

Exceptions

SetAttributeFailedException

Thrown if setting the attribute value failed.

Methods

FromElement(Element)

Converts an Element to an instance of this class.

public static TableTag FromElement(Element element)

Parameters

element Element

The element to convert.

Returns

TableTag

The TableTag.

Exceptions

ArgumentNullException

If element is null.

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 TableTag FromPath(string path)

Parameters

path string

The search path.

Returns

TableTag

The TableTag.

Remarks

The DefaultSearchTimeout is used to search for the specified path.

Exceptions

ArgumentNullException

If path is null.

RxPathException

If the specified path is not valid.

ElementNotFoundException

If no element is found.

CapabilityNotSupportedException

If the element does not support the capabilities required by this adapter.

Operators

implicit operator TableTag(Element)

Implicitly converts an Element to an instance of this class.

public static implicit operator TableTag(Element element)

Parameters

element Element

The element to convert.

Returns

TableTag

The TableTag.

Exceptions

ArgumentNullException

If element is null.

CapabilityNotSupportedException

If the element does not support the capabilities required by this adapter.

implicit operator TableTag(string)

Implicitly converts a string to an instance of this class by searching the root.

public static implicit operator TableTag(string path)

Parameters

path string

The search path.

Returns

TableTag

The TableTag.

Remarks

The DefaultSearchTimeout is used to search for the specified path.

Exceptions

ArgumentNullException

If path is null.

RxPathException

If the specified path is not valid.

ElementNotFoundException

If no element is found.

CapabilityNotSupportedException

If the element does not support the capabilities required by this adapter.