How-To Guides

How to Record a Browser Navigation Action in Architect

Architect does not record clicks on the browser's built-in navigation buttons (Back, Forward, Refresh). This article explains how to simulate a user clicking these buttons within a test case using Architect. Direct interaction with the browser's native navigation buttons is not recorded during test creation, so a specific 'Keypress' action must be added manually to replicate this behavior.

How to Record a Browser Back Action in Architect

To add a browser back action to your test case, follow these steps while recording in Architect:

  1. Click the + icon in the Architect window to add a new action.
  2. Select the Keypress option from the action menu.
  3. In the Key field, enter the keyboard shortcut corresponding to your operating system:
    • Windows: Enter Alt + Left arrow
    • Mac: Enter Command + Left arrow
  4. Click the Add button to insert the action into your test case.

This action will instruct the test to perform the equivalent of a browser back navigation at that specific step.

How to Record a Browser Forward Action in Architect

To add a browser forward action to your test case, follow these steps while recording in Architect:

  1. Click the + icon in the Architect window to add a new action.
  2. Select the Keypress option from the action menu.
  3. In the Key field, enter the keyboard shortcut corresponding to your operating system:
    • Windows: Enter Alt + Right arrow
    • Mac: Enter Command + Right arrow
  4. Click the Add button to insert the action into your test case.

This action will instruct the test to perform the equivalent of a browser forward navigation at that specific step.

How to Record a Browser Refresh Action in Architect

To add a browser refresh action to your test case, follow these steps while recording in Architect:

  1. Click the + icon in the Architect window to add a new action.
  2. Select the Keypress option from the action menu.
  3. In the Key field, enter the keyboard shortcut corresponding to your operating system:
    • Windows: Enter Ctrl + r
    • Mac: Enter Command + r
  4. Click the Add button to insert the action into your test case.

This action will instruct the test to perform the equivalent of a refresh navigation at that specific step.