com.ibm.team.fvt.tests.clm.pages.dialogs.rm
Class RmWorkItemLinkDialog
java.lang.Object
com.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebWindow
com.ibm.team.fvt.tests.web.WebDialog
com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDialog
com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDefaultDialog
com.ibm.team.fvt.tests.clm.pages.dialogs.rm.RmCreateLinkDialog
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
Method Summary |
void |
addNewWorkItem(java.lang.String projectAreaName,
java.lang.String item)
Deprecated. Use addWorkItem(String, String, boolean) instead. |
void |
addWorkItem(java.lang.String filedAgainst,
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.web.WebWindow |
cancel, close |
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 |
RmWorkItemLinkDialog
public RmWorkItemLinkDialog(ClmWebPage page)
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 filedAgainst,
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:
filedAgainst
- The project area name.item
- The name of the work item to search forcreate
- Flag to tell whether the item should be created if it's not
found in the 'Matching Work Items' list.