public class WebDriverBackedEmbeddedBrowserNoCrashTest extends Object
EmbeddedBrowser implemented by
WebDriverBackedEmbeddedBrowser on invalid input while the used browser is still active.| Modifier and Type | Field and Description |
|---|---|
static RunWithWebServer |
SERVER |
| Constructor and Description |
|---|
WebDriverBackedEmbeddedBrowserNoCrashTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Make a new Browser for every test.
|
void |
tearDown()
Clean-up our stuff.
|
void |
testClose()
Test method for
EmbeddedBrowser.close(). |
void |
testCloseOtherWindows()
Test method for
EmbeddedBrowser.closeOtherWindows(). |
void |
testElementExists()
Test method for
EmbeddedBrowser.elementExists(com.crawljax.core.state.Identification)
. |
void |
testExecuteJavaScript()
Test method for
EmbeddedBrowser.executeJavaScript(java.lang.String). |
void |
testFireEvent()
Test method for
EmbeddedBrowser.fireEventAndWait(com.crawljax.core.state.Eventable)
. |
void |
testGetCurrentUrl()
Test method for
EmbeddedBrowser.getCurrentUrl(). |
void |
testGetDom()
Test method for
EmbeddedBrowser.getStrippedDom(). |
void |
testGetDomWithoutIframeContent()
Test method for
EmbeddedBrowser.getStrippedDomWithoutIframeContent(). |
void |
testGetFrameDom()
Test method for
EmbeddedBrowser.getFrameDom(java.lang.String). |
void |
testGetInputWithRandomValue()
Test method for
EmbeddedBrowser.getInputWithRandomValue(com.crawljax.forms.FormInput)
. |
void |
testGetWebElement()
Test method for
EmbeddedBrowser.getWebElement(com.crawljax.core.state.Identification)
. |
void |
testGoBack()
Test method for
EmbeddedBrowser.goBack(). |
void |
testGoToUrl()
Test method for
com.crawljax.browser.EmbeddedBrowser#goToUrl(URL)). |
void |
testInput()
Test method for
EmbeddedBrowser.input(com.crawljax.core.state.Identification, java.lang.String)
. |
void |
testIsVisible()
Test method for
EmbeddedBrowser.isVisible(com.crawljax.core.state.Identification)
. |
public static final RunWithWebServer SERVER
public WebDriverBackedEmbeddedBrowserNoCrashTest()
public void setUp()
public void tearDown()
public final void testClose()
EmbeddedBrowser.close().public final void testCloseOtherWindows()
EmbeddedBrowser.closeOtherWindows().public final void testExecuteJavaScript()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.executeJavaScript(java.lang.String).com.crawljax.core.CrawljaxException - when the script can not be executedpublic final void testFireEvent()
throws Exception
EmbeddedBrowser.fireEventAndWait(com.crawljax.core.state.Eventable)
.com.crawljax.core.CrawljaxException - when the event can not be fired.Exceptionpublic final void testGetCurrentUrl()
EmbeddedBrowser.getCurrentUrl().public final void testGetDom()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.getStrippedDom().com.crawljax.core.CrawljaxException - when the dom can not be downloaded.public final void testGetDomWithoutIframeContent()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.getStrippedDomWithoutIframeContent().com.crawljax.core.CrawljaxException - when the the dom can not be downloaded.public final void testGoBack()
EmbeddedBrowser.goBack().public final void testGoToUrl()
throws com.crawljax.core.CrawljaxException,
MalformedURLException
com.crawljax.browser.EmbeddedBrowser#goToUrl(URL)).com.crawljax.core.CrawljaxExceptionMalformedURLExceptionpublic final void testInput()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.input(com.crawljax.core.state.Identification, java.lang.String)
.com.crawljax.core.CrawljaxException - when the input can not be foundpublic final void testIsVisible()
EmbeddedBrowser.isVisible(com.crawljax.core.state.Identification)
.public final void testGetInputWithRandomValue()
EmbeddedBrowser.getInputWithRandomValue(com.crawljax.forms.FormInput)
.public final void testGetFrameDom()
EmbeddedBrowser.getFrameDom(java.lang.String).public final void testElementExists()
EmbeddedBrowser.elementExists(com.crawljax.core.state.Identification)
.public final void testGetWebElement()
EmbeddedBrowser.getWebElement(com.crawljax.core.state.Identification)
.Copyright © 2007-2013. All Rights Reserved.