ZAPTEST finds object when it’s not on the screen

ZAPTEST finds object when it’s not on the screen

Home Forums Ask Expert ZAPTEST finds object when it’s not on the screen

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32050
    Kirill Bulatnikov
    Participant

      Hello Michal. Thanks for using ZAPTEST.
      It may be due some inappropriate objects or recognition type. In fact there are many reasons why this may happen.
      If you will upload your script we can take a look and check what may be wrong.

      Thanks.
      ZAPTEST Team

      #32059
      Michał Szatkowski
      Participant

        Thank you for responding.

        I’ve changed the script to look for text objects and it works better now, however during the test when it looks for an object and it doesn’t exist it takes about 20 (or more) seconds to go through the step and establish, that the object doesn’t exist (screenshot below). Is this normal? When the obcject exists Zaptest finds it preety fast. Can I somehow improve the timing?

        Thanks,
        Michael

        Attachments:
        #32060
        Kirill Bulatnikov
        Participant

          Hello Michael
          Yes, you are able to preset Exit method timeout.

          You can do it for entire ZAPTEST – go to Tools – Options – Runtime. And there you can find “Global Timeout” – the value in milliseconds, by default it is =45 seconds. You can set a value that is more acceptable to you.

          Another point is to set up Exist timeout for a specific step/code line. For example, in a step view, you can see parameter line below the Exist method – place cursor there and you will see the tooltip – it says that you can specify a timeout for Exist there. This way you can set it up specifically for the required object.

          Hope that helps.
          Thanks,
          ZAPTEST Team.

          #32061
          Michał Szatkowski
          Participant

            Problem solved. Thanks a lot!

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.

          Virtual Expert

          ZAPTEST

          ZAPTEST Logo