Skip to content
Docs
qmpass.ai Become a design partner
Validation Evidence

User keywords

Shared steps runbooks call, like signing in: make one from a runbook's steps or create it, then reuse it everywhere.

RoleQuality OwnerRoleMember

A user keyword is a set of steps your team writes once and calls from any runbook, such as User.Sign in or User.Open Store. Runbooks call it like any other keyword, passing in its arguments. When you publish a change to it, every runbook that calls it gets the change.

The quickest way is to turn steps you already have into a keyword.

  1. RunbookSteps

    Hover a step and select Make a user keyword. Pick the steps to include: they stay in order and come from one phase. Tick a step to stretch the range to it, or untick the first or last to shrink it. A FOR or IF is picked as a whole. Select Next.

  2. Make a user keywordName and arguments

    Give the keyword a name; it starts with User.. Then check its arguments:

    • Values that come from a variable or a secret, like ${PASSWORD}, always become arguments.
    • Typed text can be Passed in as an argument or stay Fixed in the keyword.
    • If a later step uses a value the picked steps save, the keyword returns it. A keyword can return one value.
  3. Make a user keyword

    Select Make keyword. The keyword is published, and the runbook’s draft calls it in place of the steps you picked. Dry run the change before you publish the runbook, or Undo it.

    You'll see the app's confirmation, for example User.Sign in is published, and this runbook's draft calls it in place of steps 2 to 4.

On the User keywords page, select Create keyword. Give it a name and an optional description of what it does for callers, add its arguments, then add its steps and Publish. Runbooks can only call published keywords.

Type For
Text Free-form text
Secret Masked, and kept out of logs
Boolean A true or false toggle
Number A numeric value
Select A fixed list of choices
Any Text, a number or a list

Edit a keyword’s steps or arguments any time. Changes save as a draft and show Unpublished changes; runbooks keep calling the published version until you publish again. Check Used by to see which runbooks call it before you change its arguments.

A keyword can’t be dry run on its own. Dry run a runbook that calls it.