When running a test with a checkpoint, your test results will show the screen where the checkpoint failed or passed.
If I want to use Reporter.ReportEvent to pass or fail the test, is there a way to still show the screen in the results? I know there is a way to capture a bitmap and pass it into the results, but is there a different way to accomplish this that will capture the entire screen (so that when looking at the results you can scroll up and down)?
Thanks for the assistance.
Re: ReportEvent Question
Like a screenshot of the desktop?? You could do:
FileNameShort = "Screenshot_" & I
FileName = FileNameShort & ".png"
FileSpec = FolderSpec & "\" & FileName
Set obj = Window("regexpwndtitle:=Program Manager")
Reporter.ReportEvent 0, FileNameShort, "&lt;<img src='" & FileSpec & "'>&gt;"