|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlexDisplayObject
FlexDisplayObject, FlexListLabel elements can be constructed using create API of IScriptEngine interface.
The return value is an instance of FlexDisplayObject
interface.
Once FlexDisplayObject is created, you can play events on it.
FlexObject
,
FlexDisplayObject
Method Summary | |
---|---|
void |
addAttribute(java.lang.String sAttributeName,
java.lang.String sAttributeValue,
boolean bIgnore,
boolean bValidate,
java.lang.String testParameterName)
Each Web or Window Element has a set of attributes, which are used to find the desired element during execution This method is used to add a attribute to the event |
boolean |
click(int keyModifier)
To simulate click event on flex element |
boolean |
mouseMove(int localX,
int localY,
int keyModifier)
To simulate mouse move event on flex element |
void |
setBreakPoint(boolean bBreakPoint)
This method should be called to set a breakpoint before executing task. |
void |
setIgnored(boolean bIgnore)
This method should be called to ignore a task during execution. |
void |
setImagePath(java.lang.String sImagePath)
This is used to set the event's image path. |
void |
setThinkTime(int iThinkTime)
Delay in seconds before the task is actually executed. |
void |
setTitle(java.lang.String sTitle)
This method is used to set the event's title |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
void addAttribute(java.lang.String sAttributeName, java.lang.String sAttributeValue, boolean bIgnore, boolean bValidate, java.lang.String testParameterName)
sAttributeName
- name of the attributesAttributeValue
- value of the attributebIgnore
- true
if this attribute should be ignored;
false
otherwise.bValidate
- true
if this attribute should be validated;
false
otherwise.testParameterName
- name of the TestParameter if the attribute value is parameterizedboolean click(int keyModifier)
keyModifier
-
boolean mouseMove(int localX, int localY, int keyModifier)
localX
- localY
- keyModifier
-
void setBreakPoint(boolean bBreakPoint)
bBreakPoint
- true
if breakpoint should be set;
false
otherwise.void setIgnored(boolean bIgnore)
setIgnored
in interface IScript
bIgnore
- true
if this task should be ignored;
false
otherwise.void setImagePath(java.lang.String sImagePath)
sImagePath
- file path of the event's image saved on disk.void setThinkTime(int iThinkTime)
setThinkTime
in interface IScript
iThinkTime
- no of seconds the engine waits before the task is actually
executed.void setTitle(java.lang.String sTitle)
sTitle
- title of the event
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |