org.testng.TestNGException: 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

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 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
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 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 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
org.testng.TestNGException: 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
at org.testng.internal.Parameters.createParameters(Parameters.java:155)
at org.testng.internal.Parameters.createParameters(Parameters.java:358)
at org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:86)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:199)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 more bugmates

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