Click or drag to resize
BaseComponent Class
Base functionality class common to all controls.
Inheritance Hierarchy

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

The BaseComponent type exposes the following members.

Constructors
  NameDescription
Public methodBaseComponent
Initializes a new instance of the BaseComponent class
Top
Properties
  NameDescription
Public propertyStatic memberDriver
Selenium WebDriver used to interact with the web browser.
Public propertyStatic memberTimeoutSecs
The default WebDriver timeout value represented in seconds.
Public propertyTitle
Return the default page title
Top
Methods
  NameDescription
Public methodStatic memberClickButton
Clicks a basic button. Uniqueness is dependent purely on the caption!
Protected methodStatic memberConvertToBool
Convert the string to a bool value.
Protected methodStatic memberCopyToClipBoard
Start a new thread that copies a value to the System's Clipboard and waits for that thread to return.
Public methodStatic memberElementValueIsNotNullOrEmpty
Wait until a displayed element found with the provided xPath does not have a null or empty value If no matching element is found, a WebDriverTimeoutException is thrown.
Public methodStatic memberElementValueIsSet
Wait until a displayed element found with the provided xPath has the expected value as its text. If no matching element is found with the expected value, a WebDriverTimeoutException is thrown.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExists
Checks if a displayed element exists using the provided xPath selector.
Public methodStatic memberExistsNow
Check if a displayed element exists immediately using the provided xPath selector.
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 memberGetDatalistColumnIndex
Given the xPath for a datalist/grid's headers and the caption of a datalist column, find the index of the column as it relates to the DOM.
Public methodStatic memberGetDisplayedElement
Get the displayed IWebElement using the provided xPath.
Public methodStatic memberGetEnabledElement
Get the first found IWebElement based on an xPath that is Displayed AND Enabled. If no element is found, a WebDriverTimeoutException is thrown.
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.)
Protected methodStatic membergetXButton
Format an XPath to find a button. Adds no additional constraints other than the caption of the button equalling the provided value.
Protected methodStatic membergetXMenuItem
Given the caption name of a menu item, return a unique identifier xPath to find a menu item.
Public methodStatic memberMapColumnCaptionsToIndex
Create a mapping of the column captions as keys to their DOM index values.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSetCheckbox(String, Boolean)
Click a checkbox if it is not the desired value.
Public methodStatic memberSetCheckbox(String, String)
Click a checkbox if it is not the desired value.
Public methodStatic memberSetCredentailsField
Specialist version of setTextField to deal with the lack of focus in a login splash screen.
Public methodStatic memberSetTextField
Set the value of a field by copy pasting the value into the field and sending a Tab keystroke.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWaitClick(String)
Find an element using a provided xPath and click it once it is displayed and enabled.
Public methodStatic memberWaitClick(String, Double)
Find an element using a provided xPath, wait for it to be displayed and enabled then Click.
Public methodStatic memberWaitDoubleClick(String)
Find an element using a provided xPath, wait for it to be displayed and enabled then DoubleClick. ///
Public methodStatic memberWaitDoubleClick(String, Double)
Find an element using a provided xPath, wait for it to be displayed and enabled then DoubleClick.
Public methodStatic memberWaitSendKeys(String, String)
Find an element using a provided xPath, wait for it to be displayed and enabled then SendKeys directly to it. This is intended for sending directly to input elements e.g. to bypass a native file chooser.
Public methodStatic memberWaitSendKeys(String, String, Double)
Find an element using a provided xPath, wait for it to be displayed and enabled then SendKeys directly to it. This is intended for sending directly to input elements e.g. to bypass a native file chooser.
Top
See Also