Wie können wir Ihnen helfen?
< Zurück
Drucken

Call

The Call node references the target node from another test case.

 

Attributes:

AttributeRequiredDescription
IdYesUnique Id in the query tree
DependsOnNoOptional dependency on on or more query nodes. These are provided with their Id as name as SQLite table.
StatementYesSQLite query
ParametersNoOptional "named" SQLite Parameter. Only the variant with the colon is supported.
ResultFilters NoList of result processing

 

Example

There is a test case “Called.tent” in the “Docu” workspace. This test case has a test case parameter “Name” with the value “Foo”.

--- !ClientQuery
Id: Sink
Statement: Select '${Name}' as Label

Result:

Label
Foo

 

This test case is now referenced from another test case via a Call node. The test case parameter “Name” is explicitly overwritten with the value “Bar”.

--- !Call
Id: Foo
TestEntity:
  File: Called.tent
  Workspace: Docu
Parameters:
  Name: Bar

Result:

Label
Bar
Inhaltsverzeichnis