What are the Relative Objects?
- This topic has 1 reply, 2 voices, and was last updated 11 years, 5 months ago by
Sasha ZAP.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Hello BarbJack,
Thank-you for your question.
The Relative Objects are non-recognizable ZPX (Zap-fix) Objects which are set as “relatives” to ZPX recognizable Objects (Which are being called “anchors”), and by doing so ZPX will be able to recognize the Objects which previously it could not recognize:
This ZPX does by calculating the relative distance from a non-recognizable Object (The relative Object) to its recognizable Object (The anchor Object).
How do we add them?
You are starting by defining a new ZPX non-recognizable object and give it an appropriate name;
Now you’ll define it as a relative object to a ZPX recognizable Object:
This is done by first clicking the relative object selection button (The “hand” icon), then we need to click the object that would be used as the anchor for our relative object (One of the ZPX recognizable Objects);
In the QTP Object Repository you will see the anchor object have become parent object to our relative object;
This means that during runtime ZPX will first scan the AUT (Application Under Test) for the ZPX anchor Object (regardless of its location) then automatically define the relative object in the correct offset from the parent object, effectively locating it dynamically on the screen.
Please contact Zap for further help.
Thanks,
Sasha
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. |