Click method does not always work as expected

Click method does not always work as expected

Home Forums Ask Expert Click method does not always work as expected

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Sergey ZAP.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #32651
    Sergey ZAP
    Keymaster

      Hello!
      1. You need to ensure ZAPTEST finds correct object. In Results expand the Click line and verify captured image.
      Increase Precision as needed: select Custom and type custom value (up to 100).

      2. You may still have a synchronization problem.
      Try these steps:
      Application(“HERMES”).View(“View”).Object(“Image Object 11”).Exist
      wait 3
      Application(“HERMES”).View(“View”).Object(“Image Object 11”).Click
      (If your application is slow loading, you may need to increase number of seconds in wait)

      3. Click operation may be too short. You can change click duration using 3rd argument. See the method’s help for more details:
      https://www.zaptest.com/user-zone/product-training/zaptest/methods/method-click

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

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo