com.ibm.team.fvt.tests.clm.pages.jts.setup
Class JtsSetupPage

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.jts.JtsWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.jts.setup.JtsSetupPage
All Implemented Interfaces:
ClmWebPageConstants, JtsSetupPageConstants
Direct Known Subclasses:
JtsExpressSetupCreateAdminUserPage, JtsExpressSetupPage, JtsSetupDatabaseJTSPage, JtsSetupDatawarehouseJTSPage, JtsSetupEmailPage, JtsSetupFramedPage, JtsSetupIntroductionPage, JtsSetupPublicUriPage, JtsSetupRegisterAppPage, JtsSetupSummaryPage, JtsSetupUserRegistryPage, JtsSetupWelcomePage

public abstract class JtsSetupPage
extends JtsWebPage
implements JtsSetupPageConstants

Abstract class for common properties and behaviors of a JTS Setup page.

This page always have a 'Next' button and a step number.

As browser jumps to the next page when next button will be clicked, each subclass has to override the getNextPage() method to define how the next page will be implemented.

This common page provides a basic setup() action which consists to click on the Next button. Any subclass with other specific actions to do for the setup may override this method..

This class also offers functionalities to wait for local element (see waitForLocalElement(By) or waitForLocalElement(By, boolean, int)) and to wait for message (see waitForMessage(int, String...)) which might be overridden if the mechanisms to found those elements differ in subclasses.


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.jts.setup.JtsSetupPageConstants
BACK_BUTTON_XPATH, NEXT_BUTTON_BY, NEXT_BUTTON_XPATH, SETUP_INFO_MESSAGE_COMPLETE_DW_USER_FORM, SETUP_OK_MESSAGE_CONFIGURATION_SUCCEEDED, SETUP_OK_MESSAGE_DATA_COLLECTION_ENTERED, SETUP_OK_MESSAGE_PRESS_NEXT_TO_CONTINUE
 
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
JtsSetupPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user)
           
 
Method Summary
 ClmWebPage setup()
          Execute the setup for the current setup page.
 
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

JtsSetupPage

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

setup

public ClmWebPage setup()
Execute the setup for the current setup page.

Default action for all JTS Setup page (except the last one) is to click on the 'Next' button.

Returns:
The next page loaded after having finished the setup on the current one.
See Also:
clickNextButton(), getNextPage()