public class WebInterface extends net.sf.testium.executor.CustomInterface implements FieldPublisher, WebDriverInterface
| Constructor and Description |
|---|
WebInterface(String aName,
org.testtoolinterfaces.utils.RunTimeData aRtData,
SeleniumInterfaceConfiguration ifConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(String varName,
List<org.openqa.selenium.WebElement> elements)
Adds an element-list to the map
|
void |
addElement(String varName,
org.openqa.selenium.WebElement element)
Adds an element to the map
|
void |
closeWindow(org.testtoolinterfaces.testresult.TestStepResult aTestStepResult) |
protected void |
createDriver(SeleniumConfiguration.BROWSER_TYPE aType) |
org.testtoolinterfaces.testsuite.ParameterImpl |
createParameter(String aName,
String aType,
String aValue) |
void |
destroy() |
String |
getBaseUrl() |
static org.openqa.selenium.By |
getBy(String aType,
String aValue) |
org.openqa.selenium.WebDriver |
getDriver() |
org.openqa.selenium.WebDriver |
getDriver(SeleniumConfiguration.BROWSER_TYPE aType) |
org.openqa.selenium.WebElement |
getElement(String varName) |
void |
quitDriver(org.testtoolinterfaces.testresult.TestStepResult aTestStepResult) |
protected void |
setDriver(org.openqa.selenium.WebDriver aDriver) |
void |
setTestStepResult(org.testtoolinterfaces.testresult.TestStepResult aTestStepResult) |
String |
toString() |
public WebInterface(String aName, org.testtoolinterfaces.utils.RunTimeData aRtData, SeleniumInterfaceConfiguration ifConfig)
public String getBaseUrl()
getBaseUrl in interface WebDriverInterfacepublic org.openqa.selenium.WebDriver getDriver(SeleniumConfiguration.BROWSER_TYPE aType)
aType - public org.openqa.selenium.WebDriver getDriver()
getDriver in interface WebDriverInterfaceprotected void setDriver(org.openqa.selenium.WebDriver aDriver)
public void closeWindow(org.testtoolinterfaces.testresult.TestStepResult aTestStepResult)
public void quitDriver(org.testtoolinterfaces.testresult.TestStepResult aTestStepResult)
public void setTestStepResult(org.testtoolinterfaces.testresult.TestStepResult aTestStepResult)
aRemoteWebDriver - aTestStepResult - protected void createDriver(SeleniumConfiguration.BROWSER_TYPE aType)
public org.testtoolinterfaces.testsuite.ParameterImpl createParameter(String aName, String aType, String aValue) throws org.testtoolinterfaces.testsuite.TestSuiteException
createParameter in interface org.testtoolinterfaces.testsuite.TestInterfacecreateParameter in class net.sf.testium.executor.CustomInterfaceorg.testtoolinterfaces.testsuite.TestSuiteExceptionpublic void addElement(String varName, org.openqa.selenium.WebElement element)
FieldPublisheraddElement in interface FieldPublisherpublic void addElement(String varName, List<org.openqa.selenium.WebElement> elements)
FieldPublisheraddElement in interface FieldPublisherpublic org.openqa.selenium.WebElement getElement(String varName)
getElement in interface FieldPublisherpublic String toString()
toString in class net.sf.testium.executor.CustomInterfacepublic void destroy()
destroy in interface org.testtoolinterfaces.testsuite.TestInterfacedestroy in class net.sf.testium.executor.CustomInterfaceCopyright © 2013. All Rights Reserved.