fbpx

How to automate Cross-Platform tests using Zap-fix?

How to automate Cross-Platform tests using Zap-fix?

Home Forums ZAPTEST Old Posts How to automate Cross-Platform tests using Zap-fix?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30501
    Curtis Don
    Participant

      Hello Zap,

      We found out in the Zap Portal there is a way to automate a Cross-Platform tests using Zap-fix, how do we do it?

      Thanks.

      #30502
      Sasha ZAP
      Moderator

        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

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo