fbpx

How to slide mobile screen?

How to slide mobile screen?

Home Forums ZAPTEST Old Posts How to slide mobile screen?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30555
    Curtis Don
    Participant

      Hello Zap,

      We have Zap-fix v14 the standalone version, and we having problems automating the sliding of a mobile screen.

      Please explain to us how do we do it in Zap-fix.

      Thanks.

      #30556
      Sasha ZAP
      Moderator

        Hello CurtisDo,

        Basically there are 2 options in ZPX (Zap-fix) to swipe (slideroll) the mobile’s screens from one place to a different place:
        1. Using the "SwipteTo" method, its format is:
        Object.SwipteTo ZapObject swipeDestinationObject, Optional int msSpeed (Default = 1500)
        Explanation:
        You specify the first object in the GUI from where you want to start the swiping, and the second object is the destination of the swiping, meaning, what is the last place the swipe should stop its execution.

        2. Change GUI class object into a "Swiper" class
        Explanation:
        By changing the object’s class you create a new type of object which contains 2 rectangles to update in the Workbench:
        Each rectangle can behave as the target or the source location of the swiping action, and using its methods you will be able to execute the swiping physical action.

        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