com.ibm.team.fvt.tests.clm.pages.rm.history
Class RmWebShowRequirementHistoryPage

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.rm.RmWebPage
              extended by com.ibm.team.fvt.tests.clm.pages.rm.RmWebProjectAreaPage
                  extended by com.ibm.team.fvt.tests.clm.pages.rm.RmWebListPage
                      extended by com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowArtifactPage
                          extended by com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowEditableArtifactPage
                              extended by com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowRequirementPage
                                  extended by com.ibm.team.fvt.tests.clm.pages.rm.history.RmWebShowRequirementHistoryPage
All Implemented Interfaces:
ClmWebPageConstants

public class RmWebShowRequirementHistoryPage
extends RmWebShowRequirementPage

Class that manages the History View for a normal requirement.

Following actions are accessible in this page:


Nested Class Summary
static class RmWebShowRequirementHistoryPage.Tab
          Enumeration for identifying which tab we are on
 
Field Summary
static java.lang.String PRIMARY_TEXT
          The Primary Text history row key
 
Fields inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowEditableArtifactPage
LINK_DERIVES
 
Fields inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowArtifactPage
IMPLEMENTED_BY, TRACKED_BY, VALIDATED_BY
 
Fields inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebListPage
PAST_WEEK, TODAY, YESTERDAY
 
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
RmWebShowRequirementHistoryPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 void collapseAll()
          Collapse all the entries in the Audit list.
 void expandAll()
          Expands all the entries in the Audit list.
 java.util.List<RmHistoryEntryData> getAllAuditEntries()
          Gets all Audit History elements, most recent first.
 java.util.List<java.lang.String> getRevisionIDs()
          Gets ids of all the Revisions available on the current history page.
 void selectRevision(java.lang.String revisionId)
          Selects a particular revision in the history viewer.
 void selectTab(RmWebShowRequirementHistoryPage.Tab tab)
          Choose which tab to show.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowRequirementPage
insertArtifactBySearch, insertArtifactBySearch, insertImageBySearch, setArtifactContent, typeTextWithNewLineAtContentEnd
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowEditableArtifactPage
addArtifactToCollection, addLinkToNewWorkItem, addLinkToNewWorkItem, addLinkToWorkItem, clickDone, gotoDesignDocumentPageUsingHover, gotoWorkItemPageUsingHover
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowArtifactPage
addComment, addComment, addLinkToArtifact, addLinkToArtifact, canBeModified, clickOnDoneButton, createReview, delete, deleteComment, getArtifactID, getArtifactName, getLinksItemElement, getTags, getTitle, isArtifactLocked, lockArtifact, openHistory, overrideArtifactlock, resolveComment, selectTags, unlockArtifact
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebListPage
addColumns, checkResourceLinkElements, checkResourceLinkElements, clearAllFilters, clickOnCollection, clickOnModule, clickOnRequirement, editArtifactColumn, exists, exists, getArtifactsDisplayedCount, getArtifactsTotalCount, getResourceID, lockArtifact, refreshList, unlockArtifact
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebProjectAreaPage
getProjectAreaName, getProjectAreaTitle, gotoArtifactsPage, gotoCollectionPage, gotoCollectionsPage, gotoModulePage, gotoModulesPage, gotoRequirementPage, searchForArtifact
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebPage
getAdminUIPopupMenu, getAllProjectAreasPage, getHelpPopupMenu, getSidebarSectionItemsCount, getUserPopupMenu
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.ClmWebPage
checkRichHover, clickHomeMenuItem, getBannerTitle, getCcmApplication, getConfig, getDmApplication, getJtsApplication, getLpaApplication, getMiniDashboard, getQmApplication, getRmApplication, 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
 

Field Detail

PRIMARY_TEXT

public static final java.lang.String PRIMARY_TEXT
The Primary Text history row key

See Also:
Constant Field Values
Constructor Detail

RmWebShowRequirementHistoryPage

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

collapseAll

public void collapseAll()
Collapse all the entries in the Audit list. Will switch to the audit tab if not selected.


expandAll

public void expandAll()
Expands all the entries in the Audit list. Will switch to the audit tab if not selected.


getAllAuditEntries

public java.util.List<RmHistoryEntryData> getAllAuditEntries()
Gets all Audit History elements, most recent first.


getRevisionIDs

public java.util.List<java.lang.String> getRevisionIDs()
Gets ids of all the Revisions available on the current history page.


selectRevision

public void selectRevision(java.lang.String revisionId)
Selects a particular revision in the history viewer.

Parameters:
revisionId - - the identifier for the revision concerned.

selectTab

public void selectTab(RmWebShowRequirementHistoryPage.Tab tab)
Choose which tab to show. We click on the selected tab heading, even if we are in the right one.

Parameters:
tab - - identify which tab to switch to.