Automation Objects contain configuration for each test execution. Automation Objects define the interface under test, test conditions, and necessary data manipulation. Automation Objects can also point to other objects, UI scripts, database validation definitions, and more.
Automation Objects Management
...
Widget Connector | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Database Validation ruleset points to a specific Database Validation object. It’s Its settings are read and used for execution of the database tables and fields comparison. This allows for single database validation ruleset to be used with multiple Automation Objects.
Info |
---|
Read more here on defining the Database Validation rulesets: DB Validation Rulesets |
Persist reference DB Data parameter, allows user to decide when the DB Reference Data should be fetched. If it’s switched on, it will be done during test case creation and stored as a test case payload named Reference DB Data. Otherwise, it will happen during test case execution.
In Test Case Details screen in Payloads section user can refresh this data using button or manually edit it by clicking on the Reference DB Data row in edit mode.
...
Option for refreshing Reference DB Data for many test cases at once is available in Int4 API Tester Cockpit main screen. This action can be performed for all test cases in the folder or for the selected items.
...
Variables
...
Variables in Int4 Suite represents a complex feature that allows for data manipulation in the processed test cases. There are various scenarios where Variable processing can be useful:
...
Description - free form text describing the purpose of the rule
Expression type - XPath or Flat File expression
XPath is a standardized way of locating nodes and data in XML messages. For JSON messages, JSONPath syntax is accepted as expression if XPath type is selected.
Flat File expressions language is developed by Int4 and allows for matching text patterns in flat file processing. Please read here for more details: Expression language for flat files
Expression - the XPath, JSONPath or Flat File expression
Rule - specifies the behaviour if data differs at the point specified by the Expression
Ignore - the difference has no impact on test result
Warning - the difference will trigger a warning and will be highlighted in the test report
Warning when different based on Variable replacement - the difference will trigger a warning, if the data matches data in a Variable, otherwise the difference will trigger an error
Warning when different based on Value Mapping - the difference will trigger a warning, if the data matches the definition in the Value Mapping, otherwise the difference will trigger an error
Change Request - the difference will be highlighted green in the test report. Works only for special Test Run Type. Please see comment below
Note |
---|
Change Request rules are active only when Test Case is run within Test Run type: Change Request Test |
Parameter - additional parameter for processing - Variable name OR Value Mapping name for comparison
...