org.anadix.utils
Class AnadixSelenium

java.lang.Object
  extended by com.thoughtworks.selenium.DefaultSelenium
      extended by org.anadix.utils.AnadixSelenium
All Implemented Interfaces:
com.thoughtworks.selenium.Selenium

public class AnadixSelenium
extends com.thoughtworks.selenium.DefaultSelenium


Field Summary
 
Fields inherited from class com.thoughtworks.selenium.DefaultSelenium
commandProcessor
 
Constructor Summary
AnadixSelenium(com.thoughtworks.selenium.CommandProcessor processor)
           
AnadixSelenium(String serverHost, int serverPort, String browserStartCommand, String browserURL)
           
 
Method Summary
 void analyzeStoredPages()
           
 void analyzeStoredPages(Analyzer analyzer)
           
 void click(String locator)
           
 void clickAt(String locator, String coordString)
           
 void dispose()
           
 void dumpReports()
           
 void dumpReports(ReportFormatter formatter)
           
 MultithreadedAnalyzer getAnalyzer()
           
 Collection<Throwable> getExceptions()
           
 File getReportsDir()
           
 File getSourcesDir()
           
 Collection<Report> getStoredReports()
           
 Collection<Source> getStoredSources()
           
 void setAnalyzer(Analyzer analyzer)
           
 void setReportsDir(File reportsDir)
           
 void setSourcesDir(File sourcesDir)
           
 void submit(String formLocator)
           
 
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, 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, getCssCount, getCursorPosition, getElementHeight, getElementIndex, getElementPositionLeft, getElementPositionTop, getElementWidth, getEval, getExpression, getHtmlSource, getLocation, getLog, 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, open, open, 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, 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

AnadixSelenium

public AnadixSelenium(com.thoughtworks.selenium.CommandProcessor processor)

AnadixSelenium

public AnadixSelenium(String serverHost,
                      int serverPort,
                      String browserStartCommand,
                      String browserURL)
Method Detail

click

public void click(String locator)
Specified by:
click in interface com.thoughtworks.selenium.Selenium
Overrides:
click in class com.thoughtworks.selenium.DefaultSelenium

clickAt

public void clickAt(String locator,
                    String coordString)
Specified by:
clickAt in interface com.thoughtworks.selenium.Selenium
Overrides:
clickAt in class com.thoughtworks.selenium.DefaultSelenium

submit

public void submit(String formLocator)
Specified by:
submit in interface com.thoughtworks.selenium.Selenium
Overrides:
submit in class com.thoughtworks.selenium.DefaultSelenium

analyzeStoredPages

public void analyzeStoredPages()
                        throws InstantiationException
Throws:
InstantiationException

analyzeStoredPages

public void analyzeStoredPages(Analyzer analyzer)

getStoredSources

public Collection<Source> getStoredSources()

getStoredReports

public Collection<Report> getStoredReports()

getExceptions

public Collection<Throwable> getExceptions()

dumpReports

public void dumpReports()

dumpReports

public void dumpReports(ReportFormatter formatter)

getSourcesDir

public File getSourcesDir()

setSourcesDir

public void setSourcesDir(File sourcesDir)

getReportsDir

public File getReportsDir()

setReportsDir

public void setReportsDir(File reportsDir)

getAnalyzer

public MultithreadedAnalyzer getAnalyzer()

setAnalyzer

public void setAnalyzer(Analyzer analyzer)

dispose

public void dispose()


Copyright © 2012. All Rights Reserved.