org.testng.TestNGException: Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined

  1. 0

    using @parameter annotation in testng test case throwing exception

    Software Quality Assurance & Testing | 9 months ago | QAMember
    org.testng.TestNGException: Parameter 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined
  2. 0

    Test factory throws NPE when named with prefix

    Stack Overflow | 4 months ago | user3663882
    org.testng.TestNGException: Can't invoke public void com.test.b.TestCase.test(): either make it static or add a no-args constructor to your class
  3. 0

    DependsOnGroups Fails with cyclic dependencies exception

    Stack Overflow | 3 years ago | khmarbaise
    org.testng.TestNGException: The following methods have cyclic dependencies: TheClassWhichContainsTest.thisIsTheFirstTest()[pri:0, instance:de.akdb.k m.tests.TheClassWhichContainsTest@3603820e]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Selenium testng saucelabs maven Error

    Stack Overflow | 3 years ago | user3390156
    org.testng.TestNGException: java.lang.NullPointerException

    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 'folderName' is required by @Configuration on method setUp_HerveLeger but has not been marked @Optional or defined

      at org.testng.internal.Parameters.createParameters()
    2. TestNG
      TestNG.run
      1. org.testng.internal.Parameters.createParameters(Parameters.java:155)
      2. org.testng.internal.Parameters.createParameters(Parameters.java:358)
      3. org.testng.internal.Parameters.createConfigurationParameters(Parameters.java:86)
      4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:199)
      5. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
      6. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
      7. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
      8. org.testng.TestRunner.privateRun(TestRunner.java:767)
      9. org.testng.TestRunner.run(TestRunner.java:617)
      10. org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
      11. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
      12. org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
      13. org.testng.SuiteRunner.run(SuiteRunner.java:254)
      14. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      15. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      16. org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      17. org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      18. org.testng.TestNG.run(TestNG.java:1057)
      18 frames
    3. org.apache.maven
      TestNGProvider.invoke
      1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
      2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129)
      3. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113)
      4. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
      4 frames
    4. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      3 frames