com.ibm.team.fvt.tests.clm.pages.menus
Class CcmPlanWorkItemActionsMenu

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.WebMenu
                  extended by com.ibm.team.fvt.tests.clm.pages.menus.ClmMenu
                      extended by com.ibm.team.fvt.tests.clm.pages.menus.CcmPlanWorkItemActionsMenu

public class CcmPlanWorkItemActionsMenu
extends ClmMenu

Actions menu for a work item displayed in the CCM View Plan page.

See Also:
CcmWebViewPlanPage

Constructor Summary
CcmPlanWorkItemActionsMenu(ClmWebPage page)
           
CcmPlanWorkItemActionsMenu(ClmWebPage page, org.openqa.selenium.By menuBy)
           
 
Method Summary
<P extends ClmWebPageDefaultDialog>
P
addLink(java.lang.Class<P> linkDialog, java.lang.String linkType)
          Add a link to the item
 void assignToOwner(ClmUser owner)
          Assign to owner the given user.
 void createChildWorkItem(java.lang.String type, java.lang.String summary)
          Create Child Work Item of type.
 void setPlanFor(java.lang.String iteration)
          Set 'Plan For' for the iteration.
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebMenu
clickItem, clickItem, clickItem, clickItem, clickItem, getItemElement, getItemElement, getMenuOptions, getStringMenuOptions, 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

CcmPlanWorkItemActionsMenu

public CcmPlanWorkItemActionsMenu(ClmWebPage page)

CcmPlanWorkItemActionsMenu

public CcmPlanWorkItemActionsMenu(ClmWebPage page,
                                  org.openqa.selenium.By menuBy)
Method Detail

addLink

public <P extends ClmWebPageDefaultDialog> P addLink(java.lang.Class<P> linkDialog,
                                                     java.lang.String linkType)
Add a link to the item

Parameters:
linkDialog - The dialog used to add the link
linkType - The type of link
Returns:
The add link dialog

assignToOwner

public void assignToOwner(ClmUser owner)
Assign to owner the given user.

Parameters:
owner - The owner to select in the sub-menu

createChildWorkItem

public void createChildWorkItem(java.lang.String type,
                                java.lang.String summary)
Create Child Work Item of type.

Requires the View As: to be set to 'Iterations' for the plan page

Parameters:
type - The type of work item to create (i.e. 'Task')
summary - The summary to use for the new work item

setPlanFor

public void setPlanFor(java.lang.String iteration)
Set 'Plan For' for the iteration.

Parameters:
iteration - The iteration (name)