Solved
Forum Discussion
8 Replies
Sort By
- TanyaYatskovskaSmartBear Alumni (Retired)
Hi Paul,
Another approach you may like is to pass a picture to the Log.Message method:
//JScript
Log.Message("MessageText","", pmNormal, null, Sys.Desktop.Picture());
- jorgesimoes1983Regular ContributorYou can use this script
/**
* Saves printscreen to logs <br>
* @method PrintScreen
*/
function PrintScreen()
{
Log.Picture(Sys.Desktop.Picture(), "PRINTSCREEN");
} - hyper111ContributorThanks, this is what I was looking for.
- hyper111Contributor
Hi Tanya,
It is even better solution for me.
Thanks! :) - tristaanogreEsteemed ContributorThat's the visualizer feature of TestComplete. When you play back a test script, all screenshots and interactions are sent t the test log. This can be turned on in the project properties.
Because visualizer and such generates a LOT of data on the hard drive, it's not something I'd necessarily recommend for all projects. - TanyaYatskovskaSmartBear Alumni (Retired)
Hi Paul,
You can enable the Capture images only or Capture images and test object info option under Collect Test Visualizer data during test run to activate Visualizer.
- hyper111Contributor
Hi,
I use field.click method, why not all clicks send a screenshot to the logs?
Regards, - hyper111Contributor
Thanks for reply!
In my case it won't be problem.
Where can I turn it on?
Properties>Playback/Visualizer..and? I do not see any similar option.
Regards,
Related Content
- 10 years agomurugans1011
- 2 months agoStoplight
Recent Discussions
- 7 hours agovladd1