|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebWindow
com.ibm.team.fvt.tests.web.WebDialog
com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDialog
com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDefaultDialog
com.ibm.team.fvt.tests.clm.pages.dialogs.ClmAddUserDialog
public class ClmAddUserDialog
Manage Dialog launched to add a user to an RM Review
The dialog provides the following features:
add()
: Click on the 'Add' button.addUser(String)
: Adds the given user to the current
project with the given rolerunSearch(String)
: Run the search for the given pattern.selectUsers(String...)
: Select the given users in the list.setSearchText(String)
: Sets the text in the text search field.showAll()
: Click the 'Show All' link.Following methods are defined and might be overridden by subclasses:
clickSelectButton()
: Click on select button.getCloseButton(boolean)
: Return the xpath of the button to close
the dialog.getSelectElementLocator()
: Get the select element locator.select(By, String...)
: Select the options list for the given select
element locator.waitForSearchEnd(String)
: Wait for the end of running search.
Constructor Summary | |
---|---|
ClmAddUserDialog(ClmWebPage page)
|
Method Summary | |
---|---|
void |
add()
Click on the 'Add' button. |
void |
addUser(java.lang.String userName)
Add the given user in the users table list. |
void |
runSearch(java.lang.String pattern)
Run the search for the given pattern. |
void |
selectUsers(java.lang.String... users)
Select the given users in the list. |
void |
setSearchText(java.lang.String pattern)
Sets the text in the text search field. |
void |
showAll()
Click the 'Show All' link. |
Methods inherited from class com.ibm.team.fvt.tests.web.WebDialog |
---|
open |
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow |
---|
cancel, close |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClmAddUserDialog(ClmWebPage page)
Method Detail |
---|
public void add()
public void addUser(java.lang.String userName)
userName
- The name of user to select in the users list.public void runSearch(java.lang.String pattern)
By default no specific action is done to search, enter the given pattern in the input text field is enough to launch the search automatically.
Subclass may want to override this method if an explicit additional action (e.g. click on a Search button is necessary).
pattern
- The pattern to enter in the text search fieldpublic void selectUsers(java.lang.String... users)
users
- The users to select.public void setSearchText(java.lang.String pattern)
pattern
- The pattern to enter in the text search fieldpublic void showAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |