|
||||||||||
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.lpa.LpaWebPage
com.ibm.team.fvt.tests.clm.pages.lpa.LpaWebAllProjectsPage
public class LpaWebAllProjectsPage
Manage the All Lifecycle Projects web page.
The page address is: https://server:port/admin/web/projects
.
Following actions are accessible in this page:
checkProject(String, String...)
: Check that a project is well defined
in the projects list.createProject(String)
: Create a lifecycle project with the given
name.deleteProject(String)
: Delete the given lifecycle project.exists(String)
: Return whether the given project exists and
is well defined.Following functionalities are also defined or specialized by this page:
getExpectedTitle()
: The expected title for the page.getProjectElement(String)
: Return the web element for the given
project.getProjects()
: The projects list.waitForTitle(boolean)
: Wait for the title to be displayed in the
current 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 | |
---|---|
LpaWebAllProjectsPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user)
|
Method Summary | ||
---|---|---|
void |
checkProject(java.lang.String projectName,
java.lang.String... projectAreaNames)
Check that a project is well defined in the projects list. |
|
void |
createProject(java.lang.String projectName)
Create a lifecycle project with the given name. |
|
void |
deleteProject(java.lang.String lifecycleProject)
Delete the given lifecycle project. |
|
boolean |
exists(java.lang.String projectName)
Return whether the given project exist and is well defined. |
|
|
gotoProjectAreaAdminPage(java.lang.String projectName,
java.lang.String projectAreaName,
java.lang.Class<P> pageClass)
Go to the project area admin web page of the given project using the link displayed in the current page. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.lpa.LpaWebPage |
---|
clickMembers, clickProjects, clickSample |
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 LpaWebAllProjectsPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user)
Method Detail |
---|
public void checkProject(java.lang.String projectName, java.lang.String... projectAreaNames)
This check can be done for all or only the given application.
projectName
- The name of the project to checkprojectAreaNames
- The names of project areas
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the project and its areas does not exists and
does not match all or given applications.public void createProject(java.lang.String projectName)
Do nothing if the project is already created.
projectName
- The project name to createpublic void deleteProject(java.lang.String lifecycleProject)
lifecycleProject
- The project to deletepublic boolean exists(java.lang.String projectName)
projectName
- The project name to checkpublic <P extends com.ibm.team.fvt.tests.web.WebPage> P gotoProjectAreaAdminPage(java.lang.String projectName, java.lang.String projectAreaName, java.lang.Class<P> pageClass)
projectName
- The project nameprojectAreaName
- The project area name
DmAdminProjectAreaPage
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |