I only have code in JScript, If any one else knows how to do it in VB please help.
This code you put on the event handler script:
var TimeoutValue;
var TimeoutValueDefault;
var browser;
var page;
function GeneralEvents_OnLogError(Sender, LogParams)
{
if(browser.Exists === true)
Log.Picture(browser.Page("*").PagePicture())
else
Runner.Stop(true);
if(LogParams.Priority >300)
{
Runner.Stop(true);
}
}
On the test you are running, instead of the checkpoint you can put something like:
if(object.property != something)
log.error()//you can set an higher priority on the error menu or by script
Anything you don't understand let me know.