|
||||||||||
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.qm.QmWebPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage
public abstract class QmWebProjectAreaPage
Abstract class to manage common actions to any QM application web page which is displaying project area information.
This class provides access to the following QM web pages through the Menu bar:
gotoReportsPage(String)
: Go to the Reports page using specific
browse item of 'Reports' menu bar.gotoTestCasePage(String)
: Go to the given test case page
through the 'Execution' menu bar.gotoTestCasePage(QmToolbarMenuLabel, String, String)
: Go to the given test case page
through the specified menu bar.gotoTestCaseResultPage(String)
: Go to the given test case result
page through the 'Execution' menu bar.gotoTestPlanPage(String)
: Go to the given test plan page through
the 'Planning' menu bar.Following features are available in this page:
getProjectAreaName()
: Return the project area name.getProjectAreaTitle()
: Return the project area title.Following internal framework API methods are also defined or specialized by this page:
openConstructionMenu()
: Open the 'Construction' menu.openExecutionMenu()
: Open the 'Execution' menu.openPlanningMenu()
: Open the 'Planning' menu.openReportsMenu()
: Open the 'Reports' menu.getProjectUri()
: Return the current selected lifecycle project URI.initPageInformation()
: Initialize page information.
Nested Class Summary | |
---|---|
static class |
QmWebProjectAreaPage.QmToolbarMenuLabel
QmWebProjectAreaPage Toolbar Menu enumeration |
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, ETL_JOB_DATE_FORMAT, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, LOGIN_PASSWORD_LOCATOR, LOGIN_TAGNAME_LOCATOR, LOGIN_USERID_LOCATOR, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR |
Constructor Summary | |
---|---|
QmWebProjectAreaPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
QmWebViewTestPlanPage |
createNewTestPlan(java.lang.String plan,
java.lang.String template,
boolean force)
Create a new test plan and open the QM web page on it. |
java.lang.String |
getProjectAreaName()
|
java.lang.String |
getProjectAreaTitle()
|
QmWebReportsPage |
gotoReportsPage(java.lang.String type)
Go to the Reports page using specific browse item of 'Reports' menu bar. |
QmWebViewTestCasePage |
gotoTestCasePage(QmWebProjectAreaPage.QmToolbarMenuLabel menu,
java.lang.String testCase,
java.lang.String filterText)
Go to the given test case page through the specified menu bar. |
QmWebViewTestCasePage |
gotoTestCasePage(java.lang.String testCase)
Deprecated. Use gotoTestCasePage(QmToolbarMenuLabel, String, String) instead. |
QmWebViewTestCaseResultPage |
gotoTestCaseResultPage(java.lang.String testCase)
Go to the given test case result page through the 'Execution' menu bar. |
QmWebViewTestPlanPage |
gotoTestPlanPage(java.lang.String plan)
Go to the given test plan page through the 'Planning' menu bar. |
QmWebViewTestPlansPage |
gotoTestPlans()
Go to the test plans page through the 'Planning' menu bar. |
QmToolbarMenu |
openConstructionMenu()
Open the 'Construction' menu. |
QmToolbarMenu |
openExecutionMenu()
Open the 'Execution' menu. |
QmToolbarMenu |
openPlanningMenu()
Open the 'Planning' menu. |
com.ibm.team.fvt.tests.web.WebMenu |
openReportsMenu()
Open the 'Reports' menu. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebPage |
---|
openActiveProjectAreasPage, openAdminUIMenu |
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, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, save, waitForResourceLinkElement, waitWhileBusy |
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage |
---|
checkHoverTitle, checkRichHover, equals, get, getBrowser, getCurrentPage, getLocation, getPage, getPage, getPageUsingBrowser, goBack, hashCode, login, login, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, refresh, richHoverOverLink, searchPageInHistory, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QmWebProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public QmWebViewTestPlanPage createNewTestPlan(java.lang.String plan, java.lang.String template, boolean force)
If the plan already exists and the creation is not forced, then just returns the opened QM web page on the existing plan.
plan
- The plan to createtemplate
- The template to select for the new planforce
- Tells to force the creation even if a plan with same already exists
CcmWebViewPlanPage
.public java.lang.String getProjectAreaName()
public java.lang.String getProjectAreaTitle()
public QmWebReportsPage gotoReportsPage(java.lang.String type)
type
- The type of 'Reports' page to open
QmWebReportsPage
page.public QmWebViewTestCasePage gotoTestCasePage(QmWebProjectAreaPage.QmToolbarMenuLabel menu, java.lang.String testCase, java.lang.String filterText)
If the test case 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 test case page.
If it's the first time the test case page is opened in the browser session, then
it will use the 'Test Cases' item to jump to the plan.
menu
- The menu type to select:QmWebProjectAreaPage.QmToolbarMenuLabel.Construction
QmWebProjectAreaPage.QmToolbarMenuLabel.Execution
testCase
- The test case to jump to. It may be its name or its titlefilterText
- If not null, filter text is used to find the test case (using 'testCase' for the filter).
QmWebViewTestPlanPage
.@Deprecated public QmWebViewTestCasePage gotoTestCasePage(java.lang.String testCase)
gotoTestCasePage(QmToolbarMenuLabel, String, String)
instead.
If the test case 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 test case page.
If it's the first time the test case page is opened in the browser session, then
it will use the 'Test Cases' item to jump to the plan.
testCase
- The test case to jump to. It may be its name or its title
(ie. includes its ID).
QmWebViewTestPlanPage
.public QmWebViewTestCaseResultPage gotoTestCaseResultPage(java.lang.String testCase)
If the test case result 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 test case page.
Note that if several results have been opened on the same test case, that will
be the more recent which will be opened.
If it's the first time the test case result page is opened in the browser session,
then it will use the 'Test Case Results' item to jump to the plan.
testCase
- The test case to jump to.
QmWebViewTestPlanPage
.public QmWebViewTestPlanPage gotoTestPlanPage(java.lang.String plan)
If the test plan 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 test plan page.
If it's the first time the test plan page is opened in the browser session, then it will use the 'Browse Test Plans' item to jump to the plan.
plan
- The test plan to jump to.
QmWebViewTestPlanPage
.public QmWebViewTestPlansPage gotoTestPlans()
QmWebViewTestPlansPage
.public QmToolbarMenu openConstructionMenu()
WebMenu
.public QmToolbarMenu openExecutionMenu()
WebMenu
.public QmToolbarMenu openPlanningMenu()
WebMenu
.public com.ibm.team.fvt.tests.web.WebMenu openReportsMenu()
WebMenu
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |