|
||||||||||
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.RmWebModulesPage
public class RmWebModulesPage
Manage the Modules RM web page.
The page address is something like:
https://server:port/rm/web#action=com.ibm.rdm.web.pages.showProjectDashboard&projectURI=projectURI&viewType=modules
.
Following actions are accessible in this page:
createModule(String)
: Create the given module by
clicking on the 'Create Module' button.getRecentArtifactElement(String, String)
: Returns the link
element found for the given artifact in the given tab of the 'Recent Artifacts' section.getRecentArtifactsNumber(String)
: Get the number of the "Recent Artifacts".getRecentCommentElement(String, String)
: Returns the 'div' element found
for the given comment in the given tab of the 'Recent Comments' section.getRecentCommentsNumber(String)
: Get the number of the "Recent Comments".Following functionalities are also defined or specialized by this page:
getExpectedTitle()
: The expected title for the page.waitForTitle(boolean)
: Wait for the title to be displayed in the
current page.
Field Summary |
---|
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 | |
---|---|
RmWebModulesPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user)
|
Method Summary | |
---|---|
void |
applyAttributeFilter(RmAttributeFilterCriteria criteria)
Apply the given criteria to the attribute filter |
void |
applyTagFilter(java.lang.String searchText,
java.lang.String operator,
java.lang.String... tags)
Apply the given tags to filter the artifacts to display. |
void |
applyViewFilter(java.lang.String view)
Apply the given view filter |
void |
clearAllFilters()
Clears all the filters. |
void |
createModule(java.lang.String module)
Create the given module by clicking on the 'Create Module' button. |
void |
createTag(java.lang.String tag,
java.lang.String description,
boolean isSharedType)
Creates a tag by clicking the 'Add New Tag' icon in the 'Filter by Tag' section that appears on the left side bar in the Artifacts page, the Collections page, the Show Collection page, and the Modules page. |
void |
deleteArtifact(java.lang.String artifact)
Deletes the specified artifact by selecting the 'Delete Artifact' menu option from the popup-menu. |
void |
deleteTag(java.lang.String tag)
Deletes the given tag by selecting the 'Delete' menu option from the popup-menu. |
boolean |
doesTagExist(java.lang.String tag)
Check whether the given tag exists or not. |
void |
editTag(java.lang.String tag,
java.lang.String newName,
java.lang.String newDescription)
Edit the tag with the given information. |
com.ibm.team.fvt.tests.web.WebBrowserElement |
getRecentArtifactElement(java.lang.String tabName,
java.lang.String artifactName)
Returns the link element found for the given artifact in the given tab of the 'Recent Artifacts' section. |
int |
getRecentArtifactsNumber(java.lang.String tabName)
Get the number of the "Recent Artifacts" |
com.ibm.team.fvt.tests.web.WebBrowserElement |
getRecentCommentElement(java.lang.String tabName,
java.lang.String commentSubject)
Returns the 'div' element found for the given comment in the given tab of the 'Recent Comments' section. |
int |
getRecentCommentsNumber(java.lang.String tabName)
Get the number of the "Recent Comments" |
boolean |
isArtifactRowLocked(java.lang.String artifact)
Check if the given artifact is currently locked. |
void |
saveView(java.lang.String view,
java.lang.String description)
Saves the current filter as a view by clicking the 'Save View' icon button. |
void |
selectAttributeFilterLimitByLifecycleStatus(java.lang.String kind,
java.lang.String status)
Select the 'Limit by lifecycle status' filter for the given kind of resource with the given status. |
void |
selectTagsForArtifact(java.lang.String artifact,
java.lang.String... tags)
Selects the list of existing tags to add to the given artifact by clicking the 'Select Tags for Artifact' menu option from the popup-menu. |
void |
setPageSize(java.lang.String pageSize)
Sets the page size, that is, the number of artifacts to display on a page. |
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.rm.RmWebListPage |
---|
addColumns, checkResourceLinkElements, checkResourceLinkElements, 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, getTitle, 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 |
---|
public RmWebModulesPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user)
Method Detail |
---|
public void applyAttributeFilter(RmAttributeFilterCriteria criteria)
RmWebListPage
criteria
- The criteria to setpublic void applyTagFilter(java.lang.String searchText, java.lang.String operator, java.lang.String... tags)
RmWebListPage
searchText
- The search text used to narrow down the list of tags to select, can be null.operator
- The operator used in applying the given tags, can be null. Valid values are:
"is any of", "is all of", "is not any of", "is not all of"
tags
- List of Strings representing the tags to apply as a filter.public void applyViewFilter(java.lang.String view)
RmWebListPage
view
- The view to applypublic void clearAllFilters()
RmWebListPage
clearAllFilters
in class RmWebListPage
public void createModule(java.lang.String module)
Do nothing if the module already in the artifacts list.
module
- The module name to createpublic void createTag(java.lang.String tag, java.lang.String description, boolean isSharedType)
RmWebListPage
tag
- The name of the new tagdescription
- The description of the tagisSharedType
- Boolean indicating whether or not the tag should be shared or not (ie. personal).public void deleteArtifact(java.lang.String artifact)
RmWebListPage
artifact
- The artifact to delete, identified by its name.public void deleteTag(java.lang.String tag)
RmWebListPage
tag
- The tag to delete.public boolean doesTagExist(java.lang.String tag)
RmWebListPage
tag
- The tag to chec
true
if the tag exists, false
otherwisepublic void editTag(java.lang.String tag, java.lang.String newName, java.lang.String newDescription)
RmWebListPage
tag
- The tag to edit.newName
- The new name of the tagnewDescription
- The new description of the tagpublic com.ibm.team.fvt.tests.web.WebBrowserElement getRecentArtifactElement(java.lang.String tabName, java.lang.String artifactName)
tabName
- The tab section where to find for the artifact links.
Usual tabs can be "Today", "Yesterday" and "Past Week".artifactName
- The name of the artifact
WebBrowserElement
or
null
if the artifact was not found.public int getRecentArtifactsNumber(java.lang.String tabName)
tabName
- The name of the tab. It could be: "Today", "Yesterday" or "Past Week".
public com.ibm.team.fvt.tests.web.WebBrowserElement getRecentCommentElement(java.lang.String tabName, java.lang.String commentSubject)
tabName
- The tab section where to find for the comment links.
Usual tabs can be "Today", "Yesterday" and "Past Week".commentSubject
- The subject of the comment to search for
WebBrowserElement
or
null
if the comment was not found.public int getRecentCommentsNumber(java.lang.String tabName)
tabName
- The name of the tab. It could be: "Today", "Yesterday" or "Past Week".
public boolean isArtifactRowLocked(java.lang.String artifact)
artifact
- The artifact name to check
public void saveView(java.lang.String view, java.lang.String description)
RmWebListPage
view
- The name of the viewdescription
- The description of the viewpublic void selectAttributeFilterLimitByLifecycleStatus(java.lang.String kind, java.lang.String status)
RmWebListPage
A few possible kinds of resource are valid and with specific status. Here all accepted kind with their corresponding possible status:
kind
- The kind of resource to select.status
- The resource status to select.public void selectTagsForArtifact(java.lang.String artifact, java.lang.String... tags)
RmWebListPage
artifact
- The artifact to add the tags.tags
- The list of String objects representing the tags to apply to the artifact.public void setPageSize(java.lang.String pageSize)
RmWebListPage
pageSize
- number of artifacts to display on a page (required)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |