cucumber.runtime.AmbiguousStepDefinitionsException: ?.Given I create a OME application with the below table(C:/workspace/com.APM/src/test/resources/features/login.feature:76) matches more than one step definition: I create a OME application in CreateApplication.I_Create_OME_App() I create a OME application with the below table in CreateApplication.I_Create_OME_Application(DataTable)

Google Groups | Vinoth Kannan | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    AmbiguousStepDefinitionsException

    Google Groups | 9 months ago | Vinoth Kannan
    cucumber.runtime.AmbiguousStepDefinitionsException: ?.Given I create a OME application with the below table(C:/workspace/com.APM/src/test/resources/features/login.feature:76) matches more than one step definition: I create a OME application in CreateApplication.I_Create_OME_App() I create a OME application with the below table in CreateApplication.I_Create_OME_Application(DataTable)

    Root Cause Analysis

    1. cucumber.runtime.AmbiguousStepDefinitionsException

      ?.Given I create a OME application with the below table(C:/workspace/com.APM/src/test/resources/features/login.feature:76) matches more than one step definition: I create a OME application in CreateApplication.I_Create_OME_App() I create a OME application with the below table in CreateApplication.I_Create_OME_Application(DataTable)

      at cucumber.runtime.RuntimeGlue.stepDefinitionMatch()
    2. Cucumber-JVM: Core
      Main.main
      1. cucumber.runtime.RuntimeGlue.stepDefinitionMatch(RuntimeGlue.java:71)
      2. cucumber.runtime.Runtime.runStep(Runtime.java:266)
      3. cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
      4. cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
      5. cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
      6. cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:165)
      7. cucumber.runtime.Runtime.run(Runtime.java:121)
      8. cucumber.api.cli.Main.run(Main.java:36)
      9. cucumber.api.cli.Main.main(Main.java:18)
      9 frames