use statement - Setting("SnapshotReportMode") = 0 at the beginning of the
script.

Codes for SnapshotReportMode are as follows:


*0* - always captures images.
*1* - captures images only if an error occurs on the page.
*2* - captures images if an error or warning occurs on the page.
*3* - never captures images.
*Default = 1*.

when you use snapshotReportMode property, it will capture the object on
which any action is performed(depending on the value you use for this
property, if you use 0, it will capture all screen shots, however, if you
use, 1, it will capture screen shots for only those objects which results in
an error).

In Test result, just click on the object of which you want to see the screen
shot.  It will be displayed there.

*Note:  This property will not capture objects on which you have just used
Exist method only and have not performed any action like click or set ...*

Regards,
Vivek

On Wed, Sep 17, 2008 at 12:50 PM, Mathi_QA Engineer
<[EMAIL PROTECTED]>wrote:

>
> Hi,
> Anyone please help me how to take the screen shot of the failure test
> cases and add them in the test results for the Jaav application.. It
> would be helpful If you help with the script..
>
> Thanks in Advance
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to