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 | 5 months ago
  1. 0

    AmbiguousStepDefinitionsException

    Google Groups | 5 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)
  2. 0

    GitHub comment 467#236389133

    GitHub | 4 months ago | midopa
    cucumber.runtime.AmbiguousStepDefinitionsException: ✽.When I log a debug message(features/asd.feature:16) matches more than one step definition:\n ^I log a (debug|info|warn|error) message$ in Steps.log_message(String)\n ^I log a debug (.*)$ in Steps.log_anything(String)\n
  3. 0

    Incorrect Ambiguous Step Definitions

    GitHub | 2 years ago | benoitx
    cucumber.runtime.AmbiguousStepDefinitionsException: ✽.And if A is "hello" and B is "Yo"(com/a.feature:22) matches more than one step definition: ^if A is "(.*?)" and B is "(.*?)"$ in StepsDefintions.if_a_and_b(String,String) ^if A is "(.*?)"$ in StepsDefintions.if_a(String)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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