What is the zapDragTo method?

What is the zapDragTo method?

Home Forums ZAPTEST Old Posts What is the zapDragTo method?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #30526
    Sasha ZAP
    Moderator

      Hello ,

      Please read the following about the "" new method:

      zapDragTo <VirtualObject>

      Usage:
      [only on position based objects (no text property)]
      Window(“mobile”).VirtualObject(“view_1”).VirtualObject(“startPoint”).zapDragTo Window(“mobile”).VirtualObject(“view_1”).VirtualObject(“endPoint”)

      Description:
      The method takes X,Y coordinates of the position based object (i.e. ’startPoint’) then drags it to the X,Y coordinates of the argument (i.e. ‘endPoint’) position based object.

      * Note: the method uses UFT’s .Drag and .Drop methods on the Window object

      Please contact Zap for further help.

      Thanks,
      Sasha

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo