com.ibm.team.fvt.tests.clm.pages.lpa
Class LpaWebAllProjectsPage

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPage
      extended by com.ibm.team.fvt.tests.clm.pages.ClmWebPage
          extended by com.ibm.team.fvt.tests.clm.pages.lpa.LpaWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.lpa.LpaWebAllProjectsPage
All Implemented Interfaces:
ClmWebPageConstants

public class LpaWebAllProjectsPage
extends LpaWebPage

Manage the All Lifecycle Projects web page.

The page address is: https://server:port/admin/web/projects.

Following actions are accessible in this page:

Following functionalities are also defined or specialized by this 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.
<P extends com.ibm.team.fvt.tests.web.WebPage>
P
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

LpaWebAllProjectsPage

public LpaWebAllProjectsPage(java.lang.String url,
                             ClmConfig config,
                             com.ibm.team.fvt.tests.config.User user)
Method Detail

checkProject

public void checkProject(java.lang.String projectName,
                         java.lang.String... projectAreaNames)
Check that a project is well defined in the projects list.

This check can be done for all or only the given application.

Parameters:
projectName - The name of the project to check
projectAreaNames - The names of project areas
Throws:
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.

createProject

public void createProject(java.lang.String projectName)
Create a lifecycle project with the given name.

Do nothing if the project is already created.

Parameters:
projectName - The project name to create

deleteProject

public void deleteProject(java.lang.String lifecycleProject)
Delete the given lifecycle project.

Parameters:
lifecycleProject - The project to delete

exists

public boolean exists(java.lang.String projectName)
Return whether the given project exist and is well defined.

Parameters:
projectName - The project name to check

gotoProjectAreaAdminPage

public <P extends com.ibm.team.fvt.tests.web.WebPage> P 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.

Parameters:
projectName - The project name
projectAreaName - The project area name
Returns:
The DM opened page as a DmAdminProjectAreaPage.