public class AbstractPage extends Object
Modifier and Type | Field and Description |
---|---|
protected static long |
LONG_WAIT_SECONDS |
protected static long |
SHORT_WAIT_SECONDS |
protected AbstractOpenNMSSeleniumHelper |
testCase |
Constructor and Description |
---|
AbstractPage(AbstractOpenNMSSeleniumHelper testCase) |
Modifier and Type | Method and Description |
---|---|
protected org.openqa.selenium.WebElement |
clickElement(org.openqa.selenium.By by) |
protected org.openqa.selenium.WebElement |
enterText(org.openqa.selenium.By by,
String text) |
protected org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by) |
protected org.openqa.selenium.WebElement |
findElementByName(String name) |
protected org.openqa.selenium.WebElement |
findElementByXpath(String xpath) |
protected List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By by) |
protected void |
get(String path) |
protected org.openqa.selenium.WebDriver |
getDriver() |
protected org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
pageContainsText(String text) |
protected void |
waitUntil(org.openqa.selenium.support.ui.ExpectedCondition<Boolean> condition) |
protected static final long SHORT_WAIT_SECONDS
protected static final long LONG_WAIT_SECONDS
protected final AbstractOpenNMSSeleniumHelper testCase
public AbstractPage(AbstractOpenNMSSeleniumHelper testCase)
protected org.openqa.selenium.WebDriver getDriver()
protected void get(String path)
protected List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By by)
protected org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by)
protected org.openqa.selenium.WebElement findElementByName(String name)
protected org.openqa.selenium.WebElement findElementByXpath(String xpath)
protected org.openqa.selenium.WebElement clickElement(org.openqa.selenium.By by)
protected org.openqa.selenium.WebElement enterText(org.openqa.selenium.By by, String text)
protected void waitUntil(org.openqa.selenium.support.ui.ExpectedCondition<Boolean> condition)
Copyright © 2022. All rights reserved.