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

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.RmRequirementsSelectionDialog
                              extended by com.ibm.team.fvt.tests.clm.pages.dialogs.rm.RmAddArtifactsDialog
Direct Known Subclasses:
RmInsertArtifactDialog

public class RmAddArtifactsDialog
extends RmRequirementsSelectionDialog

Class to manage dialog launched to add a requirement to a collection or module.

Following actions are accessible on this page:

Following operations are also specialized for dialogs:

See Also:
RmWebShowCollectionPage, RmWebShowModulePage

Constructor Summary
RmAddArtifactsDialog(ClmWebPage page)
           
 
Method Summary
 void addRequirements(java.lang.String[] requirements)
          Add the given requirements to the current artifact.
 void addRequirements(java.lang.String folderPath, java.lang.String[] requirements)
          Add the given requirements to the current artifact.
 void addRequirementUsingSearch(java.lang.String requirement)
          Adds the specified artifact to the current artifact.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.dialogs.rm.RmRequirementsSelectionDialog
selectRequirement, selectRequirement, selectRequirements, selectRequirementUsingSearch
 
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 com.ibm.team.fvt.tests.web.WebElementWrapper
getText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmAddArtifactsDialog

public RmAddArtifactsDialog(ClmWebPage page)
Method Detail

addRequirements

public void addRequirements(java.lang.String folderPath,
                            java.lang.String[] requirements)
Add the given requirements to the current artifact.

Note: this method will filter results to the given folderPath. If a null path is provided, the root folder will used.

Parameters:
folderPath - The folderPath to filter by
requirements - The requirement names list to add

addRequirements

public void addRequirements(java.lang.String[] requirements)
Add the given requirements to the current artifact.

Note: this method will select the root project folder to filter the artifacts

Parameters:
requirements - The requirement names list to add

addRequirementUsingSearch

public void addRequirementUsingSearch(java.lang.String requirement)
Adds the specified artifact to the current artifact.

Parameters:
requirement - The name of the requirement