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