|
||||||||||
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.RmWebReviewPage
public class RmWebReviewPage
Manage the Review RM web page. The page displays the current state of a review, listing the artifacts in the review, and the participants of the review. The page allows interaction with the review, adding/removing users, adding/removing artifacts etc.
Following actions are accessible in this page:
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.
Nested Class Summary | |
---|---|
class |
RmWebReviewPage.ReviewArtifact
Information class for an artifact in the review |
static class |
RmWebReviewPage.ReviewDocumentState
The states for an individuals document within a review |
static class |
RmWebReviewPage.ReviewState
The State of the review |
class |
RmWebReviewPage.ReviewUser
Information class for a user within the review |
static class |
RmWebReviewPage.ReviewUserRole
The possible roles for a user |
Field Summary |
---|
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 | |
---|---|
RmWebReviewPage(java.lang.String url,
ClmConfig config,
com.ibm.team.fvt.tests.config.User user,
java.lang.String... data)
|
Method Summary | |
---|---|
void |
addUser(ClmUser userInfo,
RmWebReviewPage.ReviewUserRole role)
Deprecated. Use addUsers(ReviewUserRole, String, ClmUser...) instead. |
void |
addUsers(RmWebReviewPage.ReviewUserRole role,
java.lang.String searchText,
ClmUser... clmUsers)
Adds the given users as users for the review in the given role (one of RmWebReviewPage.ReviewUserRole ). |
void |
completeAllReviews()
Completes this review (as Abstained) for all users. |
void |
continueReview()
Continues a paused review, putting it into RmWebReviewPage.ReviewState IN_PROGRESS
Note there is no check it is in the appropriate state prior to putting it into IN_PROGRESS. |
void |
finalizeReview()
Finalizes a completed review, putting it into RmWebReviewPage.ReviewState FINALIZED
The FINALIZED state is immutable; no further changes are allowed. |
java.util.List<RmWebReviewPage.ReviewArtifact> |
getArtifactDetails()
Gets details for all the artifacts in the review |
java.lang.String |
getArtifactVersionInfo()
Returns the string representing when the Artifacts for review were captured |
java.lang.String |
getDueDate()
Gets the Due Date for the review |
java.lang.String |
getInstructions()
Gets the instructions set for the review. |
java.util.List<RmWebReviewPage.ReviewUser> |
getParticipantDetails()
Gets all the participants for this review return a List of RmWebReviewPage.ReviewUser s, with details of each participant. |
RmWebReviewPage.ReviewState |
getReviewState()
Determines the current state of the review. |
RmAddUserToReviewDialog |
openSelectUsersDialog()
Opens and returns the add users for review dialog |
void |
pauseReview()
Pauses a started review, putting it into RmWebReviewPage.ReviewState PAUSED
Note there is no check it is in the appropriate state prior to putting it into PAUSED. |
boolean |
save()
Save changes done to the Review. |
void |
setDueDate(java.util.Date date)
Sets the Due Date for the review |
void |
setInstructions(java.lang.String instructions)
Sets the instructions for the review. |
void |
startReview()
Starts the review, putting it into RmWebReviewPage.ReviewState IN_PROGRESS
Note there is no check it is in the appropriate state prior to putting it into IN_PROGRESS. |
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, 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 RmWebReviewPage(java.lang.String url, ClmConfig config, com.ibm.team.fvt.tests.config.User user, java.lang.String... data)
Method Detail |
---|
@Deprecated public void addUser(ClmUser userInfo, RmWebReviewPage.ReviewUserRole role)
addUsers(ReviewUserRole, String, ClmUser...)
instead.
RmWebReviewPage.ReviewUserRole
).
userInfo
- The user to add.role
- The role for this user.public void addUsers(RmWebReviewPage.ReviewUserRole role, java.lang.String searchText, ClmUser... clmUsers)
RmWebReviewPage.ReviewUserRole
).
role
- The role for these users.searchText
- The text to enter in the search filter text box (if null, then Show All is used).clmUsers
- The users to add.public void completeAllReviews()
public void continueReview()
RmWebReviewPage.ReviewState
IN_PROGRESS
Note there is no check it is in the appropriate state prior to putting it into IN_PROGRESS.
If this is not valid, the results are undefined.
public void finalizeReview()
RmWebReviewPage.ReviewState
FINALIZED
The FINALIZED state is immutable; no further changes are allowed.
Note there is no check it is in the appropriate state prior to putting it into FINALIZED.
If this is not valid, the results are undefined.
public java.util.List<RmWebReviewPage.ReviewArtifact> getArtifactDetails()
RmWebReviewPage.ReviewArtifact
public java.lang.String getArtifactVersionInfo()
public java.lang.String getDueDate()
public java.lang.String getInstructions()
public java.util.List<RmWebReviewPage.ReviewUser> getParticipantDetails()
RmWebReviewPage.ReviewUser
s, with details of each participant.
public RmWebReviewPage.ReviewState getReviewState()
RmWebReviewPage.ReviewState
public RmAddUserToReviewDialog openSelectUsersDialog()
public void pauseReview()
RmWebReviewPage.ReviewState
PAUSED
Note there is no check it is in the appropriate state prior to putting it into PAUSED.
If this is not valid, the results are undefined.
public boolean save()
We cannot use the super.save method, as the ReviewPage save button is not really a button, and does not have a disabled flag.
save
in class ClmWebPage
true
if the page was saved, false
if
the save was not necessary.public void setDueDate(java.util.Date date)
date
- the date to be used as the due datepublic void setInstructions(java.lang.String instructions)
instructions
- the instructions for the review.public void startReview()
RmWebReviewPage.ReviewState
IN_PROGRESS
Note there is no check it is in the appropriate state prior to putting it into IN_PROGRESS.
If this is not valid, the results are undefined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |