|
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 |
java.lang.Object com.rational.test.ft.object.interfaces.TestObject com.rational.test.ft.object.interfaces.ClientTestObject com.rational.test.ft.object.interfaces.GuiTestObject com.rational.test.ft.object.interfaces.flex.FlexObjectTestObject
public class FlexObjectTestObject
Field Summary |
---|
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
---|
ref |
Constructor Summary | |
---|---|
FlexObjectTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
|
|
FlexObjectTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
|
|
FlexObjectTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
|
|
FlexObjectTestObject(TestObject obj)
|
|
FlexObjectTestObject(com.rational.test.ft.object.TestObjectReference ref)
|
Method Summary | |
---|---|
void |
changeFocus()
|
void |
changeFocus(boolean shiftKey)
|
void |
changeFocus(boolean shiftKey, java.lang.String keyCode)
|
void |
changeFocus(java.lang.String keyCode)
|
void |
click()
Performs a left-mouse click on the center point of the associated TestObject . |
void |
click(FlexKeyModifiers modifiers)
|
void |
click(MouseModifiers modifiers)
Performs a left-mouse click on the specified object, relative to the coordinates within the associated TestObject . |
FlexObjectTestObject |
getAutomationChildAt(int childIndex)
This method returns the child/subitem at the given indexof a control. |
protected java.lang.Object |
invokeProxyWithGuiDelay(java.lang.String method)
Invokes a method on the proxy for an object in the software under test. |
protected java.lang.Object |
invokeProxyWithGuiDelay(java.lang.String method, java.lang.String methodSignature, java.lang.Object[] args)
Invokes a method on the proxy for an object in the software under test. |
void |
performAction(java.lang.String eventName)
This method is generated while recording on a custom control without creating a proxy for it. |
void |
performAction(java.lang.String eventName, java.lang.Object[] eventArgs)
This method is generated while recording on a custom control without creating a proxy for it. |
void |
performAction(java.lang.String eventName, java.lang.String eventArgs)
This method is generated while recording on a custom control without creating a proxy for it. |
void |
performAction(java.lang.String eventName, java.lang.String arg1, java.lang.String arg2)
This method is generated while recording on a custom control without creating a proxy for it. |
void |
performAction(java.lang.String eventName, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)
This method is generated while recording on a custom control without creating a proxy for it. |
void |
performAction(java.lang.String eventName, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)
This method is generated while recording on a custom control without creating a proxy for it. |
boolean |
performTest(IFtVerificationPoint baseline)
Captures, compares and logs active data available relative to this object instance against the supplied baseline data. |
void |
setFocus()
|
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject |
---|
canTakeVP, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Methods inherited from class com.rational.test.ft.object.interfaces.ClientTestObject |
---|
exists, find, find, findAndInvoke, findAndInvokeProxy, invoke, invokeProxy, unregister, waitForExistence |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlexObjectTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public FlexObjectTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public FlexObjectTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public FlexObjectTestObject(com.rational.test.ft.object.TestObjectReference ref)
public FlexObjectTestObject(TestObject obj)
Method Detail |
---|
protected java.lang.Object invokeProxyWithGuiDelay(java.lang.String method, java.lang.String methodSignature, java.lang.Object[] args)
GuiTestObject
delayBeforeGuiAction
.
Note that invokeProxyWithGuiDelay
can directly modify the object in the software under test. Whenever possible, avoid using this method, because it enables you to modify the software under test in ways that a typical user cannot. If you use it,
be sure to discuss its use with the developers of the software that you are testing.
If the returned object is not a value class, invoke
registers the object and returns a reference to the object in the software under test.
Registered object references are released by calling one of the unregister methods.
invokeProxyWithGuiDelay
in class GuiTestObject
method
- the name of the method to be calledmethodSignature
- the signature of the method to be called (using standard JNI syntax)args
- the arguments to be passed to the method ClientTestObject.unregister()
,
RationalTestScript.unregisterAll()
,
RationalTestScript.unregister(Object[])
,
RationalTestScript.getRegisteredTestObjects()
protected java.lang.Object invokeProxyWithGuiDelay(java.lang.String method)
GuiTestObject
delayBeforeGuiAction
.
Note that invokeProxyWithGuiDelay
can directly modify the object in the software under test. Whenever possible, avoid using this method, because it enables you to modify the software under test in ways that a typical user cannot. If you use it,
be sure to discuss its use with the developers of the software that you are testing.
If the returned object is not a value class, invoke
registers the object and returns a reference to the object in the software under test.
Registered object references are released by calling one of the unregister methods.
invokeProxyWithGuiDelay
in class GuiTestObject
method
- the name of the method to be called ClientTestObject.unregister()
,
RationalTestScript.unregisterAll()
,
RationalTestScript.unregister(Object[])
,
RationalTestScript.getRegisteredTestObjects()
public void click()
GuiTestObject
TestObject
.
This method is a shortcut to the click method with a modifier parameter. (The modifier is set to MOUSE_LEFT
.)
click
in interface IGraphical
click
in class GuiTestObject
public void click(MouseModifiers modifiers)
GuiTestObject
TestObject
.
click
in interface IGraphical
click
in class GuiTestObject
public void click(FlexKeyModifiers modifiers)
public void setFocus()
public void changeFocus()
public void changeFocus(boolean shiftKey, java.lang.String keyCode)
public void changeFocus(java.lang.String keyCode)
public void changeFocus(boolean shiftKey)
public void performAction(java.lang.String eventName)
eventName
- - the actual eventname/ action performedpublic void performAction(java.lang.String eventName, java.lang.Object[] eventArgs)
eventName
- - the actual eventname/ action performedeventArgs
- - the argument array associated with the action performed - this is used to write the script manually for passing more than 4 argumentspublic void performAction(java.lang.String eventName, java.lang.String eventArgs)
eventName
- - the actual eventname/ action performedeventArgs
- - the argument associated with the action performedpublic void performAction(java.lang.String eventName, java.lang.String arg1, java.lang.String arg2)
eventName
- - the actual eventname/ action performedarg1
- - the argument associated with the action performedarg2
- - the argument associated with the action performedpublic void performAction(java.lang.String eventName, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3)
eventName
- - the actual eventname/ action performedarg1
- - the argument associated with the action performedarg2
- - the argument associated with the action performedarg3
- - the argument associated with the action performedpublic void performAction(java.lang.String eventName, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4)
eventName
- - the actual eventname/ action performedarg1
- - the argument associated with the action performedarg2
- - the argument associated with the action performedarg3
- - the argument associated with the action performedarg4
- - the argument associated with the action performedpublic FlexObjectTestObject getAutomationChildAt(int childIndex)
childIndex
- index at which the item is being retrieved public boolean performTest(IFtVerificationPoint baseline)
TestObject
performTest
in class TestObject
true
value is returned if the passing result is logged, otherwise false
is returned.TestObject.performTest(IFtVerificationPoint,boolean)
,
TestObject.performTest(IFtVerificationPoint,double,double)
,
TestObject.performTest(IFtVerificationPoint,double,double,boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |