|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPlaybackMonitor
The interface containing playback monitoring methods used during script playback.
There is a related interface IPlaybackMonitorDisplay that defines the display methods of a script playback monitor
Field Summary | |
---|---|
static int |
LAST_STATE
This is not a valid state. |
static int |
LINE_NUM_UNKNOWN
It is not known what line in the script is currently executing |
static int |
RUNNING
Running (i.e. |
static int |
START_APP
Starting an application |
static int |
TYPING
Doing key input |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the description of the currently executing statement. |
boolean |
getDisplayLocked()
Get the lock state of the monitor's display fields. |
void |
pause()
Put the monitor UI in the "paused" state. |
void |
resetDescription()
Reset to the base RUNNING state |
void |
resume()
Resume the monitor UI from the paused state. |
void |
setDescription(int state,
java.lang.String additionalText)
Set the description of the currently executing statement |
void |
setDisplayLocked(boolean lockState)
Lock (or unlock) the displayfields so the contents can not be changed. |
void |
setFinding(boolean state)
Set whether currently trying to find an object |
void |
setScriptLine(int line)
Set the line in the script currently executing |
void |
setScriptName(java.lang.String scriptName)
Set the name of the script being played back |
void |
setVisible(boolean visible)
Set the monitor to the said visible state |
void |
setWaiting(boolean state)
Set whether the playback engine is waiting (e.g. |
void |
stop()
Put the monitor UI in the "stopping" state. |
Field Detail |
---|
static final int LINE_NUM_UNKNOWN
static final int RUNNING
static final int TYPING
static final int START_APP
static final int LAST_STATE
Unfortunately interfaces cannot define protected or private values.
Keep this value up to date!
It is used for additional states which are defined in PlaybackMonitorAdapter.
Method Detail |
---|
void setScriptName(java.lang.String scriptName)
scriptName
- The script namevoid setScriptLine(int line)
lineNum
- The currently executing line number
or (@link #LINE_NUM_UNKNOWN) if unknownvoid resetDescription()
void setDescription(int state, java.lang.String additionalText)
state
- The state (this selects a stock message)
#RUNNING, @link #TYPING, @link #START_APP
additionalText
- Additional text appended to the stock message.java.lang.String getDescription()
void setDisplayLocked(boolean lockState)
lockState
- true to lock the display, false to unlockboolean getDisplayLocked()
void setFinding(boolean state)
state
- true - searching, false - notvoid setWaiting(boolean state)
state
- true - waiting, false - notvoid pause()
void resume()
void stop()
void setVisible(boolean visible)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |