Forum Discussion
- Marsha_RModerator
You can create your own event handler and only use it where the images are not sensitive.
- JaimeOccasional Contributor
Hi Marsha_R!
Thank you - although, I am now able to generate an event that grabs a screenshot on Log.Error. But I can't seem to find how to make an event only apply to tagged tests... Any ideas?
Thank you so much!!!
Jaime
- JaimeOccasional Contributor
Playing around with code...
function EventControl1_OnLogError(Sender, LogParams)
{
If (@functional.Exists){
Log.Picture(Sys.Desktop.Picture(), "Capture Image on Failure", "", pmHighest);
}
}// Seems to not recognize the tag of @functional. Ideas? Thanks!!!
Related Content
- 2 years ago
Recent Discussions
- 17 hours ago