Forum Discussion
JeffSm
15 years agoContributor
Hi Robert,
I'm fairly new to TestComplete, and I'm writing my scripts in jscript. I've adapted what you suggested as the following, but I just get an exception (Object doesn't support this property or method). How should this look in jscript? Is there a way to just capture my application window, rather than the entire desktop?
picture()
I'm fairly new to TestComplete, and I'm writing my scripts in jscript. I've adapted what you suggested as the following, but I just get an exception (Object doesn't support this property or method). How should this look in jscript? Is there a way to just capture my application window, rather than the entire desktop?
function picture()
picture()
{
var PictObj;
PictObj = Sys.Desktop;
PictObj.Picture.SaveToFile("C:\\TEMP\\test.jpg");
}
Thanks!
Jeff
Related Content
- 12 years ago
Recent Discussions
- 20 hours ago
- 21 hours ago
- 5 days ago