Ask a Question

Make Screenshot on Error

Lagencie
Frequent Contributor

Make Screenshot on Error

Is it possible to make a screenshot in the GeneralEvents_OnLogError?

Because we have the problem, that most of the time when there is a browser problem it first closes the browser and then we have a screenshot of the plain desktop, rather than a screenshot before it closes the browser.

We use a script that closes all browsers on error in the GeneralEvents_OnLogError

1 REPLY 1
Marsha_R
Community Hero

Re: Make Screenshot on Error

You can put this in before the browser close

https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/logging/post-screenshot.ht...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: