com.ibm.team.fvt.tests.clm.pages.dialogs.ccm
Class CcmAddLinkDialog

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.web.WebWindow
              extended by com.ibm.team.fvt.tests.web.WebDialog
                  extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDialog
                      extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDefaultDialog
                          extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ccm.CcmAddLinkDialog

public class CcmAddLinkDialog
extends ClmWebPageDefaultDialog

Manage dialog to add a link to the work item from which CCM page it has been opened.

Following actions are accessible on this page:

See Also:
CcmWebWorkItemPage

Constructor Summary
CcmAddLinkDialog(ClmWebPage page)
           
 
Method Summary
 void addExistingRequirementLink(java.lang.String projectAreaTitle, java.lang.String requirement)
          Add a link to the given existing requirement for the work item from where the dialog has been launched.
 void addExistingTestCaseLink(java.lang.String testCase)
          Add a link to the given existing test case for the work item from where the dialog has been launched.
 void addNewTestCaseLink(java.lang.String name, java.lang.String description, java.lang.String weight, java.lang.String owner, java.lang.String testPhase)
          Add a link to a new test case to the work item
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebDialog
open
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow
cancel, close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CcmAddLinkDialog

public CcmAddLinkDialog(ClmWebPage page)
Method Detail

addExistingRequirementLink

public void addExistingRequirementLink(java.lang.String projectAreaTitle,
                                       java.lang.String requirement)
Add a link to the given existing requirement for the work item from where the dialog has been launched.

Parameters:
projectAreaTitle - The project
requirement - The requirement name to add link to

addExistingTestCaseLink

public void addExistingTestCaseLink(java.lang.String testCase)
Add a link to the given existing test case for the work item from where the dialog has been launched.

Parameters:
testCase - The test case name to add link to

addNewTestCaseLink

public void addNewTestCaseLink(java.lang.String name,
                               java.lang.String description,
                               java.lang.String weight,
                               java.lang.String owner,
                               java.lang.String testPhase)
Add a link to a new test case to the work item

Parameters:
name - The name of the test case (mandatory)
description - The description of the test case (null if not used)
weight - The weight of the test case (null if default to be used)
owner - The owner of the test case (mandatory)
testPhase - The test phase of the test case (null if default to be used)