com.ibm.team.fvt.tests.clm.pages.dialogs.rm
Class RmWorkItemLinkDialog

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.rm.RmCreateLinkDialog
                              extended by com.ibm.team.fvt.tests.clm.pages.dialogs.rm.RmWorkItemLinkDialog

public class RmWorkItemLinkDialog
extends RmCreateLinkDialog

Manage dialog to add a work item link to a RM collection page.

Following actions are accessible on this page:

See Also:
RmWebShowCollectionPage

Constructor Summary
RmWorkItemLinkDialog(ClmWebPage page)
           
 
Method Summary
 void addNewWorkItem(java.lang.String projectAreaName, java.lang.String item)
          Deprecated. Use addWorkItem(String, String, boolean) instead.
 void addWorkItem(java.lang.String projectAreaName, java.lang.String item, boolean create)
          Add existing work item from given project area to the requirement links.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.dialogs.rm.RmCreateLinkDialog
clickOnChooseExisting, clickOnCreateNew, linked, 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

RmWorkItemLinkDialog

public RmWorkItemLinkDialog(ClmWebPage page)
Method Detail

addNewWorkItem

@Deprecated
public void addNewWorkItem(java.lang.String projectAreaName,
                                      java.lang.String item)
Deprecated. Use addWorkItem(String, String, boolean) instead.

Create and add the work item from given project area to the requirement links.

Parameters:
projectAreaName - The project area name.
item - The work item summary to create and add

addWorkItem

public void addWorkItem(java.lang.String projectAreaName,
                        java.lang.String item,
                        boolean create)
Add existing work item from given project area to the requirement links.

Note that the behavior of this method depends whether the given item is found in the 'Matching Work Items' list or not *and* whether the creation is requested or not.

When the item exists, then it will be found in the list and returned whatever the creation is requested or not. In case the item does not exist, it will be created in the creation has been requested or a ScenarioFailedError will be raised.

Parameters:
projectAreaName - The project area name.
item - The name of the work item to search for
create - Flag to tell whether the item should be created if it's not found in the 'Matching Work Items' list.