com.atlassian.confluence.selenium.client
Class AuthorAutocompleteTextField

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.Autocomplete
      extended by com.atlassian.confluence.selenium.client.AuthorAutocompleteTextField

public class AuthorAutocompleteTextField
extends Autocomplete

Client for interacting with the autocomplete box for authors.


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.client.Autocomplete
client
 
Constructor Summary
AuthorAutocompleteTextField(String fieldLocator, ConfluenceSeleniumClient client)
           
 
Method Summary
 String getValue()
           
 void selectUser(User user)
           
 void typeUserName(String text)
          Types the given text with key press events in the author filter search field.
 void waitForNoResults()
           
 void waitForResultsToContainUser(User user)
           
 
Methods inherited from class com.atlassian.confluence.selenium.client.Autocomplete
selectItem, selectItem, waitForItem, waitForNumberOfResults, waitUntilHidden
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorAutocompleteTextField

public AuthorAutocompleteTextField(String fieldLocator,
                                   ConfluenceSeleniumClient client)
Method Detail

getValue

public String getValue()
Returns:
text currently in the user autocomplete field

typeUserName

public void typeUserName(String text)
Types the given text with key press events in the author filter search field. Note, this method clears out the field before simulating typing.


selectUser

public void selectUser(User user)

waitForResultsToContainUser

public void waitForResultsToContainUser(User user)

waitForNoResults

public void waitForNoResults()


Copyright © 2003-2011 Atlassian. All Rights Reserved.