How to run a Windows based test?
Home › Forums › Ask Expert › How To › How to run a Windows based test?
- This topic has 2 replies, 2 voices, and was last updated 8 years, 10 months ago by Rob Kites.
-
AuthorPosts
-
October 28, 2015 at 11:45 pm #30746Rob KitesParticipant
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.
October 29, 2015 at 12:03 am #30747Sasha ZAPModeratorHello 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,
SashaOctober 29, 2015 at 12:05 am #30748Rob KitesParticipantThank-you very much Sasha for the detailed explanation.
-
AuthorPosts
- You must be logged in to reply to this topic.