org.testng.TestNGException: Method "scenarios.denpendsOnMethod.bdd.TWO()[pri:1000, instance:com.qmetry.qaf.automation.step.client.Scenario@3e8]" depends on nonexistent method "ONE"

GitHub | hirengit | 3 weeks ago
  1. 0

    dependsOnMethods not working for BDD scenarios

    GitHub | 3 weeks ago | hirengit
    org.testng.TestNGException: Method "scenarios.denpendsOnMethod.bdd.TWO()[pri:1000, instance:com.qmetry.qaf.automation.step.client.Scenario@3e8]" depends on nonexistent method "ONE"
  2. 0
    samebug tip
    Probably there is a bug in TestNG Eclipse plugin (6.8.6.20130607_0745), try an other version (e.g. 6.8.0.20121120_1820)
  3. 0
    samebug tip
    before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)
    via GitHub by ppoulard
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    There is a known issue between TestNG 6.4 and IDEA, the next EAP will fix this but in the meantime, use the previous version.
    via Google Groups by Ghenadie DUMITRU
  6. 0
    samebug tip
    Try removing all the breakpoints (even if breakpoints are disabled the problem still occurs, yes even if both disabled entirely and piecewise).
    via GitHub by Wouter1

    7 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

      Method "scenarios.denpendsOnMethod.bdd.TWO()[pri:1000, instance:com.qmetry.qaf.automation.step.client.Scenario@3e8]" depends on nonexistent method "ONE"

      at org.testng.DependencyMap.getMethodDependingOn()
    2. TestNG
      RemoteTestNG.main
      1. org.testng.DependencyMap.getMethodDependingOn(DependencyMap.java:100)
      2. org.testng.TestRunner.createDynamicGraph(TestRunner.java:1082)
      3. org.testng.TestRunner.privateRun(TestRunner.java:772)
      4. org.testng.TestRunner.run(TestRunner.java:655)
      5. org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
      6. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
      7. org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
      8. org.testng.SuiteRunner.run(SuiteRunner.java:268)
      9. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      10. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      11. org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
      12. org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
      13. org.testng.TestNG.run(TestNG.java:1064)
      14. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:113)
      15. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:206)
      16. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:177)
      16 frames