Failing steps could be assigned a unique failure-context that could to a) name screenshots, and b) be used in HTML reports

Description

This affects 'core' and 'web'

Say an element is not found in a webpage, and WebDriver throws whatever exception it needs, presuming that fails a step, then JBehave could set a failure-context (lets say that a GUID).

Later, when the FailingScreenShotThing picks up the fact that a step failed, it could use the failure-context in the name of the screen-shot jpeg.

Later, in the rendering of the reports, the HTML one at least could link to the jpeg.

Maybe instead of GUID, this could be the Object Identity of the StepResult or Failed instance.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created January 11, 2011 at 3:33 PM
Updated January 29, 2011 at 9:42 AM
Resolved January 29, 2011 at 9:42 AM