Verisoft Wiki

๐ŸŽฏ Purpose

In Verisoft framework, we employ JUnit 5's parameter injection mechanism using DriverInjectionExtension. Occasionally, the instantiation of objects (such as WebDriver or VerisoftDriver) may fail due to transient issues like network instability or resource unavailability. To enhance robustness against such intermittent failures, we've integrated a Retry mechanism that attempts to create the object multiple times before ultimately failing.โ€‹

โš™๏ธ How It Works

๐Ÿ› ๏ธ Configuration Parameters

To enable and configure the Retry mechanism, add the following properties to your application.properties file:

driver.retry.attempts=3 
driver.retry.delay.ms=1500 

Default Behavior

๐Ÿ“ Important Notes