
Loading ...
Screenshots play a vital role in analysis of failures in Automation Script. By default QTP can capture screenshots of all steps taken on AUT, but this much information may not be required all the times. We can create a CaptureScreenShot method which uses Desktop.CaptureBitmap to take desktop screenshot and add the same to the report. [...]
Register or Login to read the full article...
Tags used -
capture, CaptureBitmap, desktop, Fail, failure, report, screen, Screenshot, Screenshots

Loading ...
Capturing screenshots to QC in test result can quickly eat up all the space on the QC Server. This makes it sensible to capture images only in case a Test has failed. This can allow easy debugging of Test Cases to see what error had occurred when the test failed. Adding this functionality to your [...]
Register or Login to read the full article...
Tags used -
Add, Attach, BPT, Business Components, Business Process Testing, capture, Component, CurrentRun, desktop, Error, failure, file, images, QC, Results, run, screencapture, Screenshot, Terminate, Test, test lab, test result