|
||||||||||
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.dm.DmWebPage
com.ibm.team.fvt.tests.clm.pages.dm.DmAdminPage
com.ibm.team.fvt.tests.clm.pages.dm.DmAdminProjectAreaPage
public class DmAdminProjectAreaPage
Class to manage common actions to any DM application web page which is displaying project area information.
This class provides access to the following QM web pages through the Menu bar:
Following actions or functionalities are accessible in this page:
associateDomains(boolean,String...)
: Associate the given domain to
the current project area.getProjectAreaName()
: Return the project area name.ClmWebPage.getTitle()
: Return the current page title.selectSection(String)
: Select the given section.setAdministrator(ClmUser)
: Set the given user as administrator of
the project area.setAdministrator(ClmUser, boolean)
: Set the given user as
administrator of the project area.setDataManagement(boolean, boolean)
: Set how data will be
managed in the project area.Following functionalities are also defined or specialized by this page:
getExpectedTitle()
: The expected title for the page.getSaveButtonXpath()
: Return the xpath for the save button.isLoaded()
: Return whether the page is currently loaded or not.load()
: Load the current page into the browser.waitForSavingEnd()
: Wait for the end of the saving operation.waitForTitle(boolean)
: Wait for the title to be displayed in the
current CLM page.
Field Summary |
---|
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, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR |
Constructor Summary | |
---|---|
DmAdminProjectAreaPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
void |
associateDomains(boolean save,
java.lang.String... domains)
Associate the given domains to the current project area. |
java.lang.String |
getProjectAreaName()
|
void |
selectSection(java.lang.String section)
Select the given section. |
void |
setAdministrator(ClmUser user)
Set the given user as administrator of the project area. |
void |
setAdministrator(ClmUser user,
boolean save)
Set the given user as administrator of the project area. |
void |
setDataManagement(boolean dmManaged,
boolean save)
Set how data will be managed in the project area. |
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, logout, openAdminUIMenu, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, refresh, save, waitWhileBusy |
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
changeUser, checkHoverTitle, checkRichHover, get, getBrowser, getLocation, getPage, getPage, getPageUsingBrowser, goBack, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, richHoverOverLink, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DmAdminProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public void associateDomains(boolean save, java.lang.String... domains)
domains
- The domains to selectsave
- Flag telling whether the page will be saved after having done
the association or notpublic java.lang.String getProjectAreaName()
public void selectSection(java.lang.String section)
section
- The section to selectpublic void setAdministrator(ClmUser user)
Note that the project area admin page is saved at the end of the operation.
user
- The user to be set as administratorpublic void setAdministrator(ClmUser user, boolean save)
user
- The user to be set as administratorsave
- Flag telling whether the page will be saved after having set
the administrator or notpublic void setDataManagement(boolean dmManaged, boolean save)
There are currently only two ways to manage the data:
dmManaged
- Tells whether the data will be actively managed by DM or not.save
- Flag telling whether the page will be saved after having set
data management or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |