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

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
All Implemented Interfaces:
ClmWebPageConstants
Direct Known Subclasses:
RmWebShowProcessDiagramPage, RmWebShowRequirementPage

public class RmWebShowEditableArtifactPage
extends RmWebShowArtifactPage

Manage the artifact 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
static java.lang.String 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
RmWebShowEditableArtifactPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
           
 
Method Summary
 void addArtifactToCollection(java.lang.String artifact)
          Add an artifact to the collection using the Add to Collection button.
 com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToNewWorkItem(java.lang.String projectAreaTitle, java.lang.String item)
          Deprecated. Use addLinkToNewWorkItem(String, String, String) instead.
 com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToNewWorkItem(java.lang.String projectAreaName, java.lang.String item, java.lang.String linkType)
          Add a link to a new work item for the current requirement.
 com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToWorkItem(java.lang.String projectAreaName, java.lang.String item, java.lang.String linkType)
          Add a link to an existing work item for the current requirement.
 void clickDone()
          This clicks on the Done button, works similar to the save() function.
 DmWebDocumentPage gotoDesignDocumentPageUsingHover(java.lang.String documentTitle, java.lang.String linkType)
          Goto the given design document page using the hover of the link displayed in the current page 'Links' section.
 CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String item, java.lang.String linkType)
          Goto the given work item page using the hover of the link displayed in the current page 'Links' section.
 
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

LINK_DERIVES

public static final java.lang.String LINK_DERIVES
See Also:
Constant Field Values
Constructor Detail

RmWebShowEditableArtifactPage

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

addArtifactToCollection

public void addArtifactToCollection(java.lang.String artifact)
Add an artifact to the collection using the Add to Collection button.

Parameters:
artifact - The name of the artifact to be added

addLinkToNewWorkItem

@Deprecated
public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToNewWorkItem(java.lang.String projectAreaTitle,
                                                                                    java.lang.String item)
Deprecated. Use addLinkToNewWorkItem(String, String, String) instead.

Add a 'Tracked By' link to a new work item for the current requirement.

If the work item is already linked, nothing is done.

Parameters:
projectAreaTitle - The project area title.
item - The work item summary
Returns:
The link element to the created test plan as WebBrowserElement
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError - If the added item is not found in the 'Links' section after the operation

addLinkToNewWorkItem

public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToNewWorkItem(java.lang.String projectAreaName,
                                                                         java.lang.String item,
                                                                         java.lang.String linkType)
Add a link to a new work item for the current requirement.

If the work item is already linked, nothing is done.

Parameters:
projectAreaName - The project area name.
item - The work item summary
linkType - The item element of the link to create. Possible values are:
  • "Implemented By"
  • "Tracked By"
  • "Validated By"
Returns:
The link element to the created test plan as WebBrowserElement
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError - If the added item is not found in the 'Links' section after the operation

addLinkToWorkItem

public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToWorkItem(java.lang.String projectAreaName,
                                                                      java.lang.String item,
                                                                      java.lang.String linkType)
Add a link to an existing work item for the current requirement.

If the work item is already linked, nothing is done.

Parameters:
projectAreaName - The project area name.
item - The work item summary
linkType - The item element of the link to create. Possible values are:
  • "Implemented By"
  • "Tracked By"
  • "Validated By"
Returns:
The link element to the created test plan as WebBrowserElement
Throws:
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError - If the added item is not found in the 'Links' section after the operation

clickDone

public void clickDone()
This clicks on the Done button, works similar to the save() function.


gotoDesignDocumentPageUsingHover

public DmWebDocumentPage gotoDesignDocumentPageUsingHover(java.lang.String documentTitle,
                                                          java.lang.String linkType)
Goto the given design document page using the hover of the link displayed in the current page 'Links' section.

Note that this test the hover as we jump to the page through it's title link (see WebLinkHover.clickOnTitle()).

Parameters:
documentTitle - The document title to find the link in the current page.
linkType - The type of link associated with the document.
Returns:
The opened CCM work item page as DmWebDocumentPage.

gotoWorkItemPageUsingHover

public CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String item,
                                                     java.lang.String linkType)
Goto the given work item page using the hover of the link displayed in the current page 'Links' section.

Note that this test the hover as we jump to the page through it's title link (see WebLinkHover.clickOnTitle()).

Parameters:
item - The work item name to find the link in the current page.
Returns:
The opened CCM work item page as CcmWebWorkItemPage.