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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by shaynl
, 1 year ago
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
via GitHub by vikramvi
, 11 months ago
Parameter 'device' is required by @Configuration on method startAppiumServer but has not been marked @Optional or defined in /private/var/folders/xk/ryk32cv91t700bvnr4z3f5fw0000gn/T/testng-eclipse--1539387836/testng-customsuite.xml
via GitHub by krmahadevan
, 2 months ago
Parameter 'browsername' is required by BeforeClass on method beforeClass but has not been marked @Optional or defined in /Users/krmahadevan/githome/OpenSource/testng/src/test/resources/rationale/1417.xml
via Software Quality Assurance & Testing by QAMember
, 1 year ago
Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined
via Stack Overflow by Ashish Tripathi
, 1 month ago
Parameter 'environment' is required by @Configuration on method setup but has not been marked @Optional or defined
via Stack Overflow by Vidushi Shukla
, 1 year ago
Parameter 'google' is required by @Configuration on method setUp but has not been marked @Optional or defined in C:\Users\swkv8851\AppData\Local\Temp\testng-eclipse--1721497351\testng-customsuite.xml
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)

Users with the same issue

Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
38 times, 2 months ago
2 times, 6 months ago
4 times, 7 months ago
3 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.