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

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

public class QmWebViewTestScriptExecutionPage
extends QmWebViewPage

Manage the QM test script execution web page.

The page address is specialized by add &subAction=startExecution and several additional information:

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
QmWebViewTestScriptExecutionPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 java.lang.String createNewDefectAtStep(int step, java.lang.String description)
          Deprecated. Use createNewDefectAtStep(int, String, String) instead
 java.lang.String createNewDefectAtStep(int step, java.lang.String description, java.lang.String ccmProject)
          Create a new defect which will be associated with the given step.
 void setStepAsBlocked(int step, java.lang.String description)
          Execute the current step by setting it as 'Blocked'.
 void setStepAsPassed(int step, java.lang.String description)
          Execute the current step by setting it as 'Passed'.
 QmWebViewTestCaseResultPage showResult()
          Show the test case result.
 
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

QmWebViewTestScriptExecutionPage

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

createNewDefectAtStep

@Deprecated
public java.lang.String createNewDefectAtStep(int step,
                                                         java.lang.String description)
Deprecated. Use createNewDefectAtStep(int, String, String) instead

Create a new defect which will be associated with the given step.

Note that the given step is checked prior to execute the requested operation. That means the given step has to be the current one (row with current arrow) and it has to match the given description if one is given.

Parameters:
step - The step number to validate
description - The expected step description. If null, the description will not be checked.
Returns:
The created work item title

createNewDefectAtStep

public java.lang.String createNewDefectAtStep(int step,
                                              java.lang.String description,
                                              java.lang.String ccmProject)
Create a new defect which will be associated with the given step.

Note that the given step is checked prior to execute the requested operation. That means the given step has to be the current one (row with current arrow) and it has to match the given description if one is given.

Parameters:
step - The step number to validate
description - The expected step description. If null, the description will not be checked.
ccmProject - The name of the CCM project in which to open the defect
Returns:
The created work item title

setStepAsBlocked

public void setStepAsBlocked(int step,
                             java.lang.String description)
Execute the current step by setting it as 'Blocked'.

Note that the given step is checked prior to execute the requested operation. That means the given step has to be the current one (row with current arrow) and it has to match the given description if one is given.

Parameters:
step - The step number to validate
description - The expected step description. If null, the description will not be checked.

setStepAsPassed

public void setStepAsPassed(int step,
                            java.lang.String description)
Execute the current step by setting it as 'Passed'.

Note that the given step is checked prior to execute the requested operation. That means the given step has to be the current one (row with current arrow) and it has to match the given description if one is given.

Parameters:
step - The step number to validate
description - The expected step description. If null, the description will not be checked.

showResult

public QmWebViewTestCaseResultPage showResult()
Show the test case result.

Returns:
The test case result page as a QmWebViewTestCaseResultPage.