org.testng.TestNGException

Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web76

  • 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 user3620016
    , 1 year ago
    Parameter 'deviceName' is required by @Configuration on method Beforetest but has not been marked @Optional or defined
  • via GitHub by shaynl
    , 9 months 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
  • Stack trace

    • org.testng.TestNGException: Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined 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.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) at org.testng.SuiteRunner.run(SuiteRunner.java:254) 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.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago