|
||||||||||
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
com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewSectionsPage
com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewTestPlanPage
public class QmWebViewTestPlanPage
Manage the QM Test Plan web page.
The page address is specialized by adding
&subAction=viewTestPlan&id=id
at the end of the QmWebProjectAreaPage
.
Following actions are accessible on this page:
addLinkToDevelopmentPlan(String)
: Add a link to an existing
development plan for the current collection.generateTestCasesFromCollection(String)
: Generate new test
cases from the requirements of the given collection.gotoCollectionPageUsingHover(String)
: Goto the given collection
page using the hover of the link displayed in the current page.gotoDevelopmentPlanPageUsingHover(String)
: Goto the given
development plan page using the hover of the link displayed in the current
page 'Links' section.gotoTestCasePageUsingResourceLink(String)
: Goto the QM web page corresponding
to the given test case.Following functionalities are also defined or specialized by this page:
initTableViewElement()
: Initialize the table view element where
the resource links are located.
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 | |
---|---|
QmWebViewTestPlanPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
com.ibm.team.fvt.tests.web.WebBrowserElement |
addLinkToDevelopmentPlan(java.lang.String plan)
Add a link to an existing development plan for the current collection. |
void |
generateTestCasesFromCollection(java.lang.String collection)
Generate new test cases from requirements of the given collection. |
RmWebShowCollectionPage |
gotoCollectionPageUsingHover(java.lang.String collection)
Goto the given collection page using the hover of the link displayed in the current page. |
CcmWebViewPlanPage |
gotoDevelopmentPlanPageUsingHover(java.lang.String plan)
Goto the given development plan page using the hover of the link displayed in the current page 'Links' section. |
QmWebViewTestCasePage |
gotoTestCasePageUsingResourceLink(java.lang.String testCase)
Goto the QM web page corresponding to the given test case. |
QmWebViewTestPlanPage |
gotoTestPlanUsingResourceLink(java.lang.String testPlan)
Goto the QM web page corresponding to the given test plan. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewSectionsPage |
---|
selectSection |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewPage |
---|
getResourceID, getResourceName, getTitle |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage |
---|
getProjectAreaName, getProjectAreaTitle, gotoReportsPage, gotoTestCasePage, gotoTestCaseResultPage, gotoTestPlanPage |
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, getUser, gotoCcmProjectPage, gotoCcmProjectPage, gotoDmProjectPage, gotoDmProjectPage, gotoJtsAdminHomePage, gotoLpaAllProjectsPage, gotoQmProjectPage, gotoQmProjectPage, gotoRmProjectPage, gotoRmProjectPage, logout, 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 QmWebViewTestPlanPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToDevelopmentPlan(java.lang.String plan)
Note that if the plan is already linked, nothing is done.
plan
- The development plan to add link to
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the added item is not found in the 'Links'
section after the operationpublic void generateTestCasesFromCollection(java.lang.String collection)
collection
- The collection namepublic RmWebShowCollectionPage gotoCollectionPageUsingHover(java.lang.String collection)
Note that this test the hover as we jump to the page through it's title link
(see WebLinkHover.clickOnTitle()
).
collection
- The collection name to find the link in the current page.
RmWebShowCollectionPage
.public CcmWebViewPlanPage gotoDevelopmentPlanPageUsingHover(java.lang.String plan)
Note that this test the hover as we jump to the page through it's title link
(see WebLinkHover.clickOnTitle()
).
plan
- The plan name to find the link in the current page.
RmWebShowCollectionPage
.public QmWebViewTestCasePage gotoTestCasePageUsingResourceLink(java.lang.String testCase)
testCase
- The test case namepublic QmWebViewTestPlanPage gotoTestPlanUsingResourceLink(java.lang.String testPlan)
testPlan
- The test plan name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |