Forum Discussion
- yuchangContributorI found the way to save the picture to another file.
screenShot = Utils.Picture;
Sys.Clipboard = Sys.Process("notepad").Window("Notepad", "* - Notepad").Picture();
screenShot = Sys.Clipboard
screenShot.SaveToFile("C:\\Logs\\TestingScreenshot.jpg");
Picture SaveToFile method:
http://support.smartbear.com/viewarticle/31697/
Clipboard property:
http://support.smartbear.com/viewarticle/29817/