com.ibm.team.fvt.tests.clm.pages.qm
Class QmWebViewTestPlanPage

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.qm.QmWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage
                  extended by com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewPage
                      extended by com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewSectionsPage
                          extended by com.ibm.team.fvt.tests.clm.pages.qm.QmWebViewTestPlanPage
All Implemented Interfaces:
ClmWebPageConstants

public class QmWebViewTestPlanPage
extends QmWebViewSectionsPage

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:

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
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

QmWebViewTestPlanPage

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

addLinkToDevelopmentPlan

public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToDevelopmentPlan(java.lang.String plan)
Add a link to an existing development plan for the current collection.

Note that if the plan is already linked, nothing is done.

Parameters:
plan - The development plan to add link to
Returns:
The link element to the development plan as WebBrowserElement
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError - If the added item is not found in the 'Links' section after the operation

generateTestCasesFromCollection

public void generateTestCasesFromCollection(java.lang.String collection)
Generate new test cases from requirements of the given collection.

Parameters:
collection - The collection name

gotoCollectionPageUsingHover

public RmWebShowCollectionPage gotoCollectionPageUsingHover(java.lang.String collection)
Goto the given collection page using the hover of the link displayed in the current page.

Note that this test the hover as we jump to the page through it's title link (see WebLinkHover.clickOnTitle()).

Parameters:
collection - The collection name to find the link in the current page.
Returns:
The opened RM collection page as RmWebShowCollectionPage.

gotoDevelopmentPlanPageUsingHover

public 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.

Note that this test the hover as we jump to the page through it's title link (see WebLinkHover.clickOnTitle()).

Parameters:
plan - The plan name to find the link in the current page.
Returns:
The opened RM collection page as RmWebShowCollectionPage.

gotoTestCasePageUsingResourceLink

public QmWebViewTestCasePage gotoTestCasePageUsingResourceLink(java.lang.String testCase)
Goto the QM web page corresponding to the given test case.

Parameters:
testCase - The test case name

gotoTestPlanUsingResourceLink

public QmWebViewTestPlanPage gotoTestPlanUsingResourceLink(java.lang.String testPlan)
Goto the QM web page corresponding to the given test plan.

Parameters:
testPlan - The test plan name