Uses of Interface
org.jboss.test.selenium.locator.ElementLocator

Packages that use ElementLocator
org.jboss.test.selenium.actions   
org.jboss.test.selenium.framework   
org.jboss.test.selenium.framework.internal   
org.jboss.test.selenium.locator   
org.jboss.test.selenium.waiting.conditions   
org.jboss.test.selenium.waiting.retrievers   
 

Uses of ElementLocator in org.jboss.test.selenium.actions
 

Methods in org.jboss.test.selenium.actions with parameters of type ElementLocator
 void Drag.setDragIndicator(ElementLocator<?> dragIndicator)
           
 void Drag.setDropTarget(ElementLocator<?> dropTarget)
           
 

Constructors in org.jboss.test.selenium.actions with parameters of type ElementLocator
Drag(ElementLocator<?> itemToDrag, ElementLocator<?> dropTarget)
          Initiates Drag object, handled by given Selenium instance, instructing drag of itemToDrag to dropTarget object.
Drag(ElementLocator<?> itemToDrag, ElementLocator<?> dropTarget)
          Initiates Drag object, handled by given Selenium instance, instructing drag of itemToDrag to dropTarget object.
 

Uses of ElementLocator in org.jboss.test.selenium.framework
 

Methods in org.jboss.test.selenium.framework that return types with arguments of type ElementLocator
 List<ElementLocator<?>> TypedSeleniumImpl.getAllButtons()
           
 List<ElementLocator<?>> TypedSeleniumImpl.getAllFields()
           
 List<ElementLocator<?>> TypedSeleniumImpl.getAllLinks()
           
 

Methods in org.jboss.test.selenium.framework with parameters of type ElementLocator
 void TypedSeleniumImpl.addSelection(ElementLocator<?> elementLocator, OptionLocator<?> optionLocator)
           
 void TypedSelenium.addSelection(ElementLocator<?> locator, OptionLocator<?> optionLocator)
          Add a selection to the set of selected options in a multi-select element using an option locator.
 IdLocator TypedSeleniumImpl.assignId(ElementLocator<?> elementLocator, String identifier)
           
 IdLocator TypedSelenium.assignId(ElementLocator<?> locator, String identifier)
          Temporarily sets the "id" attribute of the specified element, so you can locate it in the future using its ID rather than a slow/complicated XPath.
 void TypedSeleniumImpl.attachFile(ElementLocator<?> fieldLocator, File fileLocator)
           
 void TypedSeleniumImpl.attachFile(ElementLocator<?> fieldLocator, URL fileLocator)
           
 boolean ExtendedTypedSeleniumImpl.belongsClass(ElementLocator<?> elementLocator, String className)
           
 boolean ExtendedTypedSelenium.belongsClass(ElementLocator<?> elementLocator, String className)
          Checks if element given by locator is member of CSS class given by className.
 void TypedSeleniumImpl.check(ElementLocator<?> elementLocator)
           
 void TypedSelenium.check(ElementLocator<?> locator)
          Check a toggle-button (checkbox/radio)
 void ExtendedTypedSeleniumImpl.check(ElementLocator<?> locator, boolean checked)
           
 void ExtendedTypedSelenium.check(ElementLocator<?> locator, boolean checked)
           Check a toggle-button (checkbox/radio) on or off.
 void TypedSeleniumImpl.click(ElementLocator<?> elementLocator)
           
 void TypedSelenium.click(ElementLocator<?> locator)
          Clicks on a link, button, checkbox or radio button.
 void TypedSeleniumImpl.clickAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.clickAt(ElementLocator<?> locator, Point coords)
          Clicks on a link, button, checkbox or radio button.
 void TypedSeleniumImpl.contextMenu(ElementLocator<?> elementLocator)
           
 void TypedSelenium.contextMenu(ElementLocator<?> locator)
          Simulates opening the context menu for the specified element (as might happen if the user "right-clicked" on the element).
 void TypedSeleniumImpl.contextMenuAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.contextMenuAt(ElementLocator<?> locator, Point coords)
          Simulates opening the context menu for the specified element (as might happen if the user "right-clicked" on the element).
 void TypedSeleniumImpl.doubleClick(ElementLocator<?> elementLocator)
           
 void TypedSelenium.doubleClick(ElementLocator<?> locator)
          Double clicks on a link, button, checkbox or radio button.
 void TypedSeleniumImpl.doubleClickAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.doubleClickAt(ElementLocator<?> locator, Point coords)
          Doubleclicks on a link, button, checkbox or radio button.
 void TypedSeleniumImpl.dragAndDrop(ElementLocator<?> elementLocator, Offset offset)
           
 void TypedSelenium.dragAndDrop(ElementLocator<?> locator, Offset movementsString)
          Drags an element a certain distance and then drops it
 void TypedSeleniumImpl.dragAndDropToObject(ElementLocator<?> elementLocatorOfObjectToBeDragged, ElementLocator<?> elementLocatorOfDragDestinationObject)
           
 void TypedSeleniumImpl.dragAndDropToObject(ElementLocator<?> elementLocatorOfObjectToBeDragged, ElementLocator<?> elementLocatorOfDragDestinationObject)
           
 void TypedSelenium.dragAndDropToObject(ElementLocator<?> locatorOfObjectToBeDragged, ElementLocator<?> locatorOfDragDestinationObject)
          Drags an element and drops it on another element
 void TypedSelenium.dragAndDropToObject(ElementLocator<?> locatorOfObjectToBeDragged, ElementLocator<?> locatorOfDragDestinationObject)
          Drags an element and drops it on another element
 void TypedSeleniumImpl.dragdrop(ElementLocator<?> elementLocator, Offset offset)
           
 void TypedSelenium.dragdrop(ElementLocator<?> locator, Offset movementsString)
          deprecated - use dragAndDrop instead
 void TypedSeleniumImpl.fireEvent(ElementLocator<?> elementLocator, Event event)
           
 void TypedSelenium.fireEvent(ElementLocator<?> locator, Event event)
          Explicitly simulate an event, to trigger the corresponding handler.
 void TypedSeleniumImpl.focus(ElementLocator<?> elementLocator)
           
 void TypedSelenium.focus(ElementLocator<?> locator)
          Move the focus to the specified element; for example, if the element is an input field, move the cursor to that field.
 int TypedSeleniumImpl.getCursorPosition(ElementLocator<?> elementLocator)
           
 int TypedSelenium.getCursorPosition(ElementLocator<?> locator)
          Retrieves the text cursor position in the given input element or textarea; beware, this may not work perfectly on all browsers.
 Dimension TypedSeleniumImpl.getElementDimension(ElementLocator<?> elementLocator)
           
 Dimension TypedSelenium.getElementDimension(ElementLocator<?> locator)
          Retrievers the element dimensions (width, height)
 int TypedSeleniumImpl.getElementHeight(ElementLocator<?> elementLocator)
           
 int TypedSelenium.getElementHeight(ElementLocator<?> locator)
          Retrieves the height of an element
 int TypedSeleniumImpl.getElementIndex(ElementLocator<?> elementLocator)
           
 int TypedSelenium.getElementIndex(ElementLocator<?> locator)
          Get the relative index of an element to its parent (starting from 0).
 Point TypedSeleniumImpl.getElementPosition(ElementLocator<?> elementLocator)
           
 Point TypedSelenium.getElementPosition(ElementLocator<?> locator)
          Retrieves the position of an element
 int TypedSeleniumImpl.getElementPositionLeft(ElementLocator<?> elementLocator)
           
 int TypedSelenium.getElementPositionLeft(ElementLocator<?> locator)
          Retrieves the horizontal position of an element
 int TypedSeleniumImpl.getElementPositionTop(ElementLocator<?> elementLocator)
           
 int TypedSelenium.getElementPositionTop(ElementLocator<?> locator)
          Retrieves the vertical position of an element
 int TypedSeleniumImpl.getElementWidth(ElementLocator<?> elementLocator)
           
 int TypedSelenium.getElementWidth(ElementLocator<?> locator)
          Retrieves the width of an element
 String TypedSeleniumImpl.getSelectedId(ElementLocator<?> selectLocator)
           
 String TypedSelenium.getSelectedId(ElementLocator<?> selectLocator)
          Gets option element ID for selected option in the specified select element.
 List<String> TypedSeleniumImpl.getSelectedIds(ElementLocator<?> selectLocator)
           
 List<String> TypedSelenium.getSelectedIds(ElementLocator<?> selectLocator)
          Gets all option element IDs for selected options in the specified select or multi-select element.
 int TypedSeleniumImpl.getSelectedIndex(ElementLocator<?> selectLocator)
           
 int TypedSelenium.getSelectedIndex(ElementLocator<?> selectLocator)
          Gets option index (option number, starting at 0) for selected option in the specified select element.
 List<Integer> TypedSeleniumImpl.getSelectedIndexes(ElementLocator<?> selectLocator)
           
 List<Integer> TypedSelenium.getSelectedIndexes(ElementLocator<?> selectLocator)
          Gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
 String TypedSeleniumImpl.getSelectedLabel(ElementLocator<?> selectLocator)
           
 String TypedSelenium.getSelectedLabel(ElementLocator<?> selectLocator)
          Gets option label (visible text) for selected option in the specified select element.
 List<String> TypedSeleniumImpl.getSelectedLabels(ElementLocator<?> selectLocator)
           
 List<String> TypedSelenium.getSelectedLabels(ElementLocator<?> selectLocator)
          Gets all option labels (visible text) for selected options in the specified select or multi-select element.
 String TypedSeleniumImpl.getSelectedValue(ElementLocator<?> selectLocator)
           
 String TypedSelenium.getSelectedValue(ElementLocator<?> selectLocator)
          Gets option value (value attribute) for selected option in the specified select element.
 List<String> TypedSeleniumImpl.getSelectedValues(ElementLocator<?> selectLocator)
           
 List<String> TypedSelenium.getSelectedValues(ElementLocator<?> selectLocator)
          Gets all option values (value attributes) for selected options in the specified select or multi-select element.
 List<String> TypedSeleniumImpl.getSelectOptions(ElementLocator<?> selectLocator)
           
 List<String> TypedSelenium.getSelectOptions(ElementLocator<?> selectLocator)
          Gets all option labels in the specified select drop-down.
 String ExtendedTypedSeleniumImpl.getStyle(ElementLocator<?> elementLocator, CssProperty property)
           
 String ExtendedTypedSelenium.getStyle(ElementLocator<?> elementLocator, CssProperty property)
          Get current style value of element given by locator.
 String ExtendedTypedSeleniumImpl.getStyle(ElementLocator<?> elementLocator, String property)
           
 String ExtendedTypedSelenium.getStyle(ElementLocator<?> elementLocator, String property)
          Deprecated. 
 String TypedSeleniumImpl.getText(ElementLocator<?> elementLocator)
           
 String TypedSelenium.getText(ElementLocator<?> locator)
          Gets the text of an element.
 String TypedSeleniumImpl.getValue(ElementLocator<?> elementLocator)
           
 String TypedSelenium.getValue(ElementLocator<?> locator)
          Gets the (whitespace-trimmed) value of an input field (or anything else with a value parameter).
 void TypedSeleniumImpl.highlight(ElementLocator<?> elementLocator)
           
 void TypedSelenium.highlight(ElementLocator<?> locator)
          Briefly changes the backgroundColor of the specified element yellow.
 boolean TypedSeleniumImpl.isChecked(ElementLocator<?> elementLocator)
           
 boolean TypedSelenium.isChecked(ElementLocator<?> locator)
          Gets whether a toggle-button (checkbox/radio) is checked.
 boolean ExtendedTypedSeleniumImpl.isDisplayed(ElementLocator<?> elementLocator)
           
 boolean ExtendedTypedSelenium.isDisplayed(ElementLocator<?> elementLocator)
          Returns whether the element is displayed on the page.
 boolean TypedSeleniumImpl.isEditable(ElementLocator<?> elementLocator)
           
 boolean TypedSelenium.isEditable(ElementLocator<?> locator)
          Determines whether the specified input element is editable, ie hasn't been disabled.
 boolean TypedSeleniumImpl.isElementPresent(ElementLocator<?> elementLocator)
           
 boolean TypedSelenium.isElementPresent(ElementLocator<?> locator)
          Verifies that the specified element is somewhere on the page.
 boolean TypedSeleniumImpl.isOrdered(ElementLocator<?> elementLocator1, ElementLocator<?> elementLocator2)
           
 boolean TypedSeleniumImpl.isOrdered(ElementLocator<?> elementLocator1, ElementLocator<?> elementLocator2)
           
 boolean TypedSelenium.isOrdered(ElementLocator<?> locator1, ElementLocator<?> locator2)
          Check if these two elements have same parent and are ordered siblings in the DOM.
 boolean TypedSelenium.isOrdered(ElementLocator<?> locator1, ElementLocator<?> locator2)
          Check if these two elements have same parent and are ordered siblings in the DOM.
 boolean TypedSeleniumImpl.isSomethingSelected(ElementLocator<?> selectLocator)
           
 boolean TypedSelenium.isSomethingSelected(ElementLocator<?> selectLocator)
          Determines whether some option in a drop-down menu is selected.
 boolean TypedSeleniumImpl.isVisible(ElementLocator<?> elementLocator)
           
 boolean TypedSelenium.isVisible(ElementLocator<?> locator)
          Determines if the specified element is visible.
 void TypedSeleniumImpl.keyDown(ElementLocator<?> elementLocator, String keySequence)
           
 void TypedSelenium.keyDown(ElementLocator<?> locator, String keySequence)
          Simulates a user pressing a key (without releasing it yet).
 void TypedSeleniumImpl.keyPress(ElementLocator<?> elementLocator, String keySequence)
           
 void TypedSelenium.keyPress(ElementLocator<?> locator, String keySequence)
          Simulates a user pressing and releasing a key.
 void TypedSeleniumImpl.keyUp(ElementLocator<?> elementLocator, String keySequence)
           
 void TypedSelenium.keyUp(ElementLocator<?> locator, String keySequence)
          Simulates a user releasing a key.
 void TypedSeleniumImpl.mouseDown(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseDown(ElementLocator<?> locator)
          Simulates a user pressing the left mouse button (without releasing it yet) on the specified element.
 void TypedSeleniumImpl.mouseDownAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.mouseDownAt(ElementLocator<?> locator, Point coords)
          Simulates a user pressing the left mouse button (without releasing it yet) at the specified location.
 void TypedSeleniumImpl.mouseDownRight(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseDownRight(ElementLocator<?> locator)
          Simulates a user pressing the right mouse button (without releasing it yet) on the specified element.
 void TypedSeleniumImpl.mouseDownRightAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.mouseDownRightAt(ElementLocator<?> locator, Point coords)
          Simulates a user pressing the right mouse button (without releasing it yet) at the specified location.
 void TypedSeleniumImpl.mouseMove(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseMove(ElementLocator<?> locator)
          Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
 void TypedSeleniumImpl.mouseMoveAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.mouseMoveAt(ElementLocator<?> locator, Point coords)
          Simulates a user pressing the mouse button (without releasing it yet) on the specified element.
 void TypedSeleniumImpl.mouseOut(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseOut(ElementLocator<?> locator)
          Simulates a user moving the mouse pointer away from the specified element.
 void ExtendedTypedSeleniumImpl.mouseOutAt(ElementLocator<?> elementLocator, Point point)
           
 void ExtendedTypedSelenium.mouseOutAt(ElementLocator<?> elementLocator, Point point)
          Simulates a user hovering a mouse out of the specified element at specific coordinates relative to element.
 void TypedSeleniumImpl.mouseOver(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseOver(ElementLocator<?> locator)
          Simulates a user hovering a mouse over the specified element.
 void ExtendedTypedSeleniumImpl.mouseOverAt(ElementLocator<?> elementLocator, Point point)
           
 void ExtendedTypedSelenium.mouseOverAt(ElementLocator<?> elementLocator, Point point)
          Simulates a user hovering a mouse over the specified element at specific coordinates relative to element.
 void TypedSeleniumImpl.mouseUp(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseUp(ElementLocator<?> locator)
          Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) on the specified element.
 void TypedSeleniumImpl.mouseUpAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.mouseUpAt(ElementLocator<?> locator, Point coords)
          Simulates the event that occurs when the user releases the mouse button (i.e., stops holding the button down) at the specified location.
 void TypedSeleniumImpl.mouseUpRight(ElementLocator<?> elementLocator)
           
 void TypedSelenium.mouseUpRight(ElementLocator<?> locator)
          Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) on the specified element.
 void TypedSeleniumImpl.mouseUpRightAt(ElementLocator<?> elementLocator, Point point)
           
 void TypedSelenium.mouseUpRightAt(ElementLocator<?> locator, Point coords)
          Simulates the event that occurs when the user releases the right mouse button (i.e., stops holding the button down) at the specified location.
 void TypedSeleniumImpl.removeAllSelections(ElementLocator<?> elementLocator)
           
 void TypedSelenium.removeAllSelections(ElementLocator<?> locator)
          Unselects all of the selected options in a multi-select element.
 void TypedSeleniumImpl.removeSelection(ElementLocator<?> elementLocator, OptionLocator<?> optionLocator)
           
 void TypedSelenium.removeSelection(ElementLocator<?> locator, OptionLocator<?> optionLocator)
          Remove a selection from the set of selected options in a multi-select element using an option locator.
 void ExtendedTypedSeleniumImpl.scrollIntoView(ElementLocator<?> elementLocator, boolean alignToTop)
           
 void ExtendedTypedSelenium.scrollIntoView(ElementLocator<?> elementLocator, boolean alignToTop)
          Aligns screen to top (resp.
 void TypedSeleniumImpl.select(ElementLocator<?> selectLocator, OptionLocator<?> optionLocator)
           
 void TypedSelenium.select(ElementLocator<?> selectLocator, OptionLocator<?> optionLocator)
          Select an option from a drop-down using an option locator.
 void TypedSeleniumImpl.setCursorPosition(ElementLocator<?> elementLocator, int position)
           
 void TypedSelenium.setCursorPosition(ElementLocator<?> locator, int position)
          Moves the text cursor to the specified position in the given input element or textarea.
 void TypedSeleniumImpl.submit(ElementLocator<?> formLocator)
           
 void TypedSelenium.submit(ElementLocator<?> formLocator)
          Submit the specified form.
 void TypedSeleniumImpl.type(ElementLocator<?> elementLocator, String value)
           
 void TypedSelenium.type(ElementLocator<?> locator, String value)
          Sets the value of an input field, as though you typed it in.
 void TypedSeleniumImpl.typeKeys(ElementLocator<?> elementLocator, String value)
           
 void TypedSelenium.typeKeys(ElementLocator<?> locator, String value)
          Simulates keystroke events on the specified element, as though you typed the value key-by-key.
 void TypedSeleniumImpl.uncheck(ElementLocator<?> elementLocator)
           
 void TypedSelenium.uncheck(ElementLocator<?> locator)
          Uncheck a toggle-button (checkbox/radio)
 

Uses of ElementLocator in org.jboss.test.selenium.framework.internal
 

Methods in org.jboss.test.selenium.framework.internal that return types with arguments of type ElementLocator
 List<ElementLocator<?>> UnsupportedTypedSelenium.getAllButtons()
          Returns the IDs of all buttons on the page.
 List<ElementLocator<?>> UnsupportedTypedSelenium.getAllFields()
          Returns the IDs of all input fields on the page.
 List<ElementLocator<?>> UnsupportedTypedSelenium.getAllLinks()
          Returns the IDs of all links on the page.
 

Methods in org.jboss.test.selenium.framework.internal with parameters of type ElementLocator
 void UnsupportedTypedSelenium.attachFile(ElementLocator<?> fieldLocator, File fileLocator)
          Sets a file input (upload) field to the file listed in fileLocator
 void UnsupportedTypedSelenium.attachFile(ElementLocator<?> fieldLocator, URL fileLocator)
          Sets a file input (upload) field to the file listed in fileLocator
 

Uses of ElementLocator in org.jboss.test.selenium.locator
 

Classes in org.jboss.test.selenium.locator with type parameters of type ElementLocator
 class AbstractElementLocator<T extends ElementLocator<T>>
          Abstract implementation of element locator able to derive attributes for itself.
 interface AttributeLocator<E extends ElementLocator<E>>
          Specific locator for attributes.
 class DefaultAttributeLocator<E extends ElementLocator<E>>
          Default implementation of locator for element's attributes.
 interface ElementLocator<T extends ElementLocator<T>>
          Locator for locating elements on page.
 

Subinterfaces of ElementLocator in org.jboss.test.selenium.locator
 interface CompoundableLocator<T extends CompoundableLocator<T>>
          Defines element locators which can be used to derive child and generally descendant elements by given locator by composition by composition.
 interface ExtendedLocator<T extends ExtendedLocator<T>>
          Locator which is iterable and compoundable - it means you can iterate through it's descendants ( IterableLocator) and can derive it's descendants using composition of locators (CompoundableLocator).
 interface IterableLocator<T extends IterableLocator<T>>
          Locator which can iterate over it's descendant.
 

Classes in org.jboss.test.selenium.locator that implement ElementLocator
 class AbstractElementLocator<T extends ElementLocator<T>>
          Abstract implementation of element locator able to derive attributes for itself.
 class CssLocator
           A element locator using CSS selectors.
 class DomLocator
           Find an element by evaluating the specified JavaScript expression.
 class IdentifierLocator
          Locates the element with the specified @id attribute.
 class IdLocator
          Locates the element with specified @id attribute.
 class JQueryLocator
           Locates the element using JQuery Selector syntax.
 class LinkLocator
          Locates the link (anchor) element which contains text matching the specified pattern.
 class NameLocator
          Locates the first element with the specified @name attribute.
 class XpathLocator
          Locates the element using XPath expression.
 

Methods in org.jboss.test.selenium.locator that return ElementLocator
 ElementLocator<T> ElementLocator.format(Object... args)
           
 ElementLocator<T> AbstractElementLocator.format(Object... args)
           
 ElementLocator<E> AttributeLocator.getAssociatedElement()
          Returns the underlying element what associates attribute given by this locator to
 ElementLocator<E> DefaultAttributeLocator.getAssociatedElement()
           
 

Constructors in org.jboss.test.selenium.locator with parameters of type ElementLocator
DefaultAttributeLocator(ElementLocator<E> elementLocator, Attribute attribute)
          Instantiates a attribute locator using given elementLocator and the specific attribute.
 

Uses of ElementLocator in org.jboss.test.selenium.waiting.conditions
 

Methods in org.jboss.test.selenium.waiting.conditions with parameters of type ElementLocator
 ElementPresent ElementPresent.locator(ElementLocator<?> elementLocator)
          Returns the ElementPresent instance with given elementLocator set.
 IsNotDisplayed IsNotDisplayed.locator(ElementLocator<?> elementLocator)
          Returns the IsNotDisplayed instance with given elementLocator set.
 IsDisplayed IsDisplayed.locator(ElementLocator<?> elementLocator)
          Returns the ElementPresent instance with given elementLocator set.
 StyleEquals StyleEquals.locator(ElementLocator<?> elementLocator)
           Returns the StyleEquals instance with given elementLocator set.
 TextEquals TextEquals.locator(ElementLocator<?> elementLocator)
           Returns the TextEquals instance with given elementLocator set.
 

Uses of ElementLocator in org.jboss.test.selenium.waiting.retrievers
 

Methods in org.jboss.test.selenium.waiting.retrievers with parameters of type ElementLocator
 TextRetriever TextRetriever.locator(ElementLocator<?> elementLocator)
          Gets a TextRetriever object preset with elementLocator to given value.
 



Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.