|
||||||||||
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.rm.RmWebPage
com.ibm.team.fvt.tests.clm.pages.rm.RmWebProjectAreaPage
public abstract class RmWebProjectAreaPage
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:
getProjectAreaName()
: Return the project area name.getProjectAreaTitle()
: Return the project area title.gotoArtifactsPage()
: Go to the Artifacts page using the
'Browse Artifacts' item of 'Artifacts' menu bar.gotoCollectionPage(String)
: Go to the given collection page
through the 'Collections' menu bar.gotoCollectionsPage()
: Go to the Collections page using
the 'Browse Collections' item of 'Collections' menu bar.gotoRequirementPage(String)
: Go to the given requirement page
through the 'Artifacts' menu bar.
Following functionalities are also defined or specialized by this page:
getArtifactsPopupMenu()
: Return the 'Artifacts' popup-menu.getCollectionsPopupMenu()
: Return the 'Collections' popup-menu.initPageInformation()
: Initialize page information.
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 |
---|
public RmWebProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public java.lang.String getProjectAreaName()
public java.lang.String getProjectAreaTitle()
public RmWebArtifactsPage gotoArtifactsPage()
RmWebArtifactsPage
page.public RmWebShowCollectionPage gotoCollectionPage(java.lang.String collection)
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.
collection
- The collection to jump to.
RmWebShowCollectionPage
.public RmWebCollectionsPage gotoCollectionsPage()
RmWebCollectionsPage
page.public RmWebShowModulePage gotoModulePage(java.lang.String module)
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.
module
- The module to jump to.
RmWebShowModulePage
.public RmWebModulesPage gotoModulesPage()
RmWebModulesPage
page.public RmWebShowRequirementPage gotoRequirementPage(java.lang.String requirement)
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.
requirement
- The requirement to jump to.
RmWebShowCollectionPage
.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)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |