|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoggingSelenium
Extends Selenium with ability to log comments and write the log.
Method Summary | |
---|---|
void |
logAssertion(java.lang.String assertionName,
java.lang.String assertionMessage,
java.lang.String assertionCondition)
Log an assertion. |
void |
logAutomaticScreenshot(java.lang.String baseName)
Take a screen shot and write the location to the log. |
void |
logComment(java.lang.String comment)
Extension of Selenium to provide ability to log comments. |
void |
logResource(java.lang.String description,
java.lang.String pathFile)
Log an resource (binary) file. |
Methods inherited from interface com.thoughtworks.selenium.Selenium |
---|
addLocationStrategy, addSelection, allowNativeXpath, altKeyDown, altKeyUp, answerOnNextPrompt, assignId, attachFile, captureEntirePageScreenshot, captureScreenshot, check, chooseCancelOnNextConfirmation, chooseOkOnNextConfirmation, click, clickAt, close, contextMenu, contextMenuAt, controlKeyDown, controlKeyUp, createCookie, deleteAllVisibleCookies, deleteCookie, 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, mouseMove, mouseMoveAt, mouseOut, mouseOver, mouseUp, mouseUpAt, open, openWindow, refresh, removeAllSelections, removeSelection, runScript, select, selectFrame, selectWindow, setBrowserLogLevel, setContext, setCursorPosition, setMouseSpeed, setSpeed, setTimeout, shiftKeyDown, shiftKeyUp, shutDownSeleniumServer, start, stop, submit, type, typeKeys, uncheck, waitForCondition, waitForFrameToLoad, waitForPageToLoad, waitForPopUp, windowFocus, windowMaximize |
Method Detail |
---|
void logComment(java.lang.String comment)
comment
- the comment to be handled by the used formattervoid logAutomaticScreenshot(java.lang.String baseName)
baseName
- middle part of the generated filename. can be extended (with e.g. a timestamp) by the used
LoggingResultsFormatter.void logAssertion(java.lang.String assertionName, java.lang.String assertionMessage, java.lang.String assertionCondition)
assertionName
- Name of the thrown assertionassertionMessage
- Message of the thrown assertionassertionCondition
- Failed condition which led to this assertion.void logResource(java.lang.String description, java.lang.String pathFile)
description
- A text that describes the reourcepathFile
- Full path and file to the resource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |