Microsoft KB Archive/83107

= Microsoft Knowledge Base =

TestScrn Routine May Fail Due to Windows Screen Saver
Last reviewed: October 19, 1994

Article ID: Q83107

The information in this article applies to:


 * Microsoft Test for Windows, version 1.0

SUMMARY
Any Test Screen procedure (from the TESTSCRN.DLL library) may fail if a screen saver program is invoked in the middle of a Microsoft Test script.

Also, if you have a Windows screen saver installed, it may activate while running or after running a Microsoft Test script file, even if not enough time has passed to activate the screen saver. Running a Test script can cause some screen savers to believe that more time has passed than actually has.

Many screen savers look directly at the hardware to determine if there has been any user activity, so events caused by Microsoft Test statements such as DoKeys/QueKeys may not be recognized as activity. Also, because Microsoft Test events are sent as messages to the target application, screen savers that directly examine the Windows system message queue may not see the timing they expect for normal Windows message traffic, and this can cause some screen savers to believe more time has elapsed then actually has.