Keypress Action

A Keypress Action can be added to your test to simulate using a keyboard shortcut to interact with your site. This could be a single key such as Page Up, or a combination such as Ctrl + Shift + W. 

Create a Keypress Action in Architect

  1. Launch Architect and begin recording your test.
  2. Click the Add icon to open the Actions panel.
    KP1.png
  3. Click Keypress.
    KP3.png
  4. By default, the Execute keys option is enabled. Deselect if you don't wish to execute the keys at this point in your test.
    KP4.png
  5. Press the necessary key(s) to include them in the test. Click Add.
    KP5.png
  6. Open the Keypress Action to the key(s) selected.
    KP7.png

Add a Keypress Action to an Existing Test

  1. Open the Test Detail Page.
  2. Click the Add icon where you wish to insert the new Action. Select Key.
    KP8.png
  3. Select the Key(s) in the dialog box.
    KP11.png
  4. The drop-down menu includes each alpha-numeric key, escape key, and arrow keys.
    KP9.png
  5. If adding a multiple-key combination, select the necessary additional keys with the checkboxes. Note: "Meta" refers to the Windows key in Windows or the Command key in iOS.
    KP10.png
  6. Click Insert.
    KP14.png
  7. The new Keypress Action will be visible in the Test Details.
    KP12.png
  8. Open the Action Settings to view the selected keys.
    KP13.png