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 java.lang.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(java.lang.String text)
           
 void waitForItem(java.lang.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(java.lang.String text)

waitForItem

public void waitForItem(java.lang.String text)


Copyright © 2003-2010 Atlassian. All Rights Reserved.