test, that takes an assertion object and an object with variables (a key/value pair). If the function returns
true the test is successful. If it returns
false or raises an exception, then the Script assertion failed.
Script assertions support the same API as Script nodes
A script assertion test is considered to be failed if you get any kind of exception while running the script; otherwise, the test is passed.
The Assertion has the interface of a Script node:
The Name field contains a short description of the test.
This assertion doesn't have any error fixing algorithm.
The assertion has the
script type in the file. The type description can be found in Assertion file representation Assertion file representation documentation in the