Click or drag to resize
Dialog Class
Base class to handle the interactions for dialogs.
Inheritance Hierarchy
SystemObject
  Blackbaud.UAT.BaseBaseComponent
    Blackbaud.UAT.Core.Crm.DialogsDialog
      More...

Namespace: Blackbaud.UAT.Core.Crm.Dialogs
Assembly: Blackbaud.UAT.Core (in Blackbaud.UAT.Core.dll) Version: 1.0.1304.1 (1.0.1304.1)
Syntax
public class Dialog : BaseComponent

The Dialog type exposes the following members.

Constructors
  NameDescription
Public methodDialog
Initializes a new instance of the Dialog class
Top
Properties
  NameDescription
Public propertyTitle
Return the default page title
(Inherited from BaseComponent.)
Top
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
Fields
  NameDescription
Public fieldStatic membergetXCancelButton
Constant xPath value for finding a Cancel button WebElement.
Public fieldStatic membergetXDropdownList
Constant xPath for the entire visible dropdown list.
Public fieldStatic membergetXDropdownListItems
Constant xPath for all items in the visible dropdown list.
Public fieldStatic membergetXGridEditCell
The unique xPath for the input of the currently selected cell in a Grid. When a grid cell is selected, an HTML edit input is created where the actual value should be set.
Public fieldStatic membergetXGridEditCellDropdownArrow
Constant xPath for the dropdown arrow of a grid's edit cell.
Public fieldStatic membergetXGridEditCellSearchlist
Constant xPath for the searchlist icon of a grid's edit cell.
Public fieldStatic membergetXGridFocusedEditCell
The unique xPath for the input of the currently selected cell in a Grid adding the 'focused' criteria NOTE: this is risky to use because the focus attribute is unreliably set and can cause MANY race conditions. The 'focused' criteria is also not always set on the edit cell depending on the approach you went to select a grid cell. When a grid cell is selected, an HTML edit input is created where the actual value should be set.
Public fieldStatic membergetXIFrameHtmlBodyP
Constant xPath for the 'mceContentBody' of an HTML element. This is generally in an IFrame field.
Public fieldStatic membergetXOKButton
Constant xPath value for finding an OK button WebElement.
Public fieldStatic membergetXSaveAndCloseButton
Constant xPath value for finding a 'Save and close' button WebElement.
Public fieldStatic membergetXSaveButton
Constant xPath value for finding a Save button WebElement.
Public fieldStatic membergetXTabStrip
Constant xPath for the tab strip of a dialog.
Public fieldStatic membergetXYesButton
Constant xPath value for finding a 'Yes' button WebElement.
Top
See Also
Inheritance Hierarchy
SystemObject
  Blackbaud.UAT.BaseBaseComponent
    Blackbaud.UAT.Core.Crm.DialogsDialog
      Blackbaud.UAT.Core.Crm.DialogsAddMembershipProgramDialog
      Blackbaud.UAT.Core.Crm.DialogsAdHocQueryDialog
      Blackbaud.UAT.Core.Crm.DialogsBatchDialog
      Blackbaud.UAT.Core.Crm.DialogsCommitmentsDialog
      Blackbaud.UAT.Core.Crm.DialogsDesignationsDialog
      Blackbaud.UAT.Core.Crm.DialogsEventDialog
      Blackbaud.UAT.Core.Crm.DialogsIndividualDialog
      Blackbaud.UAT.Core.Crm.DialogsMajorGivingPlanDialog
      Blackbaud.UAT.Core.Crm.DialogsMarketingAcknowledgementRuleDialog
      Blackbaud.UAT.Core.Crm.DialogsMarketingAcknowledgementTemplateDialog
      Blackbaud.UAT.Core.Crm.DialogsMultiLevelEventDialog
      Blackbaud.UAT.Core.Crm.DialogsNewAdhocQueryDialog
      Blackbaud.UAT.Core.Crm.DialogsPackageDialog
      Blackbaud.UAT.Core.Crm.DialogsPaymentDialog
      Blackbaud.UAT.Core.Crm.DialogsPledgeDialog
      Blackbaud.UAT.Core.Crm.DialogsQuerySourceViewDialog
      Blackbaud.UAT.Core.Crm.DialogsRegistrantDialog
      Blackbaud.UAT.Core.Crm.DialogsSearchDialog
      Blackbaud.UAT.Core.Crm.DialogsSegmentDialog
      Blackbaud.UAT.Core.Crm.DialogsTaskDialog