Class SmartCucumberApiScenarioContext


  • public class SmartCucumberApiScenarioContext
    extends SmartCucumberScenarioContext
    This class is used as cucumber scenario context to keep the information for the running scenario. using this class we can pass the information from one scenario to another scenario. This class must be injected in the cucumber step definition constructor. After that any step definition as part of one scenario can access the information from this class. NOTE: We must have cucumber-picocontainer jar dependency in our Maven or gradle build configuration (as part of cucumber documentation).
    Author:
    Madhav Krishna