|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.htmlunit.HtmlUnitDialog
com.atlassian.confluence.htmlunit.ConfluenceHtmlUnitDialog
public class ConfluenceHtmlUnitDialog
This class is a copy of HtmlUnitDialog with modifications
to the initWebClient() method to allow setting configuration from properties file.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.htmlunit.HtmlUnitDialog |
|---|
expectedJavascriptAlerts, expectedJavascriptConfirms, expectedJavascriptPrompts, form, jsEnabled, wc, win |
| Constructor Summary | |
|---|---|
ConfluenceHtmlUnitDialog()
|
|
| Method Summary | |
|---|---|
protected com.gargoylesoftware.htmlunit.html.ClickableElement |
getButton(java.lang.String buttonId)
Overridden to use the correct window in the case of pop-ups. |
com.gargoylesoftware.htmlunit.html.DomNode |
getWindowDomNode()
Expose internals for some tests. |
void |
gotoPage(java.net.URL initialURL)
|
protected void |
initWebClient()
Overridden to: set browser version not throw javascript exceptions set socket timeouts, and increase the number of client connections. |
void |
setTextField(java.lang.String fieldName,
java.lang.String text)
Overridden to allow setting of hidden fields. |
protected void |
setWorkingForm(com.gargoylesoftware.htmlunit.html.HtmlForm newForm)
Overridden for additional logging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfluenceHtmlUnitDialog()
| Method Detail |
|---|
public void gotoPage(java.net.URL initialURL)
throws net.sourceforge.jwebunit.exception.TestingEngineResponseException
gotoPage in interface net.sourceforge.jwebunit.api.IJWebUnitDialoggotoPage in class HtmlUnitDialognet.sourceforge.jwebunit.exception.TestingEngineResponseException
public void setTextField(java.lang.String fieldName,
java.lang.String text)
setTextField in interface net.sourceforge.jwebunit.api.IJWebUnitDialogsetTextField in class HtmlUnitDialogfieldName - name of the input element or textareaprotected void initWebClient()
initWebClient in class HtmlUnitDialogprotected void setWorkingForm(com.gargoylesoftware.htmlunit.html.HtmlForm newForm)
setWorkingForm in class HtmlUnitDialogprotected com.gargoylesoftware.htmlunit.html.ClickableElement getButton(java.lang.String buttonId)
getButton in class HtmlUnitDialogpublic com.gargoylesoftware.htmlunit.html.DomNode getWindowDomNode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||