HP QTP cannot take screenshots of issues when RDP session is minimized

The issue:
RDP does not paint the screen on the local client if it is minimized or it doesn’t think it has an active console/rdp session. The result is when users run tests in QTP while connecting to a remote machine via RDP and that RDP session is minimized QTP collects blank screenshots.

Steps to Reproduce:
1. User Logs onto computer 1
2. User connects via RDP to machine with QTP. This machine is configured with no screensaver/rdp disconnects. As a result, you can RDP into these and they stay active forever (this allows the users to run long running tests)
3. User runs the HP QTP tests on the machines from step 2.
4. User minimizes the RDP session created in step 2.
Continue reading