fbpx

Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

How to improve ZAPTEST locating objects in the AUT

How to improve ZAPTEST locating objects in the AUT

Home Forums ZAPTEST Best Practices How to improve ZAPTEST locating objects in the AUT

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #30897
    Sasha ZAP
    Moderator

      How to improve ZAPTEST locating objects in the AUT (Application Under Test):
      1. If there is a caption in an object (For example, on a button), make sure ZAPTEST captures the caption properly in the Workbench.

      2. If this is a dynamic object, in the testing script add a condition or a Wait method until the object will appear.

      3. Assign relative stable object as an anchor which will always appear as expected.

      4. If an object appears in the same page in the AUT but after some time, add another View in the Workbench with the appeared object in it.

      5. Modify the object’s properties in the Workbench until it will be easy to locate it.

      6. Update programmatically properties of a dynamic object.

      Contact ZAP for further help.

      Thanks,
      Sasha

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