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

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.VvcWebAbstractConfigurationEditorPage
All Implemented Interfaces:
ClmWebPageConstants
Direct Known Subclasses:
VvcConfigurationSnapshotEditorPage, VvcConfigurationWorkspaceEditorPage

public abstract class VvcWebAbstractConfigurationEditorPage
extends VvcConfigurationWebPage

This class is abstract base class for Configuration Editor Page. It captures common functionality for configuration editor.


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
VvcWebAbstractConfigurationEditorPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 void clickCreateButton()
          Click on Create button to create a configuration.
<P extends com.ibm.team.fvt.tests.web.WebPage>
P
clickLinkToPreviousPage(java.lang.Class<P> pageClass)
          Click the link "Return to previous page..."
 void clickOnDescriptionLabel()
          Click on description label.
 void clickSaveButton()
          Click on Save button to save the configuration.
 java.lang.String getDescription()
          Get current Description for the configuration.
 void selectTab(java.lang.String tabTitle)
          Select the tab with specified title if its not already selected
 void setDescription(java.lang.String newDescription)
          Set description for the configuration
 void setNameValue(java.lang.String nameValue)
          Set a name of the configuration.
 void validateDirtyIndicator(boolean bDisplayed)
          Validate if dirty indicator is displayed or not.
 
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

VvcWebAbstractConfigurationEditorPage

public VvcWebAbstractConfigurationEditorPage(java.lang.String url,
                                             ClmConfig config,
                                             com.ibm.team.fvt.tests.config.User user,
                                             java.lang.String... data)
Parameters:
url -
config -
user -
data -
Method Detail

clickCreateButton

public void clickCreateButton()
Click on Create button to create a configuration.


clickLinkToPreviousPage

public <P extends com.ibm.team.fvt.tests.web.WebPage> P clickLinkToPreviousPage(java.lang.Class<P> pageClass)
Click the link "Return to previous page..."

Parameters:
pageClass - Class representing the page that will be shown after the "Return to previous page..." link is clicked

clickOnDescriptionLabel

public void clickOnDescriptionLabel()
Click on description label. This can be used to convey that description has been modified.


clickSaveButton

public void clickSaveButton()
Click on Save button to save the configuration.


getDescription

public java.lang.String getDescription()
Get current Description for the configuration.


selectTab

public void selectTab(java.lang.String tabTitle)
Select the tab with specified title if its not already selected

Parameters:
tabTitle - Title of the tab to be selected

setDescription

public void setDescription(java.lang.String newDescription)
Set description for the configuration

Parameters:
newDescription - for description of configuration

setNameValue

public void setNameValue(java.lang.String nameValue)
Set a name of the configuration. This should be called once clickName has been called.

Parameters:
nameValue - Value for name of the configuration

validateDirtyIndicator

public void validateDirtyIndicator(boolean bDisplayed)
Validate if dirty indicator is displayed or not.

Parameters:
bDisplayed - whether dirty indicator is expected to be displayed or not