Int4 Test Execution specific functions
This table lists the functions enabled by ASTER integration with Int4 Suite.
System functions
Name | Description | Usage Example |
---|---|---|
| Includes a script named |
|
| Sends a debugging message with the content x to the test execution log. |
|
| 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
|
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.