public class QAFWebElementCommandAdapter extends java.lang.Object implements QAFWebElementCommandListener
QAFWebElementCommandListener.All the methods takes
care to prevents iterative call.| Constructor and Description |
|---|
QAFWebElementCommandAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommand(QAFExtendedWebElement element,
CommandTracker commandTracker) |
void |
beforeCommand(QAFExtendedWebElement element,
CommandTracker commandTracker)
This can be used as intercepter.
|
protected void |
execute(QAFExtendedWebElement element,
CommandTracker commandTracker)
enables to execute command on element.
|
protected void |
executeWithoutLog(QAFExtendedWebElement element,
CommandTracker commandTracker)
enables to execute command on element.
|
void |
onFailure(QAFExtendedWebElement element,
CommandTracker commandTracker)
This can be used to propagate exception.
|
public void afterCommand(QAFExtendedWebElement element, CommandTracker commandTracker)
afterCommand in interface QAFWebElementCommandListenerpublic void beforeCommand(QAFExtendedWebElement element, CommandTracker commandTracker)
QAFWebElementCommandListenerCommandTracker.setResponce(Response)beforeCommand in interface QAFWebElementCommandListenerpublic void onFailure(QAFExtendedWebElement element, CommandTracker commandTracker)
QAFWebElementCommandListenerCommandTracker.getStage()onFailure in interface QAFWebElementCommandListenerprotected void execute(QAFExtendedWebElement element, CommandTracker commandTracker)
element - commandTracker - protected void executeWithoutLog(QAFExtendedWebElement element, CommandTracker commandTracker)
element - commandTracker - Copyright © 2000 Infostretch Corp.