Hello CurtisDo,
Thank-you for your question.
Please follow this example explaining how to update an automated test so it can be used as a cross-platform test:
1. If we have the browser parent object defined as chrome using the “regexpwndclass” property, and we have the ZAP header defined as an object.
2. In order to be able to address another browser we need to change the browser QTP will be looking at by modifying its properties.
3. We can use the QTP object spy to locate the regexpwndclass of the internet explorer window. Once we found it, we can either change it in the repository, or use a SetTOProperty QTP build-in method to change it dynamically during runtime.
4. Now we’ll add a click on our header object before and after this line, this means our script will perform a click on the object in Chrome, and then in IE.
5. The script clicks in Chrome, and then changes to IE and performs another click.
Hope the example helped.
Please contact Zap for further help.
Thanks,
Sasha