cucumber.runtime.CucumberException: Don't know how to convert ""myWebElement"" into org.openqa.selenium.WebElement. Try writing your own converter: @cucumber.deps.com.thoughtworks.xstream.annotations.XStreamConverter(WebElementConverter.class) public class WebElement {}

Stack Overflow | rs79 | 3 months ago
  1. 0

    Passing a WebElement parameter from a Cucumber feature into the Step Definition

    Stack Overflow | 3 months ago | rs79
    cucumber.runtime.CucumberException: Don't know how to convert ""myWebElement"" into org.openqa.selenium.WebElement. Try writing your own converter: @cucumber.deps.com.thoughtworks.xstream.annotations.XStreamConverter(WebElementConverter.class) public class WebElement {}
  2. 0

    Conversion from String to BigDecimal do not with Cucumber on Scala

    Stack Overflow | 2 years ago | KrzyH
    cucumber.runtime.CucumberException: Don't know how to convert "10.0" into scala.math.BigDecimal. Try writing your own converter: @cucumber.deps.com.thoughtworks.xstream.annotations.XStreamConverter(BigDecimalConverter.class) public class BigDecimal {}
  3. 0

    Unable to run the feature file

    Google Groups | 8 months ago | Unknown author
    cucumber.runtime.CucumberException: Failed to instantiate public cucumber.runtime.java.JavaBackend(cucumber.runtime.io.ResourceLoader) > with [cucumber.runtime.io.MultiLoader@1b0d33c]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cucumber.runtime.CucumberException: You're not allowed to extend classes that define Step Definitio

    Google Groups | 1 week ago | Unknown author
    cucumber.runtime.CucumberException: You're not allowed to extend classes that define Step Definitions or hooks. class cucumber.setps.dashboard.DashboardPageSteps extends class automation.framework.BasePreconditionScript
  6. 0

    Re: [Cucumber] Unknown option: --plugin excepiton

    Google Groups | 8 months ago | Paolo Ambrosio
    cucumber.runtime.CucumberException: Unknown option: --plugin Don't really know what you are trying to do since the exception is from the CLI runner and you pasted JUnit code. I would start by verifying that all jars belong to the same version of Cucumber.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. cucumber.runtime.CucumberException

      Don't know how to convert ""myWebElement"" into org.openqa.selenium.WebElement. Try writing your own converter: @cucumber.deps.com.thoughtworks.xstream.annotations.XStreamConverter(WebElementConverter.class) public class WebElement {}

      at cucumber.runtime.ParameterInfo.convert()
    2. Cucumber-JVM: Core
      CucumberFeature.run
      1. cucumber.runtime.ParameterInfo.convert(ParameterInfo.java:150)
      2. cucumber.runtime.StepDefinitionMatch.transformedArgs(StepDefinitionMatch.java:68)
      3. cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
      4. cucumber.runtime.Runtime.runStep(Runtime.java:299)
      5. cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
      6. cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
      7. cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
      8. cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:165)
      8 frames
    3. cucumber.api.testng
      AbstractTestNGCucumberTests.feature
      1. cucumber.api.testng.TestNGCucumberRunner.runCucumber(TestNGCucumberRunner.java:63)
      2. cucumber.api.testng.AbstractTestNGCucumberTests.feature(AbstractTestNGCucumberTests.java:21)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. TestNG
      TestMethodWorker.run
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      6 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames