IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.object.interfaces.WPF
Interface IWpfGraphicalSubitem

All Known Implementing Classes:
WpfFrameSubitemTestObject, WpfGuiSubitemTestObject, WpfRibbonMenuButtonTestObject, WpfSelectGuiSubitemTestObject, WpfStatelessGuiSubitemTestObject, WpfTextGuiSubitemTestObject, WpfTextSelectGuiSubitemTestObject, WpfTopLevelSubitemTestObject, WpfTrackbarTestObject

public interface IWpfGraphicalSubitem


Method Summary
 void click(MouseModifiers modifiers, Subitem subitem, DPoint pt)
          Performs a click on the specified DPoint relative to the associated subitem with a modifier parameter.
 void click(Subitem subitem, DPoint pt)
          Performs a left-mouse click on the specified DPoint relative to the associated subitem.
 void doubleClick(MouseModifiers modifiers, Subitem subitem, DPoint pt)
          Performs a double-click action on the specified DPoint relative to the associated subitem with a modifier parameter.
 void doubleClick(Subitem subitem, DPoint pt)
          Performs a left-mouse double-click action on the specified DPoint relative to the associated subitem.
 void drag(MouseModifiers modifiers, Subitem subitem1, DPoint pt1, Subitem subitem2, DPoint pt2)
          Performs a drag action on the associated subitem with the supplied set of mouse modifiers.
 void drag(Subitem subitem1, DPoint pt1, Subitem subitem2, DPoint pt2)
          Performs a (left button) mouse drag action against the associated TestObject.
 void dragToScreenPoint(MouseModifiers modifiers, Subitem subitem, DPoint screenPt)
          Performs a drag action on the associated subitem with the supplied set of mouse modifiers
 void dragToScreenPoint(MouseModifiers modifiers, Subitem subitem, DPoint subitemPt, DPoint screenPt)
          Perform a drag action on the associated subitem with the supplied set of mouse modifiers.
 void dragToScreenPoint(Subitem subitem, DPoint screenPt)
          Performs a left - mouse drag action on the associated subitem to a screen relative DPoint.
 void dragToScreenPoint(Subitem subitem, DPoint subitemPt, DPoint screenPt)
          Performs a drag from an Subitem point to a screen point
 DPoint getScreenPoint(Subitem subitem, DPoint pt)
          Returns the screen-relative Point, given an object relative DPoint.
 void hover(double secondDelay, Subitem subitem, DPoint pt)
          Hovers the mouse over the specified DPoint relative to the specified subitem.
 void hover(Subitem subitem, DPoint pt)
          Hovers the mouse over the specified coordinates relative to the specified subitem.
 void mouseMove(MouseModifiers modifiers, Subitem subitem, DPoint pt)
          Performs a move action against the associated subitem with the supplied set of mouse modifiers.
 void mouseMove(Subitem subitem, DPoint subitemPt)
          Performs a MOUSE_LEFT move action on the associated subitem
 void nClick(int clickCount, MouseModifiers modifiers, Subitem subitem, DPoint pt)
          Performs a mouse n-click action on the specified DPoint relative to the associated subitem with a modifier parameter.
 void nClickDrag(int clickCount, MouseModifiers modifiers, Subitem subitem1, DPoint pt1, Subitem subitem2, DPoint pt2)
          Performs a mouse n-click drag action from and to the specified DPoints, relative to the associated TestObject
 void nClickDragToScreenPoint(int clickCount, MouseModifiers modifiers, Subitem subitem, DPoint screenPt)
          Performs a mouse n-click drag action on the associated subitem to the screen-relative DPoint with the supplied set of mouse modifiers.
 void nClickDragToScreenPoint(int clickCount, MouseModifiers modifiers, Subitem subitem, DPoint subitemPt, DPoint screenPt)
          Performs a mouse n-click drag action from the specified DPoint relative to the associated subitem to the screen-relative DPoint with the supplied set of mouse modifiers.
 

Method Detail

getScreenPoint

DPoint getScreenPoint(Subitem subitem,
                      DPoint pt)
Returns the screen-relative Point, given an object relative DPoint.

Parameters:
pt - - The object-relative DPoint
Returns:
java.awt.Point - The screen relative DPoint
Detail description:
The input parameter is with respect to the object. This will convert it into a point with respect to the screen.

Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}

click

void click(Subitem subitem,
           DPoint pt)
Performs a left-mouse click on the specified DPoint relative to the associated subitem.

Parameters:
subitem - - The item on which click is to be done
pt - - The Dpoint relative to the subitem
Detail description:
This method is a shortcut to the click method with a modifier parameter and coordinates (modifier set to MOUSE_LEFT).
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

click

void click(MouseModifiers modifiers,
           Subitem subitem,
           DPoint pt)
Performs a click on the specified DPoint relative to the associated subitem with a modifier parameter.

Parameters:
pt - - The DPoint where a click needs to be done
modifiers - - MouseModifiers object.
subitem - - The item on which click is to be done
Detail description:
The type of click can be governed by appropriately setting the MouseModifiers
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.MouseModifiers}, com.rational.test.ft.script.Subitem}

doubleClick

void doubleClick(Subitem subitem,
                 DPoint pt)
Performs a left-mouse double-click action on the specified DPoint relative to the associated subitem.

Parameters:
subitem - - The item on which double click is to be done
pt - - The DPoint where a click needs to be done
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

doubleClick

void doubleClick(MouseModifiers modifiers,
                 Subitem subitem,
                 DPoint pt)
Performs a double-click action on the specified DPoint relative to the associated subitem with a modifier parameter.

Parameters:
modifiers - - MouseModifiers object.
subitem - - The item on which double click is to be done
pt - - The DPoint where a click needs to be done
Detail description:
Performs a double click at the point on the Subitem. The type of mouse click can be govered using the MouseModifiers.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

nClick

void nClick(int clickCount,
            MouseModifiers modifiers,
            Subitem subitem,
            DPoint pt)
Performs a mouse n-click action on the specified DPoint relative to the associated subitem with a modifier parameter.

Parameters:
clickCount - - The number of clicks to be done
modifiers - - MouseModifiers object
subitem - - The item on which double click is to be done
pt - - The DPoint where a click needs to be done
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

drag

void drag(Subitem subitem1,
          DPoint pt1,
          Subitem subitem2,
          DPoint pt2)
Performs a (left button) mouse drag action against the associated TestObject.

Parameters:
subitem1 - - The initial Subitem
pt1 - - The initial DPoint
subitem2 - - The final Subitem
pt2 - - The final DPoint
Detail description:
The drag action is performed from one DPoint on the first Subitem to the other DPoint on the second Subitem.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

drag

void drag(MouseModifiers modifiers,
          Subitem subitem1,
          DPoint pt1,
          Subitem subitem2,
          DPoint pt2)
Performs a drag action on the associated subitem with the supplied set of mouse modifiers.

Parameters:
modifiers - - MouseModifiers object to set the type of drag
subitem1 - - The initial Subitem
pt1 - - The initial DPoint
subitem2 - - The final Subitem
pt2 - - The final DPoint
Detail description:
The drag action is performed from one DPoint on the first Subitem to the other DPoint on the second Subitem. The drag specifications can be modified in the MouseModifiers
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

nClickDrag

void nClickDrag(int clickCount,
                MouseModifiers modifiers,
                Subitem subitem1,
                DPoint pt1,
                Subitem subitem2,
                DPoint pt2)
Performs a mouse n-click drag action from and to the specified DPoints, relative to the associated TestObject

Parameters:
clickCount - - the number of clicks to be done
modifiers - - MouseModifiers object to set the type of drag
subitem1 - - The initial Subitem
pt1 - - The initial DPoint
subitem2 - - The final Subitem
pt2 - - The final DPoint
Detail description:
The drag action is performed from one DPoint on the first Subitem to the other DPoint on the second Subitem. The drag specifications can be modified in the MouseModifiers
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

dragToScreenPoint

void dragToScreenPoint(Subitem subitem,
                       DPoint subitemPt,
                       DPoint screenPt)
Performs a drag from an Subitem point to a screen point

Parameters:
subitem - - the Subitem from which a drag needs to be done
subitemPt - - The initial DPoint relative to the subitem
screenPt - - The final DPoint relative to the screen.
Detail description:
Performs a MOUSE_LEFT drag action against the associated TestObject. The action is performed from a DPoint relative to the specified Subitem, to a DPoint relative to the screen
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

dragToScreenPoint

void dragToScreenPoint(Subitem subitem,
                       DPoint screenPt)
Performs a left - mouse drag action on the associated subitem to a screen relative DPoint.

Parameters:
subitem - - the Subitem from which a drag needs to be done
screenPt - - the DPoint relative to the screen
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

dragToScreenPoint

void dragToScreenPoint(MouseModifiers modifiers,
                       Subitem subitem,
                       DPoint screenPt)
Performs a drag action on the associated subitem with the supplied set of mouse modifiers

Parameters:
modifiers - - MouseModifiers object to set the type of drag
subitem - - the Subitem from which a drag needs to be done
screenPt - - the DPoint relative to the screen
Detail description:
The action is performed from the center point of the associated subitem to the screen-relative screenPt coordinates.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

dragToScreenPoint

void dragToScreenPoint(MouseModifiers modifiers,
                       Subitem subitem,
                       DPoint subitemPt,
                       DPoint screenPt)
Perform a drag action on the associated subitem with the supplied set of mouse modifiers.

Parameters:
modifiers - - MouseModifiers object to set the type of drag
subitem - - the Subitem from which a drag needs to be done
subitemPt - - the DPoint relative to the subitem
screenPt - - the final point for the drag, relative to the screen
Detail description:
The action is performed from the DPoint relative to the subitem to the screen-relative DPoint.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

nClickDragToScreenPoint

void nClickDragToScreenPoint(int clickCount,
                             MouseModifiers modifiers,
                             Subitem subitem,
                             DPoint subitemPt,
                             DPoint screenPt)
Performs a mouse n-click drag action from the specified DPoint relative to the associated subitem to the screen-relative DPoint with the supplied set of mouse modifiers.

Parameters:
clickCount - - number of clicks to be done
modifiers - - MouseModifiers object to set the type of drag
subitem - - the Subitem from which a drag needs to be done
subitemPt - - the DPoint relative to the subitem
screenPt - - the final point for the drag, relative to the screen
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

nClickDragToScreenPoint

void nClickDragToScreenPoint(int clickCount,
                             MouseModifiers modifiers,
                             Subitem subitem,
                             DPoint screenPt)
Performs a mouse n-click drag action on the associated subitem to the screen-relative DPoint with the supplied set of mouse modifiers.

Parameters:
clickCount - - number of clicks to be done
modifiers - - MouseModifiers object to set the type of drag
subitem - - the Subitem from which a drag needs to be done
screenPt - - the final point for the drag, relative to the screen
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

mouseMove

void mouseMove(Subitem subitem,
               DPoint subitemPt)
Performs a MOUSE_LEFT move action on the associated subitem

Parameters:
subitem - - the associated Subitem
subitemPt - - the final point for the mouse move, relative to the Subitem
Detail description:
The action is performed from current mouse coordinates to the DPoint relative to the subitem.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

mouseMove

void mouseMove(MouseModifiers modifiers,
               Subitem subitem,
               DPoint pt)
Performs a move action against the associated subitem with the supplied set of mouse modifiers.

Parameters:
modifiers - - MouseModifiers object to set the type of move
subitem - - the associated Subitem
pt - - the final point for the mouse move, relative to the Subitem
Detail description:
The action is performed from current mouse coordinates to the DPoint relative to the subitem.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}, com.rational.test.ft.script.MouseModifiers}

hover

void hover(double secondDelay,
           Subitem subitem,
           DPoint pt)
Hovers the mouse over the specified DPoint relative to the specified subitem.

Parameters:
secondDelay - - the time period for the hover
subitem - - the associated Subitem
pt - - the subitem relative DPoint
Detail description:
The mouse is moved to the subitem-relative DPoint and stays there for at least the specified number of seconds.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}

hover

void hover(Subitem subitem,
           DPoint pt)
Hovers the mouse over the specified coordinates relative to the specified subitem.

Parameters:
subitem - - the associated Subitem
pt - - the subitem relative DPoint
Detail description:
The mouse is moved to the subitem-relative DPoint and stays there for a default length of time.
Since:
RFT8.0
See Also:
com.rational.test.ft.value.DPoint}, com.rational.test.ft.script.Subitem}