While test step

The While test step executes the contained test steps repeatedly until the specified condition is TRUE or until a break is encountered.

Drag the While test step from the Test Palette into your test case.

Update the following parameters:

  • Condition: The condition to be reached for the test to continue. You can define this using the inbuilt editors
  • Counter Name: The name of the loop counter
  • Start Value: The starting value of the counter
  • End Value: The end value of the counter. Looping will automatically end when this value is passed. If the value is less than the Start Value, then the counter will decrease with each execution instead of increasing
  • Continue on failure: Tick this checkbox if the test should continue after failure

 

Then save the test case.

Documentation library

Other available resources

Looking for something different?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.