public class QAFListenerAdapter extends QAFWebDriverCommandAdapter implements QAFWebElementCommandListener, QAFWebDriverCommandListener, QAFTestStepListener
ApplicationProperties.QAF_LISTENERS| Constructor and Description |
|---|
QAFListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommand(QAFExtendedWebElement element,
CommandTracker commandTracker) |
void |
afterExecute(StepExecutionTracker stepExecutionTracker) |
void |
beforeCommand(QAFExtendedWebElement element,
CommandTracker commandTracker)
This can be used as intercepter.
|
void |
beforExecute(StepExecutionTracker stepExecutionTracker)
This method will be called before execution of test step.
|
void |
onFailure(QAFExtendedWebElement element,
CommandTracker commandTracker)
This can be used to propagate exception.
|
void |
onFailure(StepExecutionTracker stepExecutionTracker)
This method will called when ever step failed.
|
afterCommand, beforeCommand, beforeInitialize, execute, onFailure, onInitializationFailure, onInitializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCommand, beforeCommand, beforeInitialize, onFailure, onInitializationFailure, onInitializepublic void onFailure(StepExecutionTracker stepExecutionTracker)
QAFTestStepListeneronFailure in interface QAFTestStepListenerQAFTestSteppublic void beforExecute(StepExecutionTracker stepExecutionTracker)
QAFTestStepListenerbeforExecute in interface QAFTestStepListenerpublic void afterExecute(StepExecutionTracker stepExecutionTracker)
afterExecute in interface QAFTestStepListenerpublic void beforeCommand(QAFExtendedWebElement element, CommandTracker commandTracker)
QAFWebElementCommandListenerCommandTracker.setResponce(Response)beforeCommand in interface QAFWebElementCommandListenerpublic void afterCommand(QAFExtendedWebElement element, CommandTracker commandTracker)
afterCommand in interface QAFWebElementCommandListenerpublic void onFailure(QAFExtendedWebElement element, CommandTracker commandTracker)
QAFWebElementCommandListenerCommandTracker.getStage()onFailure in interface QAFWebElementCommandListenerCopyright © 2000 Infostretch Corp.