Int4 Test Execution specific functions
This table lists the functions enabled by ASTER integration with Int4 Suite.
System functions
Name | Description | Usage Example |
|---|---|---|
| Sends a debugging message with the content x to the test execution log. |
|
| Includes and evaluates a script named |
|
| Loads and returns exact content of the scripting item named |
|
| Sends a log message y with status x to the test execution log. Message types:
|
|
Variable-related functions
Name | Description | Usage Example |
|---|---|---|
| Reads the value(s) of variable x from the execution context. This function returns two dimensional table. The first dimension represents the Variable state.
Second dimension is a numbered list containing all the variable values. E.g. for a variable filled with multiple materials |
Please note that during script design, this function is not able to return any meaningful data. For design we’re recommending to rely on the Example:
CODE
|
Process-related functions
Name | Description | Usage Example |
|---|---|---|
| Returns list with basic test case information for all test cases of currently executed process in Int4 Suite - that is a set of test cases in the current test run, connected with current test case by parent and/or child relationship.
|
Returns a structure like:
NONE
Please note that during script design, this function is able to provide meaningful data only if test case number is provided in the editor. |
| Returns table with data of specific test cases from currently executed process, by index
First execute the function |
CODE
Please note that during script design, this function is able to return meaningful data only if test case number is provided in the editor. |
Payload-related functions
Name | Description | Usage Example |
|---|---|---|
| Returns a single payload relevant to current test execution processing step. Specifically:
This function returns an empty dataset if executed in Custom Validations scripts. |
Please note that during script design, this function is not able to return any meaningful data. For design we’re recommending to rely on the Example:
CODE
|
| For Custom Validations scripts. This function is dedicated for the Custom Validations scripts only. It will return empty dataset if used in other context. | Please note that during script design, this function is not able to return any meaningful data. For design we’re recommending to rely on the |
| Returns the Input payload from Test Case in the execution context. |
|
| Returns the Output payloads list from Test Case in the execution context. |
|
| Returns the XML representation of reference Database Data payload from Test Case in the execution context. |
|
| Returns the specific numbered payload Please see more details in the Int4 Suite configuration tables and data dictionary for applicable payload types. |
|
GET_TC_PAYLOAD is reserved for very special cases of payload handling, e.g. if access to message header is needed. For most of the cases, the convenient GET_CONTEXT_PAYLOAD() feature, and the dedicated functions for INPUT, OUTPUTS and REFERENCE DATABASE DATA, should be sufficient.