public class SeleniumCommandLogger extends java.lang.Object implements SeleniumCommandListener
This is internal listener used by the framework to prepare selenium command log that is available in html report. By default it will exclude ["getHtmlSource", "captureEntirePageScreenshotToString", "executeScript", "screenshot"] commands. To exclude command in reporter log you can provide "reporter.log.exclude.commands" property.
ApplicationProperties.REPORTER_LOG_EXCLUDE_CMD| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<LoggingBean> |
commandLog |
protected java.util.Set<java.lang.String> |
excludeCommandsFromLogging |
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
SeleniumCommandLogger(java.util.ArrayList<LoggingBean> commandLog) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommand(QAFCommandProcessor proc,
SeleniumCommandTracker commandTracker)
This method is invoked after doCommand by command processor
|
void |
beforeCommand(QAFCommandProcessor proc,
SeleniumCommandTracker commandTracker)
This method is invoked before doCommand by command processor
|
void |
clear() |
java.util.List<LoggingBean> |
getLog() |
protected boolean |
isCommandExcludedFromLogging(java.lang.String commandName) |
protected java.util.ArrayList<LoggingBean> commandLog
protected final org.apache.commons.logging.Log logger
protected java.util.Set<java.lang.String> excludeCommandsFromLogging
public SeleniumCommandLogger(java.util.ArrayList<LoggingBean> commandLog)
public void afterCommand(QAFCommandProcessor proc, SeleniumCommandTracker commandTracker)
SeleniumCommandListenerafterCommand in interface SeleniumCommandListenerpublic void beforeCommand(QAFCommandProcessor proc, SeleniumCommandTracker commandTracker)
SeleniumCommandListenerbeforeCommand in interface SeleniumCommandListenerpublic void clear()
public java.util.List<LoggingBean> getLog()
protected boolean isCommandExcludedFromLogging(java.lang.String commandName)
Copyright © 2000 Infostretch Corp.