Table of Contents

Class BdoTag

Namespace
Ranorex
Assembly
Ranorex.Plugin.Web.dll

The HTML 'bdo' tag.

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

Constructors

BdoTag()

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

protected BdoTag()

BdoTag(Element)

Creates a new BdoTag adapter instance.

public BdoTag(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

RequiredCapabilities

Capabilities required by the adapter implementation.

protected override string[] RequiredCapabilities { get; }

Property Value

string[]

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.

Methods

FromElement(Element)

Converts an Element to an instance of this class.

public static BdoTag FromElement(Element element)

Parameters

element Element

The element to convert.

Returns

BdoTag

The BdoTag.

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

Parameters

path string

The search path.

Returns

BdoTag

The BdoTag.

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 BdoTag(Element)

Implicitly converts an Element to an instance of this class.

public static implicit operator BdoTag(Element element)

Parameters

element Element

The element to convert.

Returns

BdoTag

The BdoTag.

Exceptions

ArgumentNullException

If element is null.

CapabilityNotSupportedException

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

implicit operator BdoTag(string)

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

public static implicit operator BdoTag(string path)

Parameters

path string

The search path.

Returns

BdoTag

The BdoTag.

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.