Skip to content

Template Steps

Template steps are reusable behavior units used inside test-case flows.

Template steps are the reusable action and assertion definitions that keep case authoring consistent across the project.

If you want to pull in a published reusable step instead of creating one manually, use the AppraiseJS CLI:

Terminal window
npx appraisejs@latest add step click/double-click

That flow installs the step into automation/steps, then runs the template-step sync scripts so the step becomes available in the UI. Use the full guide at Install Template Steps with CLI when you want the registry-based workflow.

  1. Go to Template Steps -> Create.
  2. Fill Name, Description, and Icon.
  3. Select Template Step Group.
  4. Choose Type (ACTION or ASSERTION).
  5. Define Signature (Cucumber step text pattern).
  6. Configure Parameters (type, order).
  7. Save.
  • Name: Click element
  • Type: ACTION
  • Signature: the user clicks on the {string} element
  • Parameter: locator name
  • STRING: free-text input.
  • NUMBER: numeric input.
  • BOOLEAN: true/false input.
  • LOCATOR: locator-name reference resolved at runtime.