Class Retry10

  • All Implemented Interfaces:
    org.testng.IRetryAnalyzer

    public final class Retry10
    extends org.testng.util.RetryAnalyzerCount
    An RetryAnalyzerCount extension which sets the count to 10.

    This IRetryAnalyzer should only be applied to methods we know they should run successfully but do not for some reason. The retry analyzer exits as soon as it made a successful call.

    • Constructor Summary

      Constructors 
      Constructor Description
      Retry10()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean retryMethod​(org.testng.ITestResult result)  
      • Methods inherited from class org.testng.util.RetryAnalyzerCount

        getCount, retry, setCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Retry10

        public Retry10()
    • Method Detail

      • retryMethod

        public final boolean retryMethod​(org.testng.ITestResult result)
        Specified by:
        retryMethod in class org.testng.util.RetryAnalyzerCount