JBehave
  1. JBehave
  2. JBEHAVE-413

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      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

        Hide
        Paul Hammant added a comment -

        Coded.

        Show
        Paul Hammant added a comment - Coded.
        Paul Hammant made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Paul Hammant [ paul ]
        Fix Version/s 3.2 [ 16757 ]
        Resolution Fixed [ 1 ]
        Paul Hammant made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Mauro Talevi made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Paul Hammant
            Reporter:
            Paul Hammant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: