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