com.ibm.team.fvt.tests.clm.pages.vvc
Class VvcConfigurationExplorerPage

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPage
      extended by com.ibm.team.fvt.tests.clm.pages.ClmWebPage
          extended by com.ibm.team.fvt.tests.clm.pages.vvc.VvcConfigurationWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.vvc.VvcConfigurationExplorerPage
All Implemented Interfaces:
ClmWebPageConstants

public class VvcConfigurationExplorerPage
extends VvcConfigurationWebPage

Page representing Configuration Explorer


Nested Class Summary
static class VvcConfigurationExplorerPage.ELEMENT_TYPE
           
 
Field Summary
 
Fields inherited from class com.ibm.team.fvt.tests.web.WebPage
NO_DATA
 
Fields inherited from interface com.ibm.team.fvt.tests.clm.pages.ClmWebPageConstants
ADMINISTRATION_HOME_MENU_GROUP, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR
 
Constructor Summary
VvcConfigurationExplorerPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user)
           
 
Method Summary
 void expandTillNode(java.util.List<java.lang.String> nodeFQN)
          Expand till a particular node in the tree.
 VvcConfigurationSnapshotEditorPage hoverOnRowAndCreateNewSnapshot(java.util.List<java.lang.String> nodeFQN)
          Hover over a configuration (node in tree), and create new snapshot by clicking on New Snapshot action button (that becomes visible on hovering over the node).
 VvcConfigurationWorkspaceEditorPage hoverOnRowAndCreateNewWorkspace(java.util.List<java.lang.String> nodeFQN)
          Hover over a configuration (node in tree), and create new workspace by clicking on New Workspace action button (that becomes visible on hovering over the node).
 void hoverOnRowAndVerifyActions(java.util.List<java.lang.String> nodeFQN, java.util.List<java.lang.String> expectedActions)
          Hover over a configuration (node in tree), and verify presence of expectedActions.
<P extends VvcWebAbstractConfigurationEditorPage>
P
openEditor(java.util.List<java.lang.String> nodeFQN, java.lang.Class<P> pageClass)
          Opens a configuration editor based upon the specified pageClass
 void validateNode(java.util.List<java.lang.String> nodeFQN, VvcConfigurationExplorerPage.ELEMENT_TYPE elementType)
          Verify that a particular node has characteristics specific to that node type.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, getTitle, getUser, gotoCcmProjectPage, gotoCcmProjectPage, gotoDmProjectPage, gotoDmProjectPage, gotoJtsAdminHomePage, gotoLpaAllProjectsPage, gotoQmProjectPage, gotoQmProjectPage, gotoRmProjectPage, gotoRmProjectPage, logout, openAdminUIMenu, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, refresh, save, waitWhileBusy
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage
changeUser, checkHoverTitle, checkRichHover, get, getBrowser, getLocation, getPage, getPage, getPageUsingBrowser, goBack, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, richHoverOverLink, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VvcConfigurationExplorerPage

public VvcConfigurationExplorerPage(java.lang.String url,
                                    ClmConfig config,
                                    com.ibm.team.fvt.tests.config.User user)
Method Detail

expandTillNode

public void expandTillNode(java.util.List<java.lang.String> nodeFQN)
Expand till a particular node in the tree. The node is represented by nodeFQN.

Parameters:
nodeFQN - Fully Qualified Name of the node that has to be opened. In the list, name of parent node precedes name of child node

hoverOnRowAndCreateNewSnapshot

public VvcConfigurationSnapshotEditorPage hoverOnRowAndCreateNewSnapshot(java.util.List<java.lang.String> nodeFQN)
Hover over a configuration (node in tree), and create new snapshot by clicking on New Snapshot action button (that becomes visible on hovering over the node).

Parameters:
nodeFQN - Fully Qualified Name of the node for which snapshot has to be created.

hoverOnRowAndCreateNewWorkspace

public VvcConfigurationWorkspaceEditorPage hoverOnRowAndCreateNewWorkspace(java.util.List<java.lang.String> nodeFQN)
Hover over a configuration (node in tree), and create new workspace by clicking on New Workspace action button (that becomes visible on hovering over the node).

Parameters:
nodeFQN - Fully Qualified Name of the node for which a new workspace has to be created

hoverOnRowAndVerifyActions

public void hoverOnRowAndVerifyActions(java.util.List<java.lang.String> nodeFQN,
                                       java.util.List<java.lang.String> expectedActions)
Hover over a configuration (node in tree), and verify presence of expectedActions.

Parameters:
nodeFQN - Fully Qualified Name of the node for which Actions have to be verified
expectedActions - List of Actions that are expected to be available

openEditor

public <P extends VvcWebAbstractConfigurationEditorPage> P openEditor(java.util.List<java.lang.String> nodeFQN,
                                                                      java.lang.Class<P> pageClass)
Opens a configuration editor based upon the specified pageClass

Parameters:
nodeFQN - Fully Qualified Name of the node that has to be opened in the editor
pageClass - Class for the specific configuration editor

validateNode

public void validateNode(java.util.List<java.lang.String> nodeFQN,
                         VvcConfigurationExplorerPage.ELEMENT_TYPE elementType)
Verify that a particular node has characteristics specific to that node type.

Parameters:
nodeFQN - Fully Qualified Name of the node that has to be validated