com.atlassian.confluence.selenium.client
Class PageView

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.PageView

public class PageView
extends Object

A helper for a Page or Blogpost view screen.


Constructor Summary
PageView(ConfluenceSeleniumClient client)
           
 
Method Summary
 PagePermissionsEditor clickPermissionsMenuItem()
          Clicks the "Permissions" menu item, opening the Permissions dialog.
 PagePermissionsEditor clickPermissionsMetadataIcon()
          Clicks the permissions "padlock" shown in the metadata area.
 PageDiff clickViewChange()
           
 void hideVersionComment()
           
 boolean isViewing(LinkableContent linkableContent)
          Returns true if the window is on the view screen for the passed Page.
 ManageWatchersDialog manageWatchers()
          Opens the Manage Watchers dialog on the current page and returns an object to interact with it.
 PageInfo openInfoPage()
          Clicks the "Permissions" menu item, opening the Permissions dialog.
 MovePageDialog openMovePageDialog(ConfluenceSeleniumClient client)
           
 void showVersionComment()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageView

public PageView(ConfluenceSeleniumClient client)
Method Detail

showVersionComment

public void showVersionComment()

hideVersionComment

public void hideVersionComment()

clickViewChange

public PageDiff clickViewChange()

clickPermissionsMetadataIcon

public PagePermissionsEditor clickPermissionsMetadataIcon()
Clicks the permissions "padlock" shown in the metadata area. This opens the Permissions dialog.


clickPermissionsMenuItem

public PagePermissionsEditor clickPermissionsMenuItem()
Clicks the "Permissions" menu item, opening the Permissions dialog.


openInfoPage

public PageInfo openInfoPage()
Clicks the "Permissions" menu item, opening the Permissions dialog.


openMovePageDialog

public MovePageDialog openMovePageDialog(ConfluenceSeleniumClient client)

isViewing

public boolean isViewing(LinkableContent linkableContent)
Returns true if the window is on the view screen for the passed Page.


manageWatchers

public ManageWatchersDialog manageWatchers()
Opens the Manage Watchers dialog on the current page and returns an object to interact with it.



Copyright © 2003-2011 Atlassian. All Rights Reserved.