|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPage
com.ibm.team.fvt.tests.clm.pages.ClmWebPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectDashboardPage
public class QmWebProjectDashboardPage
Manage the QM Project Area Project Dashboard web page.
The page address is something like:
https://server:port/qm/web/console/<project area title>#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewUserHome
.
Following actions are accessible on this page:
addViewlet(String, Class)
: Add the viewlet with the given title to
the current project dashboard.getViewletElement(String, Class)
: Return the viewlet web element
matching the given title.getViewletElements()
: Return all the viewlet web elements
displayed in the current project dashboard page.gotoWorkItemPageUsingHover(String)
: Goto the given work item
page using the hover of the link displayed in the current tab.setAutoSave(boolean)
: Check on/off the Auto Save for the
current dashboard.Following functionalities are also defined or specialized by this page:
getExpectedTitle()
: The expected title for the page.isLoaded()
: Return whether the page is currently loaded or not.load()
: Load the current page into the browser.waitForTitle(boolean)
: Wait for the title to be displayed in the
current page.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage |
---|
QmWebProjectAreaPage.QmToolbarMenuLabel |
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_VIEWLETS_NUMBER
|
Fields inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
NO_DATA |
Fields inherited from interface com.ibm.team.fvt.tests.clm.pages.ClmWebPageConstants |
---|
ADMINISTRATION_HOME_MENU_GROUP, ETL_JOB_DATE_FORMAT, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, LOGIN_PASSWORD_LOCATOR, LOGIN_TAGNAME_LOCATOR, LOGIN_USERID_LOCATOR, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR |
Constructor Summary | |
---|---|
QmWebProjectDashboardPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... info)
|
Method Summary | ||
---|---|---|
|
addViewlet(java.lang.String title,
java.lang.Class<V> viewletClass)
|
|
|
addViewlet(java.lang.String title,
java.lang.String clmApplication,
java.lang.Class<V> viewletClass)
|
|
|
getViewletElement(java.lang.String title,
java.lang.Class<V> viewletClass)
|
|
java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> |
getViewletElements()
|
|
CcmWebWorkItemPage |
gotoWorkItemPageUsingHover(java.lang.String workItem)
Goto the given work item page using the hover of the link displayed in the current tab. |
|
void |
refreshContent()
|
|
void |
setAutoSave(boolean on)
|
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage |
---|
createNewTestPlan, getProjectAreaName, getProjectAreaTitle, gotoReportsPage, gotoTestCasePage, gotoTestCasePage, gotoTestCaseResultPage, gotoTestPlanPage, gotoTestPlans, openConstructionMenu, openExecutionMenu, openPlanningMenu, openReportsMenu |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebPage |
---|
openActiveProjectAreasPage, openAdminUIMenu |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage |
---|
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, getTitle, getUser, gotoCcmProjectPage, gotoCcmProjectPage, gotoDmProjectPage, gotoDmProjectPage, gotoJtsAdminHomePage, gotoLpaAllProjectsPage, gotoQmProjectPage, gotoQmProjectPage, gotoRmProjectPage, gotoRmProjectPage, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, save, waitForResourceLinkElement, waitWhileBusy |
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
checkHoverTitle, checkRichHover, equals, get, getBrowser, getCurrentPage, getLocation, getPage, getPage, getPageUsingBrowser, goBack, hashCode, login, login, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, refresh, richHoverOverLink, searchPageInHistory, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_VIEWLETS_NUMBER
Constructor Detail |
---|
public QmWebProjectDashboardPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... info)
Method Detail |
---|
public <V extends ClmViewlet> V addViewlet(java.lang.String title, java.lang.Class<V> viewletClass)
ClmProjectDashboardPageHelper.addViewlet(String, Class)
public <V extends ClmViewlet> V addViewlet(java.lang.String title, java.lang.String clmApplication, java.lang.Class<V> viewletClass)
ClmProjectDashboardPageHelper.addViewlet(String, String, Class)
public <V extends ClmViewlet> V getViewletElement(java.lang.String title, java.lang.Class<V> viewletClass)
ClmProjectDashboardPageHelper.getViewletElement(String, Class)
public java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> getViewletElements()
ClmProjectDashboardPageHelper.getViewletElements()
public CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String workItem)
Note that this test the hover as we jump to the page through it's title link
(see WebLinkHover.clickOnTitle()
).
workItem
- The work item name to find the link in the current page.
CcmWebWorkItemPage
.public void refreshContent()
ClmProjectDashboardPageHelper.refreshContent()
public void setAutoSave(boolean on)
ClmProjectDashboardPageHelper.setAutoSave(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |