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)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Ask Expert › Click method does not always work as expected
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
Already have an account? Login
Check you SPAM folder if you do not see the email.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |