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

How to run a Windows based test?

How to run a Windows based test?

Home Forums Ask Expert How To How to run a Windows based test?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30746
    Rob Kites
    Participant

      Hello Zap,

      We’ve recorded a test on one of our Windows based applications using the ZAPTEST Community Edition.
      When we try to run the test nothing happens on the tested application, we notice the mouse cursor clicks and moves to different places on the desktop, eventually the test fails showing in the test results some of the objects were not found while others were found (Although we did not see any actions upon the application we wanted to test).

      Please help us to understand why the test did not run upon the tested application, why the mouse continued to move and click on the desktop, and why in the testing results it showed that the test did manage to click on some of the recorded features although we saw the application was not even executed.

      Thanks.

      #30747
      Sasha ZAP
      Moderator

        Hello RobKites,

        Thank-you for your question.

        Basically when you record a test upon a specific AUT (Application Under Test) using Zapfree (AKA ZAPTEST Community Edition) you do not record its execution, therefore when you run the test, if the AUT was closed after recording or if it got minimized Zapfree will not be able to locate it:
        During the execution, if Zapfree will not find the AUT it will assume the opened application (In your case in is the Desktop) is the actual AUT Zapfree needs to use for its testing, therefore it will execute all the recorded events upon this app (Which are the mouse movements and clicks you’ve witnessed);
        Also, in its final test report, after the test finishes its run, because each captured object in the AUT (Captured object = The feature you’ve recorded an event upon it) Zapfree recognizes based on the limited properties it managed to gather during the recording session, sometimes these properties can describe more then a single object, therefore Zapfree “thought” it actually found these objects on the Desktop.

        In order to make sure the recorded test will be executed upon the correct AUT you must make sure the AUT is visible.

        Please contact Zap for further help.

        Thanks,
        Sasha

        #30748
        Rob Kites
        Participant

          Thank-you very much Sasha for the detailed explanation.

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