|
||||||||||
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.createIteration(String, String, String, Date, Date, boolean)
: Create an
iteration under the specified timeline.createTimeline(String, String, Date, Date, boolean)
: Create a timeline.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, 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 | |
---|---|
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. |
void |
createIteration(java.lang.String parentName,
java.lang.String identifier,
java.lang.String displayName,
java.util.Date startDate,
java.util.Date endDate,
boolean isScheduledRelease)
Create an iteration with the specified name |
void |
createTimeline(java.lang.String identifier,
java.lang.String name,
java.util.Date startDate,
java.util.Date endDate,
boolean isProjectTimeline)
Create a timeline with the specified name |
java.lang.String |
getProjectAreaName()
Return the project area name. |
java.lang.String |
getTitle()
|
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, openAdminUIMenu, 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 |
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 void createIteration(java.lang.String parentName, java.lang.String identifier, java.lang.String displayName, java.util.Date startDate, java.util.Date endDate, boolean isScheduledRelease)
parentName
- name of time line which the iteration will be created belong toidentifier
- identifier of iterationdisplayName
- Name of iterationstartDate
- Start Date of iterationendDate
- End date of iterationisScheduledRelease
- Whether set it as project iterationpublic void createTimeline(java.lang.String identifier, java.lang.String name, java.util.Date startDate, java.util.Date endDate, boolean isProjectTimeline)
identifier
- identifier of timelinename
- Name of time linestartDate
- The Start Date of timelineendDate
- The end date of timelineisProjectTimeline
- Whether set it as project timelinepublic java.lang.String getProjectAreaName()
String
.public java.lang.String getTitle()
getTitle
in class ClmWebPage
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 |