org.simplium
Class SimpliumDefaultSelenium

java.lang.Object
  extended by com.thoughtworks.selenium.DefaultSelenium
      extended by org.simplium.SimpliumDefaultSelenium
All Implemented Interfaces:
com.thoughtworks.selenium.Selenium

public class SimpliumDefaultSelenium
extends com.thoughtworks.selenium.DefaultSelenium

Used to override the DefaultSelenium implementation with Simplium specific behaviour.

Currently only the open command is overriden to make sure that the base url isn't used to open a browser.

A number of convient method will be available through this class.


Field Summary
 
Fields inherited from class com.thoughtworks.selenium.DefaultSelenium
commandProcessor
 
Constructor Summary
SimpliumDefaultSelenium(java.lang.String aServerHost, int aServerPort, java.lang.String aBrowserCommand, java.lang.String aBaseURL, Delay aDelay, Timeout aTimeout)
          Creates a new instance of the SimpliumDefaultSelenium.
 
Method Summary
 void open(java.lang.String aUrl)
           
 
Methods inherited from class com.thoughtworks.selenium.DefaultSelenium
addCustomRequestHeader, addLocationStrategy, addScript, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, captureEntirePageScreenshot, captureEntirePageScreenshotToString, captureNetworkTraffic, captureScreenshot, captureScreenshotToString, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, deleteAllVisibleCookies, deleteCookie, deselectPopUp, doubleClick, doubleClickAt, dragAndDrop, dragAndDropToObject, dragdrop, fireEvent, focus, getAlert, getAllButtons, getAllFields, getAllLinks, getAllWindowIds, getAllWindowNames, getAllWindowTitles, getAttribute, getAttributeFromAllWindows, getBodyText, getConfirmation, getCookie, getCookieByName, getCursorPosition, getElementHeight, getElementIndex, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getMouseSpeed, getPrompt, getSelectedId, getSelectedIds, getSelectedIndex, getSelectedIndexes, getSelectedLabel, getSelectedLabels, getSelectedValue, getSelectedValues, getSelectOptions, getSpeed, getTable, getText, getTitle, getValue, getWhetherThisFrameMatchFrameExpression, getWhetherThisWindowMatchWindowExpression, getXpathCount, goBack, highlight, ignoreAttributesWithoutValue, isAlertPresent, isChecked, isConfirmationPresent, isCookiePresent, isEditable, isElementPresent, isOrdered, isPromptPresent, isSomethingSelected, isTextPresent, isVisible, keyDown, keyDownNative, keyPress, keyPressNative, keyUp, keyUpNative, metaKeyDown, metaKeyUp, mouseDown, mouseDownAt, mouseDownRight, mouseDownRightAt, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, mouseUpRight, mouseUpRightAt, openWindow, refresh, removeAllSelections, removeScript, removeSelection, retrieveLastRemoteControlLogs, rollup, runScript, select, selectFrame, selectPopUp, selectWindow, setBrowserLogLevel, setContext, setCursorPosition, setExtensionJs, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, showContextualBanner, showContextualBanner, shutDownSeleniumServer, start, start, start, stop, submit, type, typeKeys, uncheck, useXpathLibrary, waitForCondition, waitForFrameToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpliumDefaultSelenium

public SimpliumDefaultSelenium(java.lang.String aServerHost,
                               int aServerPort,
                               java.lang.String aBrowserCommand,
                               java.lang.String aBaseURL,
                               Delay aDelay,
                               Timeout aTimeout)
Creates a new instance of the SimpliumDefaultSelenium.

Parameters:
aServerHost - The host where the Selnium remote control or grid is available.
aServerPort - The port where the Selnium remote control or grid is listing.
aBrowserCommand - The Browser to execute the test in.
aBaseURL - The base URL where the test should be executed against.
aDelay - The number of milliseconds the selenium command should be delay with.
aTimeout - The timeout time to use.
Method Detail

open

public void open(java.lang.String aUrl)
Specified by:
open in interface com.thoughtworks.selenium.Selenium
Overrides:
open in class com.thoughtworks.selenium.DefaultSelenium