Graphene Implementation 1.0.0.CR3

org.jboss.arquillian.ajocado.framework
Class ExtendedTypedSeleniumImpl

java.lang.Object
  extended by org.jboss.arquillian.ajocado.framework.TypedSeleniumImpl
      extended by org.jboss.arquillian.ajocado.framework.ExtendedTypedSeleniumImpl
All Implemented Interfaces:
ExtendedTypedSelenium, UnsupportedTypedSelenium, TypedSelenium
Direct Known Subclasses:
GrapheneSeleniumImpl

public class ExtendedTypedSeleniumImpl
extends TypedSeleniumImpl
implements ExtendedTypedSelenium

Type-safe selenium wrapper for Selenium API with extension of some useful commands defined in ExtendedSelenium

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
ExtendedTypedSeleniumImpl()
           
 
Method Summary
 boolean belongsClass(ElementLocator<?> elementLocator, String className)
           
 void check(ElementLocator<?> locator, boolean checked)
           
 void doCommand(String command, String param1, String param2)
           
 int getCount(IterableLocator<?> locator)
           
protected  ExtendedSelenium getExtendedSelenium()
           
<R,T extends CssResolver<R>>
R
getStyle(ElementLocator<?> elementLocator, T cssResolver)
           
 boolean isAttributePresent(AttributeLocator<?> attributeLocator)
           
 boolean isStarted()
           
 void mouseOutAt(ElementLocator<?> elementLocator, Point point)
           
 void mouseOverAt(ElementLocator<?> elementLocator, Point point)
           
 void scrollIntoView(ElementLocator<?> elementLocator, boolean alignToTop)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.jboss.arquillian.ajocado.framework.TypedSeleniumImpl
addCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, attachFile, captureEntirePageScreenshot, captureEntirePageScreenshot, captureNetworkTraffic, captureScreenshot, captureScreenshot, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, containsScript, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, fireEvent, focus, getAlert, getAllButtons, getAllCookies, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, getAttribute, getAttribute, getAttributeFromAllWindows, getBodyText, getConfirmation, getCookieByName, getCursorPosition, getElementDimension, getElementHeight, getElementIndex, getElementPosition, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getText, getTitle, getValue, getWhetherThisFrameMatchFrameExpression, getWhetherThisWindowMatchWindowExpression, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDown, keyDownNative, keyPress, keyPress, keyPressNative, keyUp, keyUp, keyUpNative, logToBrowser, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setCursorPosition, setExtensionJs, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, shutDownSeleniumServer, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForCondition, waitForFrameToLoad, waitForFrameToLoad, waitForPageToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.arquillian.ajocado.framework.TypedSelenium
addCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, captureEntirePageScreenshot, captureNetworkTraffic, captureScreenshot, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, containsScript, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, fireEvent, focus, getAlert, getAllCookies, getAllWindowIds, getAttribute, getAttribute, getBodyText, getConfirmation, getCookieByName, getCursorPosition, getElementDimension, getElementHeight, getElementIndex, getElementPosition, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getHtmlSource, getLocation, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getText, getTitle, getValue, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDown, keyDownNative, keyPress, keyPress, keyPressNative, keyUp, keyUp, keyUpNative, logToBrowser, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, open, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setCursorPosition, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, shutDownSeleniumServer, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForCondition, waitForFrameToLoad, waitForFrameToLoad, waitForPageToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize
 

Constructor Detail

ExtendedTypedSeleniumImpl

public ExtendedTypedSeleniumImpl()
Method Detail

getExtendedSelenium

protected ExtendedSelenium getExtendedSelenium()

isStarted

public boolean isStarted()
Specified by:
isStarted in interface ExtendedTypedSelenium

start

public void start()
Specified by:
start in interface TypedSelenium
Overrides:
start in class TypedSeleniumImpl

stop

public void stop()
Specified by:
stop in interface TypedSelenium
Overrides:
stop in class TypedSeleniumImpl

getStyle

public <R,T extends CssResolver<R>> R getStyle(ElementLocator<?> elementLocator,
                                               T cssResolver)
Specified by:
getStyle in interface ExtendedTypedSelenium

scrollIntoView

public void scrollIntoView(ElementLocator<?> elementLocator,
                           boolean alignToTop)
Specified by:
scrollIntoView in interface ExtendedTypedSelenium

mouseOverAt

public void mouseOverAt(ElementLocator<?> elementLocator,
                        Point point)
Specified by:
mouseOverAt in interface ExtendedTypedSelenium

mouseOutAt

public void mouseOutAt(ElementLocator<?> elementLocator,
                       Point point)
Specified by:
mouseOutAt in interface ExtendedTypedSelenium

belongsClass

public boolean belongsClass(ElementLocator<?> elementLocator,
                            String className)
Specified by:
belongsClass in interface ExtendedTypedSelenium

isAttributePresent

public boolean isAttributePresent(AttributeLocator<?> attributeLocator)
Specified by:
isAttributePresent in interface ExtendedTypedSelenium

getCount

public int getCount(IterableLocator<?> locator)
Specified by:
getCount in interface ExtendedTypedSelenium
Specified by:
getCount in interface TypedSelenium
Overrides:
getCount in class TypedSeleniumImpl

check

public void check(ElementLocator<?> locator,
                  boolean checked)
Specified by:
check in interface ExtendedTypedSelenium

doCommand

public void doCommand(String command,
                      String param1,
                      String param2)
Specified by:
doCommand in interface ExtendedTypedSelenium

Graphene Implementation 1.0.0.CR3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.