public class WebDriverBackedEmbeddedBrowserLinuxCrash extends FirefoxLinuxCrash
EmbeddedBrowser implemented by
WebDriverBackedEmbeddedBrowser when the used WebDriver is crashed. This 'UnitTest' runs
on Linux only and is not part of the default test-suite.| Constructor and Description |
|---|
WebDriverBackedEmbeddedBrowserLinuxCrash() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Calls super.setUp to prepare the 'broken' ff-driver and load it into a
WebDriverBackedEmbeddedBrowser.
|
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(java.lang.String). |
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)
. |
void |
testSaveScreenShot()
Test method for
EmbeddedBrowser.saveScreenShot(java.io.File). |
getCrashedDriverpublic WebDriverBackedEmbeddedBrowserLinuxCrash()
public void setUp()
throws InterruptedException
setUp in class FirefoxLinuxCrashInterruptedException - when the sleep of supper is interruptpublic void testClose()
EmbeddedBrowser.close().public void testCloseOtherWindows()
EmbeddedBrowser.closeOtherWindows().public void testExecuteJavaScript()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.executeJavaScript(java.lang.String).com.crawljax.core.CrawljaxException - when the script can not be executedpublic void testFireEvent()
throws Exception
EmbeddedBrowser.fireEventAndWait(com.crawljax.core.state.Eventable)
.com.crawljax.core.CrawljaxException - when the event can not be fired.Exceptionpublic void testGetCurrentUrl()
EmbeddedBrowser.getCurrentUrl().public void testGetDom()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.getStrippedDom().com.crawljax.core.CrawljaxException - when the dom can not be downloaded.public void testGetDomWithoutIframeContent()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.getStrippedDomWithoutIframeContent().com.crawljax.core.CrawljaxException - when the the dom can not be downloaded.public void testGoBack()
EmbeddedBrowser.goBack().public void testGoToUrl()
throws com.crawljax.core.CrawljaxException,
MalformedURLException
com.crawljax.browser.EmbeddedBrowser#goToUrl(java.lang.String).com.crawljax.core.CrawljaxExceptionMalformedURLExceptionpublic void testInput()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.input(com.crawljax.core.state.Identification, java.lang.String)
.com.crawljax.core.CrawljaxExceptionpublic void testIsVisible()
EmbeddedBrowser.isVisible(com.crawljax.core.state.Identification)
.public void testGetInputWithRandomValue()
EmbeddedBrowser.getInputWithRandomValue(com.crawljax.forms.FormInput)
.public void testGetFrameDom()
EmbeddedBrowser.getFrameDom(java.lang.String).public void testElementExists()
EmbeddedBrowser.elementExists(com.crawljax.core.state.Identification)
.public void testGetWebElement()
EmbeddedBrowser.getWebElement(com.crawljax.core.state.Identification)
.public void testSaveScreenShot()
throws com.crawljax.core.CrawljaxException
EmbeddedBrowser.saveScreenShot(java.io.File).com.crawljax.core.CrawljaxException - when screenshotting failedCopyright © 2007-2013. All Rights Reserved.