Page 1 of 1

Chaining tests together and what limitations

PostPosted: Mon Jul 08, 2019 7:27 am
by JKowal
Morning.

Can eValid chain tests together?

Are there any constraints?

Thanks

Re: Chaining tests together and what limitations

PostPosted: Tue Jul 09, 2019 11:23 am
by eValid
JKowal wrote:Morning.

Can eValid chain tests together?

Are there any constraints?

Thanks


Thanks for posting your question JKowal.

The answer is "yes" and "a few".

To stich two eValid tests together you put a CallScript command at the end of the first script that names the second script.

Here is the syntax:

CallScript "[PATH]script-name"
["Data-Substitution-Pair
[, Data-Substitution-Pair] "]

The parameters defined in the CallScript command specify values for parameters that are active in the called script.

This is so you can pass values down to the next script.

The main restriction is that a script cannot call itself (no recursion allowed; strict macro substitution of scripts all the way from the top).


-- eValid Support