This logic hook is for adding a delay before moving on to the next action or step. For example, entering "5000" would pause the execution for 5 seconds. It can be used as either a Bot or User Step.
- On the left navigation pane, head to
Botium Tools & Settings > Test Sets > Your Test Set > Test Cases
- Click the + NEW button to add a new Convo, or select a previously created test case from the list.
- Add a new + USER STEP or + BOT STEP
- Click the Edit icon, or anywhere inside the step, and search the list for the
'Pause' logic hook.
-
Configure the Logic Hook:
-
Duration: Enter the duration in milliseconds for which Botium will
pause after completing the current step (e.g., 5000 ms for 5 seconds).
-
Duration: Enter the duration in milliseconds for which Botium will
pause after completing the current step (e.g., 5000 ms for 5 seconds).
- Click the APPLY CHANGES button to complete the step entry.
Note:
Example Botium Script:
#bot
PAUSE 5000
Explanation:
-
PAUSE 5000
instructs Botium to wait for 5000 milliseconds (5 seconds) before proceeding to the next step.