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 QAFWebElementCommandListener
public void beforeCommand(QAFExtendedWebElement element, CommandTracker commandTracker)
QAFWebElementCommandListener
CommandTracker.setResponce(Response)
beforeCommand
in interface QAFWebElementCommandListener
public void onFailure(QAFExtendedWebElement element, CommandTracker commandTracker)
QAFWebElementCommandListener
CommandTracker.getStage()
onFailure
in interface QAFWebElementCommandListener
protected void execute(QAFExtendedWebElement element, CommandTracker commandTracker)
element
- commandTracker
- protected void executeWithoutLog(QAFExtendedWebElement element, CommandTracker commandTracker)
element
- commandTracker
- Copyright © 2000 Infostretch Corp.