Click or drag to resize
Dialog Methods

The Dialog type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCancel
Click the 'Cancel' button
Public methodStatic memberClickButton(String)
Click a dialog button.
Public methodStatic memberClickButton(String, Double)
Click a dialog button.
Public methodStatic memberClickButton(String, String)
Click a button that has a new dialog appear. Continuely click the button until the new dialog appears.
Public methodCloseDialog
Close the Dialog
Public methodStatic memberDropdownValueExists
Check if a value exists as a selectable item in a dropdown list.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 memberGetDialogId
Wait for a dialog to appear that has a unique is in the provided list of ids and return the matching id.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic membergetXButton
Format a unique xPath identifier to find a button on a dialog.
Public methodStatic membergetXCloseX
Returns an xPath for the close Window [X] on the Dialog.
Public methodStatic membergetXDialogButton(String)
Returns an xPath for any button that is a decendant of a visible bbui-dialog and having "buttonText" text. Uniqueness depends on the text passed.
Public methodStatic membergetXDialogButton(String, String)
Format an xPath for finding a dialog's button.
Public methodStatic membergetXDialogByClass
Format an xPath to get a dialog based on an value contained in the class attribute of the root dialog DIV.
Public methodStatic membergetXDialogById
Format an xPath to get a dialog based on its unique id.
Public methodStatic membergetXDiv
Given the unique HTML element ids of a dialog and div, return a unique identifier xPath to find the DIV field.
Public methodStatic membergetXDropdownArrow
Formats an xPath for the arrow dropdown of a dropdown INPUT field.
Public methodStatic membergetXDropdownItem
Formats an xPath for a dropdown item.
Public methodStatic membergetXEntireDialogButton
Format an xPath for finding a dialog's button including the common bottom bar that contains buttons such as Save, Close, and Cancel.
Public methodStatic membergetXGridCell
Formats the unique xPath for getting a single grid TD element that belongs to a specified row and columun in a grid on a dialog.
Public methodStatic membergetXGridHeaders
Formats the unique xPath for getting the TR row header element that belongs to a grid on a dialog.
Public methodStatic membergetXGridRow
Formats the unique xPath for getting a single grid row.
Public methodStatic membergetXGridRowSelector
Format the unique xPath for selecting a single grid row.
Public methodStatic membergetXIFrame
Given the unique HTML element ids of a dialog and div, return a unique identifier xPath to find the IFRAME field.
Public methodStatic membergetXInput
Given the unique HTML element ids of a dialog and input, return a unique identifier xPath to find the INPUT field.
Public methodStatic membergetXInputNewFormTrigger
Format an xPath to find the new-form trigger button associated with an input field.
Public methodStatic membergetXInputSearchTrigger
Format an xPath to find the search trigger button associated with an input field.
Public methodStatic membergetXLinkByAction
Format an xPath to find a link on the dialog.
Public methodStatic membergetXLinkByCaption
Format an xPath to find a link on the dialog.
Public methodStatic membergetXSpan
Given the unique HTML element ids of a dialog and span, return a unique identifier xPath to find the SPAN field.
Protected methodStatic membergetXTab(String)
Format a unique xPath for a tab on a dialog.
Protected methodStatic membergetXTab(String, String)
Format a unique xPath for a tab on a dialog.
Public methodStatic membergetXTextArea
Given the unique HTML element ids of a dialog and textarea, return a unique identifier xPath to find the TEXTAREA field.
Public methodStatic membergetXVisibleDialog
Format an xPath to get a visible dialog.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberOK
Click the 'OK' button
Public methodStatic memberOpenTab(String)
Open the tab of a dialog.
Public methodStatic memberOpenTab(String, String)
Open the tab of a dialog.
Public methodStatic memberSave
Click the 'Save' button
Public methodStatic memberSetDropDown
Set a Dropdown field. WebDriverTimeoutException is thrown if no value is found.
Public methodStatic memberSetField
Set any supported field's value for any supported field type.
Public methodStatic memberSetFields(String, TableRow, IDictionaryString, CrmField)
Set all supported and displayed field values for any supported field type.
Public methodStatic memberSetFields(String, TableRow, IDictionaryString, CrmField, IDictionaryString, CrmField)
Set all supported and displayed field values for any supported field type.
Public methodStatic memberSetGridDropDown
Set a Grid cell's value for a dropdown field.
Public methodStatic memberSetGridRow(String, String, TableRow, Int32, IDictionaryString, Int32, IDictionaryString, CrmField)
Set a single row's values for a grid.
Public methodStatic memberSetGridRow(String, String, TableRow, Int32, IDictionaryString, Int32, IDictionaryString, CrmField, IDictionaryString, CrmField)
Set a single row's values for a grid.
Public methodStatic memberSetGridRows(String, String, Table, Int32, IDictionaryString, Int32, IDictionaryString, CrmField)
Set the row values for a grid.
Public methodStatic memberSetGridRows(String, String, Table, Int32, IDictionaryString, Int32, IDictionaryString, CrmField, IDictionaryString, CrmField)
Set the row values for a grid.
Public methodStatic memberSetGridSearchList
Set a grid cell's value using the searchlist.
Public methodStatic memberSetGridTextField
Set a Grid cell's value for a text field.
Public methodStatic memberSetHtmlField
Set an IFrame HTML field's value.
Public methodStatic memberSetSearchList
Set a field's value using the associated search dialog to the first found item in the search results.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberYes
Click the 'Yes' button
Top
See Also