Pause Execution
Last updated
Last updated
In Avo Assure, the "Pause Execution" action is located under "@Generic Element." It allows execution to pause at any specified step, resuming only after the user clicks "OK" in the pop-up dialog. Place it before or after the test step where you wish to introduce the pause.
Input Value: N/A
Output Value: <Dynamic Variable><Dynamic Variable>Optional
.
Scenario: Login with OTP (One-Time Password)
You are testing a banking application. After entering credentials, the app sends a One Time Password (OTP) to user’s phone. The test will pause, giving a time to check your phone, enter the OTP, and then the test will continue to check if user logged in successfully. This pause helps ensure the test waits for user to enter the OTP before moving ahead.
When testing a banking application, the app sends a One Time Password (OTP) to the user's phone after credentials are entered. The test then pauses, allowing time for the user to check their phone and input the OTP. This pause ensures the test waits for the OTP verification before confirming and moving ahead.
Output:
The Pause Execution action will pause the execution till user clicks on the Ok Button.