thucydides
  1. thucydides
  2. THUCYDIDES-242

Need some way to obtain current TestStep within custom StepListener

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.255
    • Labels:
      None

      Description

      I'm writing simple integration layer for 3rd-party reporting framework and for that I registered custom StepListener. In method stepFailed() I need some way to obtain screenshots for failed step. But I haven't find any public API for retrieving current TestStep or something else.

      See discussion of this issue at https://groups.google.com/d/topic/thucydides-users/p3kP1iSKdqc/discussion

        Activity

        Hide
        johnsmart added a comment -

        In 0.9.255 the getCurrentStep() method has been added to the StepEventBus, e.g. StepEventBus.getEventBus().getCurrentStep()

        Show
        johnsmart added a comment - In 0.9.255 the getCurrentStep() method has been added to the StepEventBus, e.g. StepEventBus.getEventBus().getCurrentStep()
        Hide
        nartamonov added a comment -

        Thank you, John! )

        Show
        nartamonov added a comment - Thank you, John! )

          People

          • Assignee:
            johnsmart
            Reporter:
            nartamonov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: