|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.selenium.client.Dialog
public class Dialog
Field Summary | |
---|---|
protected ConfluenceSeleniumClient |
client
|
protected java.lang.String |
id
|
Constructor Summary | |
---|---|
Dialog(java.lang.String id,
ConfluenceSeleniumClient client)
|
Method Summary | |
---|---|
protected void |
clickButton(java.lang.String className,
boolean waitForDialogToClose)
|
void |
clickCancel()
Clicks the 'Cancel' button. |
void |
clickClose()
Clicks the 'Close' button. |
protected void |
clickLink(java.lang.String className,
boolean waitForDialogToClose)
|
protected void |
clickPageMenu(java.lang.String menuItemText)
|
java.lang.String |
getId()
|
java.lang.String |
getTitle()
|
boolean |
hasButton(java.lang.String className)
|
boolean |
hasLink(java.lang.String className)
|
protected boolean |
hasPageMenu(java.lang.String menuItemText)
|
boolean |
isButtonDisabled(java.lang.String className)
|
boolean |
isVisible()
|
void |
pressEscape()
Presses the escape key in the dialog. |
void |
pressEscapeOnly()
Presses the escape key in the dialog, without doing the entire up / pressed / down event sequence. |
void |
waitForRemoval()
Waits for the dialog to be removed from the DOM. |
void |
waitUntilHidden()
|
void |
waitUntilVisible()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String id
protected ConfluenceSeleniumClient client
Constructor Detail |
---|
public Dialog(java.lang.String id, ConfluenceSeleniumClient client)
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getTitle()
public void waitUntilVisible()
public void waitUntilHidden()
public boolean isVisible()
protected void clickButton(java.lang.String className, boolean waitForDialogToClose)
protected void clickLink(java.lang.String className, boolean waitForDialogToClose)
public boolean hasButton(java.lang.String className)
public boolean hasLink(java.lang.String className)
public boolean isButtonDisabled(java.lang.String className)
protected void clickPageMenu(java.lang.String menuItemText)
protected boolean hasPageMenu(java.lang.String menuItemText)
public void clickCancel()
public void clickClose()
public void waitForRemoval()
public void pressEscape()
public void pressEscapeOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |