User-defined actions are the fundamental elements of the Action Based Testing (ABT) methodology. High-level actions are user-defined actions written in TestArchitect's ABT language. Use them to improve the readability, maintainability, and strength of your tests.

What you will learn:

  • Incorporating repetitive test logic into loops
  • Creating high-level actions
  • Refactoring your test lines
  • Passing values to actions and receiving return values


  • Basic understanding of the TestArchitect user interface
  • Familiarity with the TestArchitect test editor
  • Essential understanding of TestArchitect repositories, projects, and tests
  • Basic understanding of computer programming concepts

Audience: Testers, Automation engineers

Duration: 2 hours

  1. Handling repetition
    Tests frequently perform the same steps repeatedly, often varying only the input data values. Sets of actions can be used to create control loops to enable such repetitive processing.

  2. Creating loops

    Create a test module / test case that reports the sales tax for cars across a range of prices.

  3. Looping example

    Use the control loop actions to create looping, or iteration example.

  4. High-level actions

    High-level actions consist of sequences of actions that typically relate to a single function in the application under test.

  5. Refactoring

    Refactor test lines to produce tests that are easy to read and maintain.

  6. Refactoring test lines

    In this exercise you will refactor your last test case by incorporating the report action line of the last test case into a high-level action.

  7. Return values

    Actions can return one or more values to the test module or action that called them.

  8. Returning values from actions

    In this exercise you will create a new action that performs the same essential work as the report sales tax action.

  9. Summary: What you learned

    What you learned in this lesson: