| Modifier and Type | Field and Description |
|---|---|
protected org.openqa.selenium.WebElement |
dashlet |
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version| Modifier | Constructor and Description |
|---|---|
protected |
MySitesDashlet(WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HtmlPage |
deleteSite(String siteName)
Selects a site that appears on my site dashlet by the matching name and
clicks on the delete link.
|
String |
getDashletTitle()
Gets the title on the dashlet panel.
|
List<String> |
getSites()
The active sites displayed on my site dashlet.
|
MySitesDashlet |
render()
Dashlet renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
MySitesDashlet |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
MySitesDashlet |
render(RenderTime timer)
Dashlet renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
void |
selectFirstSite()
Selects the first site that appears on my site dashlet and click on the
link.
|
HtmlPage |
selectSite(String siteName)
Selects a site that appears on my site dashlet by the matching name and
clicks on the link.
|
basicRender, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitleprotected MySitesDashlet(WebDrone drone)
public MySitesDashlet render()
Dashletpublic MySitesDashlet render(long time) throws PageException
HtmlPagerender in interface HtmlPagetime - waiting timeHtmlPage page object responsePageExceptionpublic List<String> getSites()
public void selectFirstSite()
public HtmlPage selectSite(String siteName) throws PageException
Exception - if no site foundPageExceptionpublic HtmlPage deleteSite(String siteName) throws PageException
Exception - if no site foundPageExceptionpublic MySitesDashlet render(RenderTime timer)
Dashletrender in interface HtmlPagerender in interface Dashlettimer - RenderTimepublic String getDashletTitle()
Copyright © 2012. All Rights Reserved.