com.atlassian.confluence.selenium.client
Class Autocomplete

java.lang.Object
  extended by com.atlassian.confluence.selenium.client.Autocomplete
Direct Known Subclasses:
AuthorAutocompleteTextField

public class Autocomplete
extends Object


Field Summary
protected  ConfluenceSeleniumClient client
           
 
Constructor Summary
Autocomplete(ConfluenceSeleniumClient client)
           
 
Method Summary
 void selectItem(int index)
          Select the item in the autocomplete.
 void selectItem(String text)
           
 void waitForItem(String text)
           
 void waitForNumberOfResults(int expectedResults)
           
 void waitUntilHidden()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected ConfluenceSeleniumClient client
Constructor Detail

Autocomplete

public Autocomplete(ConfluenceSeleniumClient client)
Method Detail

waitForNumberOfResults

public void waitForNumberOfResults(int expectedResults)

waitUntilHidden

public void waitUntilHidden()

selectItem

public void selectItem(int index)
Select the item in the autocomplete.

Parameters:
index - 0 based index to select

selectItem

public void selectItem(String text)

waitForItem

public void waitForItem(String text)


Copyright © 2003-2013 Atlassian. All Rights Reserved.