com.ibm.team.fvt.tests.clm.pages.rm
Class RmWebProjectAreaPage

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.rm.RmWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.rm.RmWebProjectAreaPage
All Implemented Interfaces:
ClmWebPageConstants
Direct Known Subclasses:
RmWebListPage, RmWebProjectDashboardPage

public abstract class RmWebProjectAreaPage
extends RmWebPage

Abstract class to manage common actions to any RM application web page which is displaying project area information.

Following actions or functionalities 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
RmWebProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 java.lang.String getProjectAreaName()
           
 java.lang.String getProjectAreaTitle()
           
 RmWebArtifactsPage gotoArtifactsPage()
          Go to the Artifacts page using the 'Browse Artifacts' item of 'Artifacts' menu bar.
 RmWebShowCollectionPage gotoCollectionPage(java.lang.String collection)
          Go to the given collection page through the 'Collections' menu bar.
 RmWebCollectionsPage gotoCollectionsPage()
          Go to the Collections page using the 'Browse Collections' item of 'Collections' menu bar.
 RmWebShowModulePage gotoModulePage(java.lang.String module)
          Go to the given module page through the 'Modules' menu bar.
 RmWebModulesPage gotoModulesPage()
          Go to the Modules page using the 'Browse Modules' item of 'Modules' menu bar.
 RmWebShowRequirementPage gotoRequirementPage(java.lang.String requirement)
          Go to the given requirement page through the 'Artifacts' menu bar.
 java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> searchForArtifact(java.lang.String artifactName, java.lang.String projectScope, java.lang.String modifiedBy, java.lang.String artifactType)
          Search for an artifact from the Quick Search view.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebPage
getAdminUIPopupMenu, getAllProjectAreasPage, getHelpPopupMenu, getSidebarSectionItemsCount, getUserPopupMenu
 
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

RmWebProjectAreaPage

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

getProjectAreaName

public java.lang.String getProjectAreaName()

getProjectAreaTitle

public java.lang.String getProjectAreaTitle()

gotoArtifactsPage

public RmWebArtifactsPage gotoArtifactsPage()
Go to the Artifacts page using the 'Browse Artifacts' item of 'Artifacts' menu bar.

Returns:
The opened RmWebArtifactsPage page.

gotoCollectionPage

public RmWebShowCollectionPage gotoCollectionPage(java.lang.String collection)
Go to the given collection page through the 'Collections' menu bar.

If the collection has been already opened before in the browser session, then it will appear in the 'Recently Viewed' items list. In that case, that will be this item which will be used to jump to the collection page.

If it's the first time the collection page is opened in the browser session, then it will use the 'Browse Test Plans' item to jump to the plan.

Parameters:
collection - The collection to jump to.
Returns:
The opened RM collection page as a RmWebShowCollectionPage.

gotoCollectionsPage

public RmWebCollectionsPage gotoCollectionsPage()
Go to the Collections page using the 'Browse Collections' item of 'Collections' menu bar.

Returns:
The opened RmWebCollectionsPage page.

gotoModulePage

public RmWebShowModulePage gotoModulePage(java.lang.String module)
Go to the given module page through the 'Modules' menu bar.

If the module has been already opened before in the browser session, then it will appear in the 'Recently Viewed' items list. In that case, that will be this item which will be used to jump to the module page.

If it's the first time the module page is opened in the browser session, then it will use the 'Browse Module' item to jump to the module.

Parameters:
module - The module to jump to.
Returns:
The opened RM module page as a RmWebShowModulePage.

gotoModulesPage

public RmWebModulesPage gotoModulesPage()
Go to the Modules page using the 'Browse Modules' item of 'Modules' menu bar.

Returns:
The opened RmWebModulesPage page.

gotoRequirementPage

public RmWebShowRequirementPage gotoRequirementPage(java.lang.String requirement)
Go to the given requirement page through the 'Artifacts' menu bar.

If the collection has been already opened before in the browser session, then it will appear in the 'Recently Viewed' items list. In that case, that will be this item which will be used to jump to the requirement page.

If it's the first time the requirement page is opened in the browser session, then it will use the 'Artifacts' item to jump to the plan.

Parameters:
requirement - The requirement to jump to.
Returns:
The opened RM requirement page as a RmWebShowCollectionPage.

searchForArtifact

public java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> searchForArtifact(java.lang.String artifactName,
                                                                                      java.lang.String projectScope,
                                                                                      java.lang.String modifiedBy,
                                                                                      java.lang.String artifactType)

Search for an artifact from the Quick Search view.

It returns a list of WebBrowserElements, these elements are links to the found artifacts.

As a limitation, this method cannot filter by 'Modified On' yet.

One more limitation is that it only returns the artifacts list of the first page (if multiple pages are displayed)

Parameters:
artifactName - The name of the artifact to search for.
projectScope - The name of the project to reduce the search. If this value is 'null' then, it'll search in all the projects selecting "All Projects" in the picker.
modifiedBy - The name of the user who did the last modification to the artifact. This value can be 'null' meaning that we don't want to reduce the search by user.
artifactType - The artifact type of the artifact. This value can be 'null' meaning that we don't want to reduce the search by artifact type
Returns:
A list of 'link' elements of the found artifacts