public class QAFListenerAdapter extends QAFWebDriverCommandAdapter implements QAFWebElementCommandListener, QAFWebDriverCommandListener, QAFTestStepListener, QAFDataProviderIntercepter
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 |
beforeFech(TestNGScenario scenario,
org.testng.ITestContext context)
This method will be called before fetching the data from data-provider.
|
void |
beforExecute(StepExecutionTracker stepExecutionTracker)
This method will be called before execution of test step.
|
java.util.List<java.lang.Object[]> |
intercept(TestNGScenario scenario,
org.testng.ITestContext context,
java.util.List<java.lang.Object[]> testdata)
This method will called after test data fetched from the data-provider
after applied filter and data-conversion if any.
|
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 QAFWebElementCommandListenerpublic java.util.List<java.lang.Object[]> intercept(TestNGScenario scenario, org.testng.ITestContext context, java.util.List<java.lang.Object[]> testdata)
QAFDataProviderIntercepterintercept in interface QAFDataProviderIntercepterpublic void beforeFech(TestNGScenario scenario, org.testng.ITestContext context)
QAFDataProviderIntercepterbeforeFech in interface QAFDataProviderIntercepterCopyright © 2000 Infostretch Corp.