com.ibm.team.fvt.tests.clm.pages.viewlet
Class QmTestCasesImpactedByDefectsViewlet

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.web.WebElementWrapper
          extended by com.ibm.team.fvt.tests.clm.pages.ClmViewlet
              extended by com.ibm.team.fvt.tests.clm.pages.viewlet.QmTestCasesImpactedByDefectsViewlet

public class QmTestCasesImpactedByDefectsViewlet
extends ClmViewlet

Manage QM Test Cases Impacted by Defects viewlet.

Following actions are accessible on this page:

Following operations are also defined or specialized for rich hovers:

WARNING: This viewlet will use a frame in 4.0.1!


Constructor Summary
QmTestCasesImpactedByDefectsViewlet(com.ibm.team.fvt.tests.web.WebPage page, com.ibm.team.fvt.tests.web.WebBrowserElement webElement)
           
 
Method Summary
 void checkReportResource(java.lang.String table, int column, java.lang.String resource)
          Check that given resource is well displayed in the given report column of the given table.
 void configure(java.lang.String kind, java.lang.String resource)
          Configure the viewlet to create the report for the given kind of resource.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmViewlet
checkDevelopmentPlanRichHover, checkTestCaseRichHover, checkTestCaseRichHover, checkWortkItemRichHover, checkWortkItemRichHover, getResourceLinkElement, getTitle, validate, waitForLoadingEnd
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QmTestCasesImpactedByDefectsViewlet

public QmTestCasesImpactedByDefectsViewlet(com.ibm.team.fvt.tests.web.WebPage page,
                                           com.ibm.team.fvt.tests.web.WebBrowserElement webElement)
Method Detail

checkReportResource

public void checkReportResource(java.lang.String table,
                                int column,
                                java.lang.String resource)
Check that given resource is well displayed in the given report column of the given table.

Parameters:
table - The report table
column - The column index (starting at 1)
resource - The resource name
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError - If the column is not valid or if the resource is not found in any row at the given column.

configure

public void configure(java.lang.String kind,
                      java.lang.String resource)
Configure the viewlet to create the report for the given kind of resource.

The report is configured by selecting the current QM project area and selecting the given resource of the given kind in the Test Cases Impacted by Defects parameters dialog.

Parameters:
kind - The resource kind
resource - The resource name TODO Add a force which would get rid off previous report if one is already done