com.ibm.team.fvt.tests.clm.pages.ccm
Class CcmWebQueryPage

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.ccm.CcmWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebProjectAreaPage
                  extended by com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebQueryPage
All Implemented Interfaces:
ClmWebPageConstants

public class CcmWebQueryPage
extends CcmWebProjectAreaPage

Manage a CCM query web page.

The page address is specialized by adding at the end of the CcmWebProjectAreaPage #action=com.ibm.team.workitem.runSavedQuery&id= + uuid of the query.

Following actions are accessible on 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, ETL_JOB_DATE_FORMAT, JAZZ_TEAM_SERVER_HOME_MENU_ITEM, LIFECYCLE_PROJECT_ADMIN_MENU_ITEM, LOGIN_PASSWORD_LOCATOR, LOGIN_TAGNAME_LOCATOR, LOGIN_USERID_LOCATOR, USER_NOT_AUTHORIZED_MESSAGE_ID, USER_NOT_AUTHORIZED_MESSAGE_LOCATOR
 
Constructor Summary
CcmWebQueryPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 boolean belongsToQueryResults(java.lang.String workItem)
          Tells whether the given work item belongs to the query results.
<RH extends com.ibm.team.fvt.tests.web.WebRichHover<? extends com.ibm.team.fvt.tests.web.WebPage>>
RH
checkRichHover(java.lang.String resource, java.lang.String column, java.lang.Class<RH> hoverClass, java.lang.String... additionalData)
          Check the rich hover title for the given resource displayed in the given column.
 CcmWebWorkItemPage clickOnWorkItemLink(java.lang.String resource)
          Click on the given work item resource link.
 java.lang.String getQueryName()
          Return the query name.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ccm.CcmWebProjectAreaPage
createNewDevelopmentPlan, createNewWorkItem, createNewWorkItem, getProjectAreaName, getProjectAreaTitle, gotoDevelopmentPlanPage, gotoPlansPage, gotoQueriesPage, gotoReportsPage, gotoStreamsPage, gotoWorkItemPage, refreshContent, searchForArtifact
 
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, openAdminUIMenu, openHelpMenu, openHomeMenu, openMenu, openMenu, openToolbarMenu, openUserProfileMenu, save, waitForResourceLinkElement, waitWhileBusy
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebPage
checkHoverTitle, checkRichHover, equals, get, getBrowser, getCurrentPage, getLocation, getPage, getPage, getPageUsingBrowser, goBack, hashCode, login, login, openPage, openPage, openPageUsingBrowser, openPageUsingHoverTitle, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, openPageUsingLink, refresh, richHoverOverLink, searchPageInHistory, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CcmWebQueryPage

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

belongsToQueryResults

public boolean belongsToQueryResults(java.lang.String workItem)
Tells whether the given work item belongs to the query results.

Parameters:
workItem - The work item name
Returns:
true if the given work item belongs to the query results, false otherwise.

checkRichHover

public <RH extends com.ibm.team.fvt.tests.web.WebRichHover<? extends com.ibm.team.fvt.tests.web.WebPage>> RH checkRichHover(java.lang.String resource,
                                                                                                                            java.lang.String column,
                                                                                                                            java.lang.Class<RH> hoverClass,
                                                                                                                            java.lang.String... additionalData)
Check the rich hover title for the given resource displayed in the given column.

Parameters:
resource - The resource to check the hover
column - The column where the resource link is located
hoverClass - The expected class for the hover

clickOnWorkItemLink

public CcmWebWorkItemPage clickOnWorkItemLink(java.lang.String resource)
Click on the given work item resource link.

Parameters:
resource - The resource name
Returns:
The corresponding work item opened page as CcmWebWorkItemPage.

getQueryName

public java.lang.String getQueryName()
Return the query name.

Returns:
The query name as a String.