Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is not a supported feature it is true that it works in XP and windows server 2003 however this is seen as security flaw.</p> <blockquote> <p>To prevent this, don't use the 'x' to close the remote connection, but use %windir%\system32\tscon.exe 0 /dest:console instead. (That will insure that the screen isn't locked). - Nicolas Voron</p> </blockquote> <p>It true that if you disconnect from the server in this way the "screen" wont be locked to ensure it stay unlocked you need to make sure you turn off the screen saver since as soon as that start up it will auto lock you screen.</p> <p>There is quite a few examples only of people doing the same thing even here at stack overflow the post below suggest that you create a windows application that run under an actual user account that sends screen shots over IPC to the running service.</p> <blockquote> <p>The correct way to get a custom GUI that works with a service is to separate them into two processes and do some kind of IPC (inter process communication). So the service will start-up when the machine comes up and a GUI application will be started in the user session. In that case the GUI can create a screenshot, send it to the service and the service can do with it, whatever you like. - <a href="https://stackoverflow.com/questions/1445788/screenshot-of-process-under-windows-service">Screenshot of process under Windows Service</a></p> </blockquote> <p>I have collated a few strategies I have found online that may give you some ideas.</p> <h2>Third party software</h2> <p>There is a lot of programs out there that make screen shots of web sites like <a href="http://www.websitescreenshots.com/" rel="nofollow noreferrer">http://www.websitescreenshots.com/</a> they have a user interface and command line tool. But if you are using some testing framework this might not work since it will make a new request to fetch all the assets and draw the page.</p> <h2>WebBrowser control</h2> <p>I am not sure what browser you are using to test you company web site however if you are not bothered about which browser It is you could use a WebBrowser control and use the <a href="http://thepursuitofalife.com/the-missing-drawtobitmap-function-in-the-net-webbrowser-class/" rel="nofollow noreferrer">DrawToBitmap method</a>.</p> <h2>Virtualisation</h2> <p>I have seen a system where the developers were using virtual environments with the browser of their choice with all the settings done to make sure the machine didn't lock and if it did it would restart. </p> <h2>Selenium</h2> <p>It is also possible using selenium with the selenium-webdriver and headless a ruby gem developed by <a href="https://github.com/leonid-shevtsov/headless" rel="nofollow noreferrer">leonid-shevtsov</a> if your test are in selenium this approach might be the best. Selenium itself support screen capture on the webdrivers they have available.</p> <p>Of course all of this depends on what you are using for your testing framework if you can share some details on your setup we will be able to give you a better answer.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload