JBehave
  1. JBehave
  2. JBEHAVE-172

Add Selenium StepsConfiguration and StepMonitor

    Details

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

      Description

      Add a Selenium extension of StepsConfiguration that uses a SeleniumStepsMonitor, allowing to decorate a given StepsMonitor to provide link to current scenario in Selenium context on performing step:

      public void performing(String step){
      String context = seleniumContext.getCurrentScenario() + "<br>" + step;
      selenium.setContext(context);
      delegate.performing(step);
      }

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Description Add a Selenium extension of StepsConfiguration that uses a SeleniumStepsMonitor that decorates a given StepsMonitor to provide link to Selenium context. Add a Selenium extension of StepsConfiguration that uses a SeleniumStepsMonitor, allowing to decorate a given StepsMonitor to provide link to current scenario in Selenium context on performing step:

        public void performing(String step){
        String context = seleniumContext.getCurrentScenario() + "<br>" + step;
        selenium.setContext(context);
        delegate.performing(step);
        }


        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: