| BaseComponent Class |
Namespace: Blackbaud.UAT.Base
The BaseComponent type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseComponent | Initializes a new instance of the BaseComponent class |
| Name | Description | |
|---|---|---|
| Driver |
Selenium WebDriver used to interact with the web browser.
| |
| TimeoutSecs |
The default WebDriver timeout value represented in seconds.
| |
| Title |
Return the default page title
|
| Name | Description | |
|---|---|---|
| ClickButton |
Clicks a basic button.
Uniqueness is dependent purely on the caption!
| |
| ConvertToBool |
Convert the string to a bool value.
| |
| CopyToClipBoard |
Start a new thread that copies a value to the System's Clipboard and waits for that
thread to return.
| |
| ElementValueIsNotNullOrEmpty |
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.
| |
| ElementValueIsSet |
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.
| |
| Equals | (Inherited from Object.) | |
| Exists |
Checks if a displayed element exists using the provided xPath selector.
| |
| ExistsNow |
Check if a displayed element exists immediately using the provided xPath selector.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetDatalistColumnIndex |
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.
| |
| GetDisplayedElement |
Get the displayed IWebElement using the provided xPath.
| |
| GetEnabledElement |
Get the first found IWebElement based on an xPath that is Displayed AND Enabled.
If no element is found, a WebDriverTimeoutException is thrown.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| getXButton |
Format an XPath to find a button. Adds no additional constraints other than
the caption of the button equalling the provided value.
| |
| getXMenuItem |
Given the caption name of a menu item, return a unique identifier xPath
to find a menu item.
| |
| MapColumnCaptionsToIndex |
Create a mapping of the column captions as keys to their DOM index values.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetCheckbox(String, Boolean) |
Click a checkbox if it is not the desired value.
| |
| SetCheckbox(String, String) |
Click a checkbox if it is not the desired value.
| |
| SetCredentailsField |
Specialist version of setTextField to deal with the lack of focus in a login splash screen.
| |
| SetTextField |
Set the value of a field by copy pasting the value into the field and sending a Tab keystroke.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| WaitClick(String) |
Find an element using a provided xPath and click it once it is displayed and enabled.
| |
| WaitClick(String, Double) |
Find an element using a provided xPath, wait for it to be displayed and enabled then Click.
| |
| WaitDoubleClick(String) |
Find an element using a provided xPath, wait for it to be displayed and enabled then DoubleClick. /// | |
| WaitDoubleClick(String, Double) |
Find an element using a provided xPath, wait for it to be displayed and enabled then DoubleClick.
| |
| WaitSendKeys(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.
| |
| WaitSendKeys(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.
|