org.testng.TestNGException: Parameter 'device' is required by @Configuration on method startAppiumServer but has not been marked @Optional or defined in /Users/shayn/Library/Caches/IdeaIC2016.2/temp-testng-customsuite.xml

GitHub | shaynl | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to run tests from IDE

    GitHub | 7 months ago | shaynl
    org.testng.TestNGException: Parameter 'device' is required by @Configuration on method startAppiumServer but has not been marked @Optional or defined in /Users/shayn/Library/Caches/IdeaIC2016.2/temp-testng-customsuite.xml
  2. 0

    TestNG suite setup method complains it requires a parameter?

    Stack Overflow | 2 years ago | djangofan
    org.testng.TestNGException: Method setUpSuite requires 1 parameters but 0 were supplied in the @Configuration annotation.
  3. 0

    TestNG DataProvider and CitrusResource injection of TestRunner not working properly

    GitHub | 1 year ago | chrisz79
    org.testng.TestNGException: The data provider is trying to pass 1 parameters but the method de.finkonsens.geco.citrus.DataProviderTest#dataProviderAndCitrusResource takes 2 and TestNG is unable in inject a suitable object
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.testng.TestNGException: org.xml.sax.SAXParseException

    Stack Overflow | 1 year ago | Vinay Jayaram
    org.testng.TestNGException: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 44; Attribute "parallel" with value "none" must have a value from the list "false methods tests classes instances ".
  6. 0

    TestNG cannot find parameter for test

    Software Quality Assurance & Testing | 5 months ago | Antony Naveen
    org.testng.TestNGException: Parameter 'userName' is required by @Test on method verifyValidLogintoSpree but has not been marked @Optional or defined in /home/naveen/.IdeaIC2016.2/system/temp-testng-customsuite.xml

  1. andyglick 1 times, last 2 months ago
  2. Dunmer 4 times, last 4 weeks ago
2 unregistered visitors
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. org.testng.TestNGException

    Parameter 'device' is required by @Configuration on method startAppiumServer but has not been marked @Optional or defined in /Users/shayn/Library/Caches/IdeaIC2016.2/temp-testng-customsuite.xml

    at org.testng.internal.Parameters.createParameters()
  2. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.Parameters.createParameters(Parameters.java:154)
    2. org.testng.internal.Parameters.createParameters(Parameters.java:361)
    3. org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:84)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:201)
    5. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
    6. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:178)
    7. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    8. org.testng.TestRunner.privateRun(TestRunner.java:782)
    9. org.testng.TestRunner.run(TestRunner.java:632)
    10. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
    11. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
    12. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
    13. org.testng.SuiteRunner.run(SuiteRunner.java:268)
    14. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    15. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    16. org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
    17. org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
    18. org.testng.TestNG.run(TestNG.java:1064)
    19. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
    20. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:124)
    20 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  4. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame