|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPage
com.ibm.team.fvt.tests.clm.pages.ClmWebPage
com.ibm.team.fvt.tests.clm.pages.rm.RmWebPage
com.ibm.team.fvt.tests.clm.pages.rm.RmWebProjectAreaPage
com.ibm.team.fvt.tests.clm.pages.rm.RmWebListPage
com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowArtifactPage
com.ibm.team.fvt.tests.clm.pages.rm.RmWebShowEditableArtifactPage
public class RmWebShowEditableArtifactPage
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:
addArtifactToCollection(String)
: Add an artifact to the collection using the Add to Collection button.addLinkToNewWorkItem(String, String)
: Add a link to a new work item for the current requirement.clickDone()
: Click the done button when you are in edit mode.getSaveButtonXpath()
: Gets the XPath for the save button on this page.gotoDesignDocumentPageUsingHover(String, String)
: Goto the given design document page using the hover of the link displayed in the current page 'Links' section.gotoWorkItemPageUsingHover(String, String)
: Goto the given work item page using the hover of the link displayed in the current page 'Links' section.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 |
---|
public static final java.lang.String LINK_DERIVES
Constructor Detail |
---|
public RmWebShowEditableArtifactPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
public void addArtifactToCollection(java.lang.String artifact)
artifact
- The name of the artifact to be added@Deprecated public com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToNewWorkItem(java.lang.String projectAreaTitle, java.lang.String item)
addLinkToNewWorkItem(String, String, String)
instead.
If the work item is already linked, nothing is done.
projectAreaTitle
- The project area title.item
- The work item summary
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the added item is not found in the 'Links' section after the operationpublic com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToNewWorkItem(java.lang.String projectAreaName, java.lang.String item, java.lang.String linkType)
If the work item is already linked, nothing is done.
projectAreaName
- The project area name.item
- The work item summarylinkType
- The item element of the link to create. Possible values are:
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the added item is not found in the 'Links' section after the operationpublic com.ibm.team.fvt.tests.web.WebBrowserElement addLinkToWorkItem(java.lang.String projectAreaName, java.lang.String item, java.lang.String linkType)
If the work item is already linked, nothing is done.
projectAreaName
- The project area name.item
- The work item summarylinkType
- The item element of the link to create. Possible values are:
WebBrowserElement
com.ibm.team.fvt.tests.scenario.errors.ScenarioFailedError
- If the added item is not found in the 'Links' section after the operationpublic void clickDone()
public DmWebDocumentPage gotoDesignDocumentPageUsingHover(java.lang.String documentTitle, java.lang.String linkType)
Note that this test the hover as we jump to the page through it's title link (see WebLinkHover.clickOnTitle()
).
documentTitle
- The document title to find the link in the current page.linkType
- The type of link associated with the document.
DmWebDocumentPage
.public CcmWebWorkItemPage gotoWorkItemPageUsingHover(java.lang.String item, java.lang.String linkType)
Note that this test the hover as we jump to the page through it's title link (see WebLinkHover.clickOnTitle()
).
item
- The work item name to find the link in the current page.
CcmWebWorkItemPage
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |