| Package | Description |
|---|---|
| se.claremont.taf.websupport.webdrivergluecode |
| Modifier and Type | Method and Description |
|---|---|
ActionResult |
WebInteractionMethods.acceptAlert()
Sending accept to popup
|
ActionResult |
WebInteractionMethods.chooseRadioButton(GuiElement radioButtonContainer,
String text)
Chooses a selection in a radio button set
|
ActionResult |
WebInteractionMethods.click(GuiElement guiElement)
Performing a click event on an element.
|
ActionResult |
WebInteractionMethods.click(GuiElement guiElement,
int timeoutInSeconds)
Performing a click event on an element.
|
ActionResult |
WebInteractionMethods.clickEvenIfDisabled(GuiElement guiElement,
int timeoutInSeconds)
Performing a click event on an element.
|
ActionResult |
WebInteractionMethods.clickOnElementWithTheVisibleText(String visibleText)
In some cases you might want to click on an element with a visible text without declaring the element itself.
|
ActionResult |
WebInteractionMethods.closeBrowser()
Closes the web browser.
|
ActionResult |
WebInteractionMethods.closeCurrentBrowserTab()
Closes the current browser tab.
|
ActionResult |
WebInteractionMethods.goBack()
Browser back button
|
ActionResult |
WebInteractionMethods.hover(GuiElement guiElement)
Holds mouse cursor over given element
|
ActionResult |
WebInteractionMethods.makeSureDriverIsClosed()
Makes sure the driver is closed
|
ActionResult |
WebInteractionMethods.manageCheckbox(GuiElement checkboxElement,
Boolean expectedToBeTicked)
Ticking or un-ticking checkboxes.
|
ActionResult |
WebInteractionMethods.mapCurrentPage(String outputFilePath)
Creates the DomElements that are easily identified on current path to draft code in output file.
|
ActionResult |
WebInteractionMethods.mapCurrentPageThorough(String outputFilePath)
Deprecated.
Still evolving. Still unstable.
|
ActionResult |
WebInteractionMethods.mapCurrentPageWithBy(String outputFilePath,
boolean quickAndSloppyMode)
Maps the element of the current page to a page element file.
|
ActionResult |
WebInteractionMethods.navigate(String url)
Navigates to specified url
|
ActionResult |
WebInteractionMethods.pickTableRow(GuiElement guiTableElement,
String[] textsToFindOnRow)
Clicks the row matching the given strings in a table
|
ActionResult |
WebInteractionMethods.reloadPage()
Reloads the page.
|
ActionResult |
WebInteractionMethods.reportBrokenLinksOnCurrentPage_IncludeAllLinksAlsoNonDisplayedLinks() |
ActionResult |
WebInteractionMethods.reportBrokenLinksOnCurrentPage() |
ActionResult |
WebInteractionMethods.reportBrokenLinksRecursive()
Checks current page for broken links and reports results to log as verifications.
|
ActionResult |
WebInteractionMethods.saveDesktopScreenshot()
Saving desktop of full desktop rather than just the web browser
|
ActionResult |
WebInteractionMethods.saveDomElementScreenshot(DomElement domElement,
String filePath)
Capture image of specific element to disk.
|
ActionResult |
WebInteractionMethods.saveHtmlContentOfCurrentPage()
Saves the current HTML of the page interacted with to the testCaseLog folder for debugging purposes and write a testCaseLog post about it
Used for provide debugging information when execution or verification problems (or errors) occur.
|
ActionResult |
WebInteractionMethods.saveScreenshot(org.openqa.selenium.WebElement relevantWebElementToMarkWithBorder)
Saves a screenshot of the web browser content to the testCaseLog folder and writes a testCaseLog post about it.
|
ActionResult |
WebInteractionMethods.selectInDropdown(GuiElement guiElement,
String selection)
Selecting an option in a dropdown element by visible text
|
ActionResult |
WebInteractionMethods.selectInMultipleChoiceDropdown(GuiElement dropdownElement,
ArrayList<String> selectedOptions)
Selecting multiple choices in a dropdown element (deselects what's in it to begin with.
|
ActionResult |
WebInteractionMethods.setBrowserWindowSize(int width,
int height)
Re-scaling the browser window to a new size.
|
ActionResult |
WebInteractionMethods.setStandardTimeout(int standardTimeoutInSeconds)
Changing the standard timeout value for waiting for objects in the GUI for most methods.
|
ActionResult |
WebInteractionMethods.submitText(GuiElement guiElement,
String text)
Writes text and triggers a submit of it to an element
|
ActionResult |
WebInteractionMethods.switchBrowserTab(String tabNameForTabToSwitchTo)
Changes what browser tab is currently activated.
|
ActionResult |
WebInteractionMethods.switchBrowserTabWithTabNameGivenAsRegexPattern(String tabNameAsRegexForTabToSwitchTo)
Changes what browser tab is currently activated.
|
ActionResult |
WebInteractionMethods.waitForElementToAppear(GuiElement guiElement)
Waits for the given element to appear.
|
ActionResult |
WebInteractionMethods.waitForElementToAppear(GuiElement guiElement,
int timeoutInSeconds)
Pauses execution until given element is displayed.
|
ActionResult |
WebInteractionMethods.waitForElementToDisappear(GuiElement guiElement)
Waiting for element to disappear.
|
ActionResult |
WebInteractionMethods.waitForElementToDisappear(GuiElement guiElement,
int timeoutInSeconds)
Pausing execution until the given element has disappeared.
|
ActionResult |
WebInteractionMethods.verifyCurrentPageSourceWithW3validator(boolean verbose)
Deprecated.
Use method under
WebInteractionMethods.verify() instead |
ActionResult |
WebInteractionMethods.verifyElementAttribute(GuiElement linkElement,
String attributeName,
String expectedAttributeValue)
Deprecated.
Use attribute() method under
WebInteractionMethods.verifiyElement(DomElement) instead. |
ActionResult |
WebInteractionMethods.verifyElementAttributeRegex(GuiElement linkElement,
String attributeName,
String expectedAttributevalueAsRegex)
Deprecated.
Use attribute() method under
WebInteractionMethods.verifiyElement(DomElement) instead. |
ActionResult |
WebInteractionMethods.write(GuiElement guiElement,
String textToWrite)
Writes text to the given element.
|
ActionResult |
WebInteractionMethods.writeAfterClear(GuiElement guiElement,
String textToWrite)
Writes text to the given element after the element value has been cleared.
|
ActionResult |
WebInteractionMethods.writeRunningProcessListDeviationsSinceTestCaseStart()
When a test case object is created a snapshot of running processes is created.
|
Copyright © 2019. All rights reserved.