Click or drag to resize
Ranorex

Role Class

Roles are predefined capabilities.
Inheritance Hierarchy
SystemObject
  Ranorex.CoreDescriptor
    Ranorex.CoreCapability
      Ranorex.CoreRole

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
[SerializableAttribute]
public sealed class Role : Capability

The Role type exposes the following members.

Properties
  NameDescription
Public propertyActions
A list of actions, provided as a by-name dictionary.
(Inherited from Capability.)
Public propertyAttributes
A list of attributes, provided as a by-name dictionary.
(Inherited from Capability.)
Public propertyContentAttributeName
The name of the attribute for this capability which represents the content of an element. or null if the capability has no content attribute.
(Inherited from Capability.)
Public propertyDescription
The description of instance the descriptor refers to.
(Inherited from Descriptor.)
Public propertyDisplayName
The name of the instance the descriptor refers to, with arbitrary casing.
(Inherited from Descriptor.)
Public propertyIcon
An icon representing the capability. Should be 16x16 pixels.
(Inherited from Capability.)
Public propertyIsUsefulContainer
If true, the capability represents, from a user interface perspective, a useful/logical container.
(Inherited from Capability.)
Public propertyLabelAttributeName
The name of the attribute for this capability which acts as a label for an element. or null if the capability has no label attribute.
(Inherited from Capability.)
Public propertyName
The name of the instance the descriptor refers to. This is enforced to be lower-case.
(Inherited from Descriptor.)
Public propertyShortDisplayName
The shorthand display name of this capability.
(Inherited from Capability.)
Public propertyShortName
The shorthand name of this capability.
(Inherited from Capability.)
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current descriptor with another descriptor.
(Inherited from Descriptor.)
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Inherited from Capability.)
Public methodEquals(Capability)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Capability.)
Public methodEquals(Descriptor)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Descriptor.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetAllRoles
Returns a list of all available roles.
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from Capability.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
To string.
(Inherited from Capability.)
Top
Fields
  NameDescription
Public fieldStatic memberButton
Represents a push button.
Public fieldStatic memberCell
Represents a table cell.
Public fieldStatic memberCheckBox
Represents a check box that allows the user to select a true or false condition.
Public fieldStatic memberColumn
Represents a table column.
Public fieldStatic memberComboBox
Represents a combo box control.
Public fieldStatic memberContainer
Represents a logical container element, such as a panel or groupbox.
Public fieldStatic memberContextMenu
Represents a context popup menu.
Public fieldStatic memberDateTime
Represents a datetime picker or calendar control.
Public fieldStatic memberDesktop
Represents the operating system desktop.
Public fieldStatic memberForm
Represents an application main window or a dialog window.
Public fieldStatic memberGrip
Represents an element that can be moved or dragged, e.g. a size grip for resizing windows or controls.
Public fieldStatic memberHost
Represents the host machine running Ranorex.
Public fieldStatic memberIndicator
Represents the indicator part of a slider or scrollbar.
Public fieldStatic memberLink
Represents a hyperlink.
Public fieldStatic memberList
Represents a logical list such as a listbox.
Public fieldStatic memberListItem
Represents an item in a list.
Public fieldStatic memberMenuBar
Represents a menu bar.
Public fieldStatic memberMenuItem
Represents an entry in a menubar or context menu.
Public fieldStatic memberNumberPicker
Represents a progress bar.
Public fieldStatic memberPicture
Represents a picture, icon, image or diagram.
Public fieldStatic memberProgressBar
Represents a progress bar.
Public fieldStatic memberRadioButton
Represents a radio button which enables the user to select a single option from a group of choices.
Public fieldStatic memberRow
Represents a table row.
Public fieldStatic memberScrollBar
Represents a vertical or horizontal scroll bar control.
Public fieldStatic memberSeparator
Represents a separator used for menus and toolbars.
Public fieldStatic memberSlider
Represents a slider or trackbar control.
Public fieldStatic memberStatusBar
Represents a status bar usually located at the bottom of a form.
Public fieldStatic memberTable
Represents a table or grid, consisting of rows and columns.
Public fieldStatic memberTabPage
Represents a tab page in a tab page list.
Public fieldStatic memberTabPageList
Represents a tab page list.
Public fieldStatic memberText
Represents an edit box, a text area, or static text.
Public fieldStatic memberTitleBar
Represents the title bar of a form or dialog window.
Public fieldStatic memberToolBar
Represents a tool bar.
Public fieldStatic memberToolTip
Represents tooltip popup.
Public fieldStatic memberTree
Represents a tree control.
Public fieldStatic memberTreeItem
Represents an item in a tree.
Public fieldStatic memberUnknown
Represents a UI element which cannot be further categorized.
Top
See Also