org.testng.TestNGException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Unable to run tests from IDE
    via GitHub by shaynl
    ,
  • TestNG cannot find parameter for test
    via Software Quality Assurance & Testing by Antony Naveen
    ,
  • Re: Factory Approach
    via by Christopher Edwards,
  • Maven not calling testng parameters
    via Stack Overflow by user3620016
    ,
  • using @parameter annotation in testng test case throwing exception
    via Software Quality Assurance & Testing by QAMember
    ,
    • 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(Parameters.java:154) at org.testng.internal.Parameters.createParameters(Parameters.java:361) at org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:84) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:201) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142) at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:178) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) at org.testng.TestRunner.privateRun(TestRunner.java:782) at org.testng.TestRunner.run(TestRunner.java:632) at org.testng.SuiteRunner.runTest(SuiteRunner.java:366) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244) at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) at org.testng.TestNG.run(TestNG.java:1064) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

    Users with the same issue

    andyglick
    1 times, last one,
    Unknown visitor1 times, last one,
    arturgajowy
    2 times, last one,
    Dunmer
    4 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates