|
||||||||||
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.ccm.CcmWebPage
com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebProjectAreaPage
public abstract class CcmWebProjectAreaPage
Abstract class to manage common actions to any CCM application web page which is displaying project area information.
The page address of this kind of page starts with:
https://server:port/ccm/web/projects/project area title
Following actions or functionalities are accessible in this page:
createNewWorkItem(String, String)
: Create new work item of the
given type with given name using the menu bar.gotoDevelopmentPlanPage(String)
: Go to the given development
plan page through the 'Plans' menu bar.gotoPlansPage(String)
: Go to the type Plans page
using the type item under the 'Browse Plans' section menu bar.getProjectAreaName()
: Return the project area name.getProjectAreaTitle()
: Return the project area title.gotoWorkItemPage(String)
: Go to the given work item page
through the 'Work Items' menu bar.searchForArtifact(String, String)
: Search for an artifact using Quick Search
Following functionalities are also defined or specialized by this page:
getPlansPopupMenu()
: Return the 'Plans' popup-menu.getProjectUri()
: Return the current selected lifecycle project URI.getWorkItemMenuItemElement(String)
: Return the menu item of
the given work item in the 'Work Items' menu bar.getWorkItemsPopupMenu()
: Open the Work ItemsMenu
and return the corresponding web element.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 | |
---|---|
CcmWebProjectAreaPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
CcmWebViewPlanPage |
createNewDevelopmentPlan(java.lang.String plan,
java.lang.String type,
java.lang.String owner,
java.lang.String iteration)
Create a new development plan and open the CCM web page on it. |
CcmWebWorkItemPage |
createNewWorkItem(java.lang.String summary,
java.lang.String type)
Create new work item of given type with given name using the menu bar. |
CcmWebWorkItemPage |
createNewWorkItem(java.lang.String summary,
java.lang.String type,
java.lang.String projectArea)
Create new work item of given type with given name using the menu bar. |
java.lang.String |
getProjectAreaName()
|
java.lang.String |
getProjectAreaTitle()
|
CcmWebViewPlanPage |
gotoDevelopmentPlanPage(java.lang.String plan)
Go to the given development plan page through the 'Plans' menu bar. |
CcmWebPlansPage |
gotoPlansPage(java.lang.String type)
Go to the given Plans page using specific browse item of 'Plans' menu bar. |
CcmWebQueriesPage |
gotoQueriesPage(boolean shared)
Go to the Shared Queries or My Queries page using specific browse item of 'Work Items' menu bar. |
CcmWebReportsPage |
gotoReportsPage(java.lang.String type)
Go to My Reports or Shared Reports or Report Resources using 'Reports' menu bar. |
CcmWebWorkItemPage |
gotoWorkItemPage(java.lang.String workItem)
Go to the given work item page through the 'Work Items' menu bar. |
void |
refreshContent()
Refresh the page by clicking on the 'Refresh' button. |
java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> |
searchForArtifact(java.lang.String scope,
java.lang.String searchText)
Search for an artifact using Quick Search. |
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 CcmWebProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public CcmWebViewPlanPage createNewDevelopmentPlan(java.lang.String plan, java.lang.String type, java.lang.String owner, java.lang.String iteration)
If the plan already exists, then just return the opened CCM web page on the existing plan.
plan
- The plan to createtype
- The plan typeowner
- The plan owneriteration
- The plan iteration
CcmWebViewPlanPage
.public CcmWebWorkItemPage createNewWorkItem(java.lang.String summary, java.lang.String type)
The created work item is filed against the current project area.
summary
- The summary of the work itemtype
- The type of the work item. Only following values are valid:
CcmWebWorkItemPage
.public CcmWebWorkItemPage createNewWorkItem(java.lang.String summary, java.lang.String type, java.lang.String projectArea)
summary
- The summary of the work itemtype
- The type of the work item. Only following values are valid:
projectArea
- The project area against the work item should be filed against
CcmWebWorkItemPage
.public java.lang.String getProjectAreaName()
public java.lang.String getProjectAreaTitle()
public CcmWebViewPlanPage gotoDevelopmentPlanPage(java.lang.String plan)
If the test plan has been already opened before in the browser session, then it will appear in the 'Recent Plans' items list. In that case, that will be this item which will be used to jump to the test plan page.
If it's the first time the development plan page is opened in the browser session, then it will use the 'Browse - All Plans' item to jump to the plan.
plan
- The test plan to jump to.
CcmWebViewPlanPage
.public CcmWebPlansPage gotoPlansPage(java.lang.String type)
type
- The type of plans page to open. Possible values are:
CcmWebPlansPage
page.public CcmWebQueriesPage gotoQueriesPage(boolean shared)
shared
- Tells whether to go to the 'Shared Queries' or not.
CcmWebPlansPage
page.public CcmWebReportsPage gotoReportsPage(java.lang.String type)
type
- The type of 'Reports' page to open
CcmWebReportsPage
page.public CcmWebWorkItemPage gotoWorkItemPage(java.lang.String workItem)
If the work item has been already opened before in the browser session, then it will appear in the 'Recent Work Items' items list. In that case, that will be this item which will be used to jump to the test plan page.
TODO If it's the first time the work item page is opened in the browser session, then it will use the '???' item to jump to it.
workItem
- The work item to jump to.
CcmWebWorkItemPage
.public void refreshContent()
public java.util.List<com.ibm.team.fvt.tests.web.WebBrowserElement> searchForArtifact(java.lang.String scope, java.lang.String searchText)
searchText
- The text to enter into the Quick Search text boxscope
- The scope of the search (uses the scope button to limit the search by the available categories i.e 'Current Plans').
If this value is null, then the default of 'Search All Work Items' is used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |