|
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 IWpfGraphical
Method Summary | |
---|---|
void |
click(DPoint pt)
Clicks at a given DPoint |
void |
click(MouseModifiers modifiers,
DPoint pt)
Performs a click on the specified coordinates, relative to the associated TestObject. |
void |
doubleClick(DPoint pt)
Performs a left-mouse double-click on the specified DPoint |
void |
doubleClick(MouseModifiers modifiers,
DPoint pt)
Performs a double-click on the specified coordinates, relative to the associated TestObject |
void |
drag(DPoint pt1,
DPoint pt2)
Performs a (left button) mouse drag action against the associated TestObject. |
void |
drag(MouseModifiers modifiers,
DPoint pt1,
DPoint pt2)
Performs a mouse drag action against the associated TestObject |
void |
dragToScreenPoint(DPoint screenPt)
Performs a drag to the specified DPoint on the screen |
void |
dragToScreenPoint(DPoint objectPt,
DPoint screenPt)
Performs a drag from an object point to a screen point |
void |
dragToScreenPoint(MouseModifiers modifiers,
DPoint objectPt,
DPoint screenPt)
Performs a drag from an object point to a screen point |
java.lang.Object |
getChildAtPoint(DPoint pt)
Finds the child object that is at the specified DPoint. |
java.awt.Point |
getScreenPoint(DPoint pt)
Returns the screen-relative Point, given an object relative DPoint. |
void |
hover(double secondDelay,
DPoint pt)
Hovers the mouse over the specified coordinates of the associated TestObject |
void |
hover(DPoint pt)
Hovers the mouse over the specified coordinates of the associated TestObject |
boolean |
isPointInObject(DPoint pt)
Determines whether the specified screen-relative DPoint is contained in the component under evaluation. |
void |
mouseMove(DPoint pt)
Performs a MOUSE_LEFT move action against the associated TestObject |
void |
mouseMove(MouseModifiers modifiers,
DPoint pt)
Performs a MOUSE_LEFT move action against the associated TestObject |
void |
nClick(int clickCount,
MouseModifiers modifiers,
DPoint pt)
Performs a mouse n-click action on the specified coordinates, relative to the associated TestObject. |
void |
nClickDrag(int clickCount,
MouseModifiers modifiers,
DPoint pt1,
DPoint pt2)
Performs a mouse n-click drag action from and to the specified coordinates, relative to the associated TestObject |
void |
nClickDragToScreenPoint(int clickCount,
MouseModifiers modifiers,
DPoint objectPt,
DPoint screenPt)
Performs a n-click drag from an object point to a screen point |
Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical |
---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Method Detail |
---|
boolean isPointInObject(DPoint pt)
pt
- - the screen relative DPoint which needs to checked
boolean - true
if the Dpoint is within the Object else false
IGraphical.getScreenRectangle()
method is
used to resolve this query, this is not accurate in certain situations. For example, if the clickable region on a
button is not rectangular, just checking whether the point is in the rectangle would not yield a valid result.java.lang.Object getChildAtPoint(DPoint pt)
pt
- - the DPoint where the child object is required
java.lang.Object
- The object at the point, or null
if no child object is found.getScreenRectangle()}
,
com.rational.test.ft.value.DPoint}
java.awt.Point getScreenPoint(DPoint pt)
pt
- - The object-relative DPoint
java.awt.Point
- The screen relative DPointcom.rational.test.ft.value.DPoint}
void click(DPoint pt)
pt
- - The DPoint where a click needs to be done.com.rational.test.ft.value.DPoint}
void click(MouseModifiers modifiers, DPoint pt)
pt:
- The DPoint where a click needs to be donemodifiers:
- MouseModifiers
object.MouseModifiers
com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
void doubleClick(DPoint pt)
pt:
- The DPoint where a click needs to be donecom.rational.test.ft.value.DPoint}
void doubleClick(MouseModifiers modifiers, DPoint pt)
pt:
- The DPoint where a double click needs to be done,modifiers:
- MouseModifiers
object.MouseModifiers
.com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
void nClick(int clickCount, MouseModifiers modifiers, DPoint pt)
clickCount
- - Number of clicks to be performed.modifiers
- - MouseModifiers
object to set the type of click.pt
- - The DPoint where a click needs to be done.MouseModifiers
com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
void drag(DPoint pt1, DPoint pt2)
pt1
- - The initial DPointpt2
- - The final DPointcom.rational.test.ft.value.DPoint}
void drag(MouseModifiers modifiers, DPoint pt1, DPoint pt2)
modifiers
- - MouseModifiers
object to set the type of dragpt1
- - The initial DPointpt2
- - The final DPointMouseModifiers
com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
void nClickDrag(int clickCount, MouseModifiers modifiers, DPoint pt1, DPoint pt2)
clickCount
- - number of clicks to be donemodifiers
- - MouseModifiers
object to set the type of dragpt1
- - The initial DPointpt2
- - The final DPointMouseModifiers
com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
void dragToScreenPoint(DPoint screenPt)
screenPt
- - The screen relative final DPointMOUSE_LEFT
drag action on the associated TestObject.
The action is performed from a valid point within this TestObject to
the screen-relative DPoint.com.rational.test.ft.value.DPoint}
void dragToScreenPoint(DPoint objectPt, DPoint screenPt)
objectPt
- - The initial DPoint on the Object, relative to the objectscreenPt
- - The final DPoint relative to the screen.MOUSE_LEFT
drag action against the associated TestObject.
The action is performed from a DPoint relative to this TestObject, to a DPoint relative to the screencom.rational.test.ft.value.DPoint}
void dragToScreenPoint(MouseModifiers modifiers, DPoint objectPt, DPoint screenPt)
modifiers
- - MouseModifiers
object to set the type of dragobjectPt
- - The initial DPoint on the Object, relative to the objectscreenPt
- - The final DPoint relative to the screen.com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
,
com.rational.test.ft.object.interfaces.GuiTestObject#dragToScreenPoint(MouseModifiers, java.awt.Point, java.awt.Point)
void nClickDragToScreenPoint(int clickCount, MouseModifiers modifiers, DPoint objectPt, DPoint screenPt)
clickCount
- - Number of clicks to be performed.modifiers
- - MouseModifiers
object to set the type of dragobjectPt
- - The initial DPoint on the Object, relative to the objectscreenPt
- - The final DPoint relative to the screen.com.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
,
com.rational.test.ft.object.interfaces.WPF.WpfGuiTestObject#dragToScreenPoint(MouseModifiers, DPoint, DPoint)
void mouseMove(DPoint pt)
com.rational.test.ft.value.DPoint}
void mouseMove(MouseModifiers modifiers, DPoint pt)
modifiers
- - MouseModifiers
objectpt
- - The final DPoint relative to the TestObjectcom.rational.test.ft.value.DPoint}
,
com.rational.test.ft.script.MouseModifiers}
void hover(DPoint pt)
pt
- - The Dpoint relative to the objectcom.rational.test.ft.value.DPoint}
void hover(double secondDelay, DPoint pt)
secondDelay
- - int
- The time period for Hover in seconds.pt
- - The Dpoint where Hover needs to done, relative to the object.com.rational.test.ft.value.DPoint}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |