Forum Discussion

alinder's avatar
alinder
Contributor
12 years ago

Unexpected/overlapping windows aren't being detected

My handlers for OnOverlappingWindow and OnUnexpectedWindow aren't firing in the cases where I really need them during test execution.



I've ensured the conditions are not being ignored in the project properties.

I've added additional calls to invoke .Activate() on my test objects in case the other methods being used are not appropriate to trigger the check.



The windows I need to detect are from the Windows operating system in Windows 8 and later versions. Our office has sufficient Microsoft licensing for all our machines, but aspects of how the machines are maintained and imaged that I can't control make it so that I cannot keep the licenses activated on the machines. Every couple hours a full-screen Activate Windows prompt interrupts our test cycles.



I need to establish a workaround such that we can pause test execution until a test proctor can deal with the uncontrollable interrupt screen.



Other examples of overlapping windows that are not being detected are the Windows 8 prompts that indicate certain Metro apps cannot be opened when UAC is disabled.
No RepliesBe the first to reply