fbpx

What is the zapDragTo method?

What is the zapDragTo method?

Home Forums ZAPTEST Old Posts What is the zapDragTo method?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30525
    Barbara Jackson
    Participant

      Hello Zap,

      We heard there is a new method in teh new ZPX version, named "zapDragTo" – What does it do, and how to use it in the testing script?

      Thanks.

      #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 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo