com.atlassian.confluence.selenium.client
Class PageGadget

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.Gadget
      extended by com.atlassian.confluence.selenium.client.PageGadget

public class PageGadget
extends Gadget


Field Summary
static java.lang.String GADGET_NAME
           
 
Constructor Summary
PageGadget(ConfluenceSeleniumClient client, com.atlassian.selenium.SeleniumAssertions assertThat)
           
 
Method Summary
 void clickAllSpacesLink()
           
 void clickCancel()
           
 void clickSave()
           
 long getGadgetWait()
           
 boolean isInConfluencePageIframe()
           
 void selectConfluencePageIframe()
           
 void selectPageGadgetInMacroBrowser(MacroBrowser mb)
           
 void selectParentIframe()
           
 void setEditable(boolean isEditable)
           
 void setShowLink(boolean showLink)
           
 void switchToConfig()
           
 void waitForConfigurationScreenToLoad()
           
 void waitForPageToBeSelected(AbstractContentEntity page)
           
 void waitForSpaceToBeSelected(Space space)
           
 
Methods inherited from class com.atlassian.confluence.selenium.client.Gadget
getIframeHeight, isGadgetIframeSelected, selectGadgetIframe, selectGadgetInMacroBrowser, selectTopWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GADGET_NAME

public static final java.lang.String GADGET_NAME
See Also:
Constant Field Values
Constructor Detail

PageGadget

public PageGadget(ConfluenceSeleniumClient client,
                  com.atlassian.selenium.SeleniumAssertions assertThat)
Method Detail

waitForConfigurationScreenToLoad

public void waitForConfigurationScreenToLoad()

getGadgetWait

public long getGadgetWait()

selectConfluencePageIframe

public void selectConfluencePageIframe()

selectParentIframe

public void selectParentIframe()

selectPageGadgetInMacroBrowser

public void selectPageGadgetInMacroBrowser(MacroBrowser mb)
                                    throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

waitForPageToBeSelected

public void waitForPageToBeSelected(AbstractContentEntity page)

clickAllSpacesLink

public void clickAllSpacesLink()

waitForSpaceToBeSelected

public void waitForSpaceToBeSelected(Space space)

setShowLink

public void setShowLink(boolean showLink)

setEditable

public void setEditable(boolean isEditable)

clickSave

public void clickSave()

clickCancel

public void clickCancel()

switchToConfig

public void switchToConfig()

isInConfluencePageIframe

public boolean isInConfluencePageIframe()


Copyright © 2003-2014 Atlassian. All Rights Reserved.