path_error_file = "C:\AutomationTestResults\Iteration at "&i&" a.bmp" 'error image path
i am able to take the Snap shot but it is coming Black Blank page.
if any one knows give reply..
It think it is Desktop.CaptureBitmap path_error_file,True
Winds of Change
Are you running your scripts on a remote machine?
If you run your scripts on remote desktop then you need to make sure you don't minimize the remote desktop window
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **