com.ibm.team.fvt.tests.clm.pages.qm
Class QmWebProjectAreaPage

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.qm.QmWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.qm.QmWebProjectAreaPage
All Implemented Interfaces:
ClmWebPageConstants
Direct Known Subclasses:
QmWebListPage, QmWebProjectDashboardPage, QmWebReportsPage, QmWebViewPage, QmWebViewReportPage

public abstract class QmWebProjectAreaPage
extends QmWebPage

Abstract class to manage common actions to any QM application web page which is displaying project area information.

This class provides access to the following QM web pages through the Menu bar:

Following actions or functionalities are accessible in this page:

Following functionalities are also defined or specialized by this page:


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
QmWebProjectAreaPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 java.lang.String getProjectAreaName()
           
 java.lang.String getProjectAreaTitle()
           
 QmWebReportsPage gotoReportsPage(java.lang.String type)
          Go to the Reports page using specific browse item of 'Reports' menu bar.
 QmWebViewTestCasePage gotoTestCasePage(java.lang.String testCase)
          Go to the given test case page through the 'Execution' menu bar.
 QmWebViewTestCaseResultPage gotoTestCaseResultPage(java.lang.String testCase)
          Go to the given test case result page through the 'Execution' menu bar.
 QmWebViewTestPlanPage gotoTestPlanPage(java.lang.String plan)
          Go to the given test plan page through the 'Planning' menu bar.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.qm.QmWebPage
openActiveProjectAreasPage, openAdminUIMenu
 
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, 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

QmWebProjectAreaPage

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

getProjectAreaName

public java.lang.String getProjectAreaName()

getProjectAreaTitle

public java.lang.String getProjectAreaTitle()

gotoReportsPage

public QmWebReportsPage gotoReportsPage(java.lang.String type)
Go to the Reports page using specific browse item of 'Reports' menu bar.

Parameters:
type - The type of 'Reports' page to open
Returns:
The opened QmWebReportsPage page.

gotoTestCasePage

public QmWebViewTestCasePage gotoTestCasePage(java.lang.String testCase)
Go to the given test case page through the 'Execution' menu bar.

If the test case has been already opened before in the browser session, then it will appear in the 'Recently Viewed' items list. In that case, that will be this item which will be used to jump to the test case page.

If it's the first time the test case page is opened in the browser session, then it will use the 'Test Cases' item to jump to the plan.

Parameters:
testCase - The test case to jump to. It may be its name or its title (ie. includes its ID).
Returns:
The opened QM test case page as a QmWebViewTestPlanPage.

gotoTestCaseResultPage

public QmWebViewTestCaseResultPage gotoTestCaseResultPage(java.lang.String testCase)
Go to the given test case result page through the 'Execution' menu bar.

If the test case result has been already opened before in the browser session, then it will appear in the 'Recently Viewed' items list. In that case, that will be this item which will be used to jump to the test case page.
Note that if several results have been opened on the same test case, that will be the more recent which will be opened.

If it's the first time the test case result page is opened in the browser session, then it will use the 'Test Case Results' item to jump to the plan.

Parameters:
testCase - The test case to jump to.
Returns:
The opened QM test case page as a QmWebViewTestPlanPage.

gotoTestPlanPage

public QmWebViewTestPlanPage gotoTestPlanPage(java.lang.String plan)
Go to the given test plan page through the 'Planning' menu bar.

If the test plan has been already opened before in the browser session, then it will appear in the 'Recently Viewed' items list. In that case, that will be this item which will be used to jump to the test plan page.

If it's the first time the test plan page is opened in the browser session, then it will use the 'Browse Test Plans' item to jump to the plan.

Parameters:
plan - The test plan to jump to.
Returns:
The opened QM test plan page as a QmWebViewTestPlanPage.