Screenshot only part of a test

Question ID: 104741
1
0

I have a test where I need for it to take a screenshot for results on every step of part of the test, but only if something fails on other parts of the test. Is there a way to do this?

Marked as spam
Posted by (Questions: 339, Answers: 20)
Asked on December 10, 2012 7:35 pm
19 views
Answers (2)
1
Private answer

You can change:

Setting(''SnapshotReportMode'') = X

where X = the following:

>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.

Note that the default setting is 1.

You can also use:

strCurrentMode = Setting(''SnapshotReportMode'')

to capture the current mode of the setting.

Marked as spam
Posted by (Questions: 16, Answers: 749)
Answered on December 10, 2012 7:47 pm
This is a great thing. I did not know this existed!
( at December 10, 2012 7:48 pm)
1
Private answer

another answer

Marked as spam
Posted by (Questions: 6, Answers: 167)
Answered on February 14, 2013 4:02 pm