com.ibm.team.fvt.tests.clm.pages.rm
Class RmWebShowModulePage

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.RmWebShowModulePage
All Implemented Interfaces:
ClmWebPageConstants

public class RmWebShowModulePage
extends RmWebShowArtifactPage

Manage the module RM web page.

The page address is something like: https://server:port/rm/web#action=com.ibm.rdm.web.pages.showArtifact&artifactURI==artifactURI .

Following actions 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.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
RmWebShowModulePage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 void addRequirementsToModule(java.lang.String... requirements)
          Add the given requirements to the current module.
 void displayArtifactAsHeading(java.lang.String artifactID)
          Makes the specified artifact as a heading.
 void editModuleRow(java.lang.String artifactID, java.lang.String content)
          Edit artifact row with the given string
 boolean exists(java.lang.String artifact)
          Check whether the given artifact exists or not.
 void removeRequirementFromModule(java.lang.String artifactID)
          Remove the given artifact from the current module
 
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, 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
 

Constructor Detail

RmWebShowModulePage

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

addRequirementsToModule

public void addRequirementsToModule(java.lang.String... requirements)
Add the given requirements to the current module.

Do nothing for requirements which were already in the module.

Parameters:
requirements - The list of requirement names to add

displayArtifactAsHeading

public void displayArtifactAsHeading(java.lang.String artifactID)
Makes the specified artifact as a heading.

Parameters:
artifactID - The ID of artifact to make heading

editModuleRow

public void editModuleRow(java.lang.String artifactID,
                          java.lang.String content)
Edit artifact row with the given string

Parameters:
artifactID - The ID of artifact to edit
content - The new content for the artifact

exists

public boolean exists(java.lang.String artifact)
Description copied from class: RmWebListPage
Check whether the given artifact exists or not.

Overrides:
exists in class RmWebListPage
Parameters:
artifact - The artifact name
Returns:
true if the artifact is in the artifacts list, false otherwise.

removeRequirementFromModule

public void removeRequirementFromModule(java.lang.String artifactID)

Remove the given artifact from the current module

Prerequisite 1: the ID column is displayed
Prerequisite 2: there isn't other artifact with the same ID
Prerequisite 3: there isn't any checkbox checked

Parameters:
artifactID - - ID of the artifact to be removed from the module