com.ibm.team.fvt.tests.clm.pages.viewlet
Class QmTestCasesImpactedByDefectsViewlet
java.lang.Object
com.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.clm.pages.ClmViewlet
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!
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.web.WebElementWrapper |
getText |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QmTestCasesImpactedByDefectsViewlet
public QmTestCasesImpactedByDefectsViewlet(com.ibm.team.fvt.tests.web.WebPage page,
com.ibm.team.fvt.tests.web.WebBrowserElement webElement)
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 tablecolumn
- 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 kindresource
- The resource name
TODO Add a force which would get rid off previous report if one is already done