Showing posts with label How to capture error screen-shot in Result Viewer. Show all posts
Showing posts with label How to capture error screen-shot in Result Viewer. Show all posts

Wednesday, December 17, 2008

How to capture error screen-shot in Result Viewer

How to capture error screen-shot in Result Viewer

Dim path_error_file
path_error_file = "C:\Documents and Settings\Desktop\error.bmp"
Browser("Browser").CaptureBitmap path_error_file,True

Reporter.ReportEvent micFail, Object_snap,
"&"