public class DocumentBasePage extends AbstractPage
Modifier and Type | Class and Description |
---|---|
class |
DocumentBasePage.UserNotConnectedException
Exception occured a user is expected to be connected but it isn't.
|
Modifier and Type | Field and Description |
---|---|
org.openqa.selenium.WebElement |
contentTabLink |
org.openqa.selenium.WebElement |
currentDocumentDescription |
org.openqa.selenium.WebElement |
currentDocumentTitle |
org.openqa.selenium.WebElement |
editTabLink |
org.openqa.selenium.WebElement |
manageTabLink |
org.openqa.selenium.WebElement |
selectedTab |
org.openqa.selenium.WebElement |
summaryTabLink |
URLCHANGE_MAX_WAIT, userServicesForm
Constructor and Description |
---|
DocumentBasePage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
checkUserConnected(String username)
Check if the user is connected by looking for the text: You are logged as
Username
|
AdminCenterBasePage |
getAdminCenter() |
ContentTabSubPage |
getContentTab()
Click on the content tab and return the subpage of this page.
|
String |
getCurrentDocumentDescription() |
String |
getCurrentDocumentTitle() |
EditTabSubPage |
getEditTab() |
ManageTabSubPage |
getManageTab() |
NavigationSubPage |
getNavigationSubPage() |
SummaryTabSubPage |
getSummaryTab() |
WorkspaceContentTabSubPage |
getWorkspaceContentTab()
For workspace type, the content tab is a bit different.
|
asPage, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getFeedbackMessage, getHeaderLinks, waitUntilEnabled, waitUntilEnabled, waitUntilURLDifferentFrom
public org.openqa.selenium.WebElement contentTabLink
public org.openqa.selenium.WebElement summaryTabLink
public org.openqa.selenium.WebElement editTabLink
public org.openqa.selenium.WebElement manageTabLink
public org.openqa.selenium.WebElement selectedTab
public org.openqa.selenium.WebElement currentDocumentDescription
public org.openqa.selenium.WebElement currentDocumentTitle
public ContentTabSubPage getContentTab()
public EditTabSubPage getEditTab()
public SummaryTabSubPage getSummaryTab()
public ManageTabSubPage getManageTab()
public NavigationSubPage getNavigationSubPage()
public WorkspaceContentTabSubPage getWorkspaceContentTab()
public void checkUserConnected(String username) throws DocumentBasePage.UserNotConnectedException
username
- DocumentBasePage.UserNotConnectedException
public String getCurrentDocumentDescription()
public String getCurrentDocumentTitle()
public AdminCenterBasePage getAdminCenter()
Copyright © 2011 Nuxeo SA. All Rights Reserved.