|
||||||||||
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.clm.ClmAdminWebPage
com.ibm.team.fvt.tests.clm.pages.clm.ClmAdminProjectAreaPage
public class ClmAdminProjectAreaPage
Class to manage any admin project area page.
The page address is: https://server:port/appli/admin
.
Following features are available on this page:
addMember(ClmUser, String)
: Adds a user with the given role to
the current project.getProjectAreaName()
: Return the project area name.
getTitle()
: Return the title of the page.gotoActiveProjectAreasPage()
: Go to the Active Project Areas
page.selectSection(String)
: Select the given section.setAdministrator(ClmUser)
: Set the given user as administrator of
the project area and save.setAdministrator(ClmUser)
: Set the given user as administrator of
the project area.setProjectAreaName(String)
: Set the name of the current project
area.Here are some other specific functionalities that this page specializes:
getExpectedTitle()
: The expected title for the current project area
admin page.getSaveButtonXpath()
: Return the xpath for the save button.initPageInformation()
: Initialize page information.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 | |
---|---|
ClmAdminProjectAreaPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
void |
addMember(ClmUser member,
java.lang.String role)
Adds a user with the given role to the current project. |
java.lang.String |
getProjectAreaName()
Return the project area name. |
java.lang.String |
getTitle()
Return the title of the page. |
ClmAdminActiveProjectAreasPage |
gotoActiveProjectAreasPage()
Go to the Active Project Areas page. |
void |
selectSection(java.lang.String section)
Select the given section. |
void |
setAdministrator(ClmUser user)
Set the given user as administrator of the project area and save. |
void |
setAdministrator(ClmUser user,
boolean save)
Set the given user as administrator of the project area. |
void |
setProjectAreaName(java.lang.String name)
Set the name of the current project area. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.clm.ClmAdminWebPage |
---|
clickReports, gotoProjectAreasPage |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage |
---|
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, 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 ClmAdminProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public void addMember(ClmUser member, java.lang.String role)
member
- The user to be added as a memberrole
- The member rolepublic java.lang.String getProjectAreaName()
String
.public java.lang.String getTitle()
ClmWebPage
getTitle
in class ClmWebPage
String
.public ClmAdminActiveProjectAreasPage gotoActiveProjectAreasPage()
ClmAdminActiveProjectAreasPage
.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 setProjectAreaName(java.lang.String name)
name
- The new name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |