Uses of Class
io.ddavison.selenium.AutomationTest

Uses of AutomationTest in io.ddavison.selenium
 

Methods in io.ddavison.selenium that return AutomationTest
 AutomationTest AutomationTest.check(org.openqa.selenium.By by)
          Check a checkbox, or radio button
 AutomationTest AutomationTest.check(String css)
          Check a checkbox, or radio button
 AutomationTest AutomationTest.click(org.openqa.selenium.By by)
          Click an element.
 AutomationTest AutomationTest.click(String css)
          Click an element.
 AutomationTest AutomationTest.closeWindow()
          Closes the current active window.
 AutomationTest AutomationTest.closeWindow(String regex)
          Close an open window.
 AutomationTest AutomationTest.goBack()
          Navigates the browser back one page.
 AutomationTest AutomationTest.hoverOver(org.openqa.selenium.By by)
          Hover over an element.
 AutomationTest AutomationTest.hoverOver(String css)
          Hover over an element.
 AutomationTest AutomationTest.log(Object object)
          Log something as information
 AutomationTest AutomationTest.logDebug(Object object)
          Log something as debug
 AutomationTest AutomationTest.logError(Object object)
          Log something as an error
 AutomationTest AutomationTest.logFatal(Object object)
          Log something as fatal
 AutomationTest AutomationTest.logInfo(Object object)
          Log something as information
 AutomationTest AutomationTest.logWarn(Object object)
          Log something as a warning
 AutomationTest AutomationTest.navigateTo(String url)
          Navigates to an absolute or relative Url.
 AutomationTest AutomationTest.selectOptionByText(org.openqa.selenium.By by, String text)
          Selects an option from a dropdown (<select> tag) based on the text displayed.
 AutomationTest AutomationTest.selectOptionByText(String css, String text)
          Selects an option from a dropdown (<select> tag) based on the text displayed.
 AutomationTest AutomationTest.selectOptionByValue(org.openqa.selenium.By by, String value)
          Selects an option from a dropdown (<select> tag) based on the value.
 AutomationTest AutomationTest.selectOptionByValue(String css, String value)
          Selects an option from a dropdown (<select> tag) based on the value.
 AutomationTest AutomationTest.setText(org.openqa.selenium.By by, String text)
          Clears the text from a text field, and sets it.
 AutomationTest AutomationTest.setText(String css, String text)
          Clears the text from a text field, and sets it.
 AutomationTest AutomationTest.store(String key, String value)
          Put a variable in the data warehouse.
 AutomationTest AutomationTest.switchToDefaultContent()
          Switch back to the default content (the first window / frame that you were on before switching)
 AutomationTest AutomationTest.switchToFrame(String idOrName)
          Switches to a frame or iframe.
 AutomationTest AutomationTest.switchToWindow(String regex)
          Switch's to a window that is already in existance.
 AutomationTest AutomationTest.uncheck(org.openqa.selenium.By by)
          Uncheck a checkbox, or radio button.
 AutomationTest AutomationTest.uncheck(String css)
          Uncheck a checkbox, or radio button
 AutomationTest AutomationTest.validateAttribute(org.openqa.selenium.By by, String attr, String regex)
          Validates an attribute of an element.

Example:
<input type="text" id="test" />

.validateAttribute(css("input#test"), "type", "text") // validates that the "type" attribute equals "test"
 AutomationTest AutomationTest.validateAttribute(String css, String attr, String regex)
          Validates an attribute of an element.

Example:
<input type="text" id="test" />

.validateAttribute("input#test", "type", "text") // validates that the "type" attribute equals "test"
 AutomationTest AutomationTest.validateChecked(org.openqa.selenium.By by)
          Validate that a checkbox or a radio button is checked.
 AutomationTest AutomationTest.validateChecked(String css)
          Validate that a checkbox or a radio button is checked.
 AutomationTest AutomationTest.validateFalse(boolean condition)
          Validates that a specific condition is false
 AutomationTest AutomationTest.validateNotPresent(org.openqa.selenium.By by)
          Validates that an element is not present.
 AutomationTest AutomationTest.validateNotPresent(String css)
          Validates that an element is not present.
 AutomationTest AutomationTest.validatePresent(org.openqa.selenium.By by)
          Validates that an element is present.
 AutomationTest AutomationTest.validatePresent(String css)
          Validates that an element is present.
 AutomationTest AutomationTest.validateText(org.openqa.selenium.By by, String text)
          Validate that the text of an element is correct.
 AutomationTest AutomationTest.validateText(String css, String text)
          Validate that the text of an element is correct.
 AutomationTest AutomationTest.validateTextNot(org.openqa.selenium.By by, String text)
          Validate that the text of an element is not matching text.
 AutomationTest AutomationTest.validateTextNot(String css, String text)
          Validate that the text of an element is not matching text.
 AutomationTest AutomationTest.validateTextNotPresent(String text)
          Validate that some text is nowhere on the page.
 AutomationTest AutomationTest.validateTextPresent(String text)
          Validate that text is present somewhere on the page.
 AutomationTest AutomationTest.validateTrue(boolean condition)
          Validates that a specific condition is true
 AutomationTest AutomationTest.validateUnchecked(org.openqa.selenium.By by)
          Validate that a checkbox or a radio button is unchecked.
 AutomationTest AutomationTest.validateUnchecked(String css)
          Validate that a checkbox or a radio button is unchecked.
 AutomationTest AutomationTest.validateUrl(String regex)
          Validate the Url
 AutomationTest AutomationTest.waitForWindow(String regex)
          Waits for a window to appear, then switches to it.
 



Copyright © 2014. All rights reserved.