The test language

Most tests consist of a sequence of action lines, with their action keywords and arguments. Actions are available as built-in actions, or can be created as user actions, implemented either with action definitions or programmed in an automation harness.

A TestArchitect action has the following syntax:

action name <argument 1\> ... <argument n\>

Example syntax of an enter action:

TestArchitect supports a number of special features to provide the test developer with more control over test values and the flow of the test execution. The most important ones are:

Variables are placeholders that contain values for later use in one or more action lines, and which allow for easy substitution of values within given action lines.

An expression is any combination of literal values, variables, operators, and functions that follows a set of rules, and which needs to be evaluated before it can be used.

Functions are prewritten operations which you can reference by name within your expressions to produce values needed by your test.

Control flow actions
Control flow actions let you change the order in which action lines are executed.

Operator precedence
Operator precedence determines the order in which operators are evaluated in TestArchitect. Operators with higher precedence are evaluated first.

Working with checks
In TestArchitect, a check compares and verifies expected behavior against actual observed behavior during a test. It’s good practice to incorporate checks in test procedures to verify that the procedures are running as expected.

Error handling and recovery
Handling unanticipated errors, warnings or test failures.

Successful testing requires that the automation correctly handle the varying response times of a system under test, and not to attempt to continue with interactions before the system is finished with the previous function.

Ignoring actions
When the ignore modifier (the string “ignore”, surrounded by angle brackets) is used as an argument value in supported actions, TestArchitect bypasses that action during test execution and continues at the subsequent action line.

Image comparison techniques
TestArchitect offers you two methods for verifying the correctness of images produced by a tested application: pixel-by-pixel comparison and keypoint detection.

Text recognition techniques
TestArchitect offers you two methods for recognizing text produced by an AUT: Optical Character Recognition (OCR) and Graphics Device Interface (GDI) techniques.

Stopping tests on timeout
You can set a timeout for the test case to ensure that the test execution does not take longer than it should.

Copyright © 2021 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333