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

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.QmWebViewTestCaseResultPage
All Implemented Interfaces:
ClmWebPageConstants

public class QmWebViewTestCaseResultPage
extends QmWebViewSectionsPage

Manage a QM test case result web page.

The page address is specialized by add &subAction=viewResult&id=id at the end of the QmWebViewPage.

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
QmWebViewTestCaseResultPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String item)
          Goto the given work item page using the hover of the link displayed in the current page.
 void setDefectState(java.lang.String workItemTitle, boolean blocking)
          Set the given work item state in the current result.
 
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

QmWebViewTestCaseResultPage

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

gotoWorkItemPageUsingHover

public CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String item)
Goto the given work item 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:
item - The work item name to find the link in the current page. If null, then the jump will occur on the first found item.
Returns:
The opened CCM work item page as CcmWebWorkItemPage.
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError - If the item is not found or if no item is found when no work item is specified.

setDefectState

public void setDefectState(java.lang.String workItemTitle,
                           boolean blocking)
Set the given work item state in the current result.

Nothing happens if the defect is already in the expected state.

Parameters:
workItemTitle - The work item title to set as blocking
blocking - Set the defect as blocking if true, unset otherwise.