Wait Action

Wait Action Overview

Sometimes a test must wait for an on-page event before the next step can execute. For this scenario, Wait Actions can be added to a test case.

Functionize utilizes Smart Waits to optimize your test runs, in which these Smart Waits analyze the network traffic on a page and dynamically wait for the page to load, reducing the likelihood of tests failing due to loading issues. You can add a Smart Wait while creating the test using Architect. This can also be accomplished using Quick Add feature while editing an existing test.

Note: Wait Actions are limited to eight minutes. If a longer wait is required, it is suggested to split the test case into two and execute both test cases using an Orchestration. If that is not viable, please contact the account manager to discuss other available options.

To Create a Wait Action in Architect

  1. Click the + icon from the main screen of Architect and then select Wait from the action list in the side panel

  1. Enter your desired Max Wait Time(in milliseconds), which should not exceed two minutes
  2. Toggle the Smart Wait switch to activate Smart Wait

  1. Click Add

Insert a Wait Action in an Existing Test Case

Wait Actions can be inserted via the Test Detail page and Slider view with the Quick Add feature.

Test Detail Page

  1. View a Test on the Test Detail page
  2. Locate the + Quick Add icon (only visible on hover) within the test where you would like to insert a Wait Action
  3. Select Wait from the Insert menu

  1. Enter the Time(ms), which is in milliseconds, to wait


  1. Click Insert


Slider Page

  1. Open your Test
  2. Open Slider view via the View Results button or the View button next to any Action
  3. Hover where you would like to insert the Action and click the + Quick Add icon

  1. Select Wait from the Insert menu
  2. Enter the time (ms), which is in milliseconds, for the test to wait
  3. Click the Insert button