Table of Contents

Class Role

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

Roles are predefined capabilities.

public sealed class Role : Capability, IEquatable<Descriptor>, IComparable<Descriptor>, IEquatable<Capability>
Inheritance
Role
Implements
Inherited Members

Fields

Button

Represents a push button.

public static readonly Role Button

Field Value

Role

Cell

Represents a table cell.

public static readonly Role Cell

Field Value

Role

CheckBox

Represents a check box that allows the user to select a true or false condition.

public static readonly Role CheckBox

Field Value

Role

Column

Represents a table column.

public static readonly Role Column

Field Value

Role

ComboBox

Represents a combo box control.

public static readonly Role ComboBox

Field Value

Role

Container

Represents a logical container element, such as a panel or groupbox.

public static readonly Role Container

Field Value

Role

ContextMenu

Represents a context popup menu.

public static readonly Role ContextMenu

Field Value

Role

DateTime

Represents a datetime picker or calendar control.

public static readonly Role DateTime

Field Value

Role

Desktop

Represents the operating system desktop.

public static readonly Role Desktop

Field Value

Role

Form

Represents an application main window or a dialog window.

public static readonly Role Form

Field Value

Role

Grip

Represents an element that can be moved or dragged, e.g. a size grip for resizing windows or controls.

public static readonly Role Grip

Field Value

Role

Host

Represents the host machine running Ranorex.

public static readonly Role Host

Field Value

Role

Indicator

Represents the indicator part of a slider or scrollbar.

public static readonly Role Indicator

Field Value

Role

Represents a hyperlink.

public static readonly Role Link

Field Value

Role

List

Represents a logical list such as a listbox.

public static readonly Role List

Field Value

Role

ListItem

Represents an item in a list.

public static readonly Role ListItem

Field Value

Role

MenuBar

Represents a menu bar.

public static readonly Role MenuBar

Field Value

Role

MenuItem

Represents an entry in a menubar or context menu.

public static readonly Role MenuItem

Field Value

Role

NumberPicker

Represents a progress bar.

public static readonly Role NumberPicker

Field Value

Role

Picture

Represents a picture, icon, image or diagram.

public static readonly Role Picture

Field Value

Role

ProgressBar

Represents a progress bar.

public static readonly Role ProgressBar

Field Value

Role

RadioButton

Represents a radio button which enables the user to select a single option from a group of choices.

public static readonly Role RadioButton

Field Value

Role

Row

Represents a table row.

public static readonly Role Row

Field Value

Role

ScrollBar

Represents a vertical or horizontal scroll bar control.

public static readonly Role ScrollBar

Field Value

Role

Separator

Represents a separator used for menus and toolbars.

public static readonly Role Separator

Field Value

Role

Slider

Represents a slider or trackbar control.

public static readonly Role Slider

Field Value

Role

StatusBar

Represents a status bar usually located at the bottom of a form.

public static readonly Role StatusBar

Field Value

Role

TabPage

Represents a tab page in a tab page list.

public static readonly Role TabPage

Field Value

Role

TabPageList

Represents a tab page list.

public static readonly Role TabPageList

Field Value

Role

Table

Represents a table or grid, consisting of rows and columns.

public static readonly Role Table

Field Value

Role

Text

Represents an edit box, a text area, or static text.

public static readonly Role Text

Field Value

Role

TitleBar

Represents the title bar of a form or dialog window.

public static readonly Role TitleBar

Field Value

Role

ToolBar

Represents a tool bar.

public static readonly Role ToolBar

Field Value

Role

ToolTip

Represents tooltip popup.

public static readonly Role ToolTip

Field Value

Role

Tree

Represents a tree control.

public static readonly Role Tree

Field Value

Role

TreeItem

Represents an item in a tree.

public static readonly Role TreeItem

Field Value

Role

Unknown

Represents a UI element which cannot be further categorized.

public static readonly Role Unknown

Field Value

Role

Methods

GetAllRoles()

Returns a list of all available roles.

public static IList<Capability> GetAllRoles()

Returns

IList<Capability>

A list of all Roles.