com.atlassian.confluence.pageobjects.component.form
Class MultiUserPicker
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.form.MultiUserPicker
- All Implemented Interfaces:
- PageComponent
public class MultiUserPicker
- extends ConfluenceAbstractPageComponent
Constructor Summary |
MultiUserPicker(com.atlassian.pageobjects.elements.PageElement container)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiUserPicker
public MultiUserPicker(com.atlassian.pageobjects.elements.PageElement container)
waitUntilVisible
public void waitUntilVisible()
search
public MultiUserPicker search(java.lang.String searchStr)
- Types the given search string into the input field and waits for any results to appear
selectUser
public MultiUserPicker selectUser(java.lang.String username)
- Waits for the given username to appear in the search results and clicks on the user.
This assumes you have called
search(String)
beforehand.
containsUserValue
public com.atlassian.pageobjects.elements.query.TimedCondition containsUserValue(User user)
- Returns:
- a TimedCondition to check if the given user is found in the multi user picker input field
addUser
public MultiUserPicker addUser(User user)
- Searches for the given user and adds them by waiting and clicking in the results drop down.
Copyright © 2003-2014 Atlassian. All Rights Reserved.