Could not capture screenshot when test failed on windows

Problems:

We have configured to capture screenshot when selenium (or any web based automation test, e.g. web driver, sahi, etc… ) tests failed, but each time we got is a blank image which only has a black background. The CI agent runs on Windows 2008 in a virtual machine

blank black ground image

Reason:

There is no any real window opened because nobody logged on this machine, Continue reading “Could not capture screenshot when test failed on windows”