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

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.DmConfigurationContextMenu

public class DmConfigurationContextMenu
extends ClmMenu

This class represents the popup menu corresponding to Configuration Context picker popup


Constructor Summary
DmConfigurationContextMenu(ClmWebPage page)
          Constructor
 
Method Summary
 void checkLinkInHover(java.lang.String hoverTarget, java.lang.String item)
          In the configuration context menu, hover over a particular element, and validate presence of a particualar link under "Associated Change Requests"
 com.ibm.team.fvt.tests.web.WebBrowserElement getCreateChangesetOption()
          Retrieve WebBrowserElement corresponding to menu option "Create Change Set"
 com.ibm.team.fvt.tests.web.WebBrowserElement getLinkToChangeRequest()
          Retrieve WebBrowserElement corresponding to menu option "Link To Change Request..."
 com.ibm.team.fvt.tests.web.WebBrowserElement getSearchForMoreConfigurationsOption()
          Retrieve WebBrowserElement corresponding to menu option "Search for more..."
 DmAddLinkDialog openAddLinkDialog()
          Select option "Link to Change Request..." to open DmAddLinkDialog
 DmCreateChangesetDialog openCreateChangesetDialog()
          Select option "Create Change Set" to open DmCreateChangesetDialog
 DmSelectConfigurationDialog openSelectConfigurationDialog()
          Select option "Search for more..." to open DmSelectConfigurationDialog
 boolean selectRecent(java.lang.String recentConfiguration)
          Select specified recent configuration
 
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

DmConfigurationContextMenu

public DmConfigurationContextMenu(ClmWebPage page)
Constructor

Parameters:
page - The caller Page instance
Method Detail

getCreateChangesetOption

public com.ibm.team.fvt.tests.web.WebBrowserElement getCreateChangesetOption()
Retrieve WebBrowserElement corresponding to menu option "Create Change Set"

Returns:
WebBrowserElement corresponding to menu option "Create Change Set"

getLinkToChangeRequest

public com.ibm.team.fvt.tests.web.WebBrowserElement getLinkToChangeRequest()
Retrieve WebBrowserElement corresponding to menu option "Link To Change Request..."

Returns:
WebBrowserElement corresponding Link To Change Request...

getSearchForMoreConfigurationsOption

public com.ibm.team.fvt.tests.web.WebBrowserElement getSearchForMoreConfigurationsOption()
Retrieve WebBrowserElement corresponding to menu option "Search for more..."

Returns:
WebBrowserElement corresponding to menu option "Search for more..."

selectRecent

public boolean selectRecent(java.lang.String recentConfiguration)
Select specified recent configuration

Parameters:
recentConfiguration - Recent configuration of interest
Returns:
true if recent configuration element was found, false otherwise

checkLinkInHover

public void checkLinkInHover(java.lang.String hoverTarget,
                             java.lang.String item)
In the configuration context menu, hover over a particular element, and validate presence of a particualar link under "Associated Change Requests"

Parameters:
hoverTarget - Element over which hover needs to be done
item - The link that is to be validate to be present inside hover

openCreateChangesetDialog

public DmCreateChangesetDialog openCreateChangesetDialog()
Select option "Create Change Set" to open DmCreateChangesetDialog

Returns:
an instance of DmCreateChangesetDialog

openSelectConfigurationDialog

public DmSelectConfigurationDialog openSelectConfigurationDialog()
Select option "Search for more..." to open DmSelectConfigurationDialog

Returns:
an instance of DmSelectConfigurationDialog

openAddLinkDialog

public DmAddLinkDialog openAddLinkDialog()
Select option "Link to Change Request..." to open DmAddLinkDialog

Returns:
an instance of DmAddLinkDialog