Page 1 of 1

How do I chain commands together with eValid

PostPosted: Thu Sep 15, 2022 8:02 am
by RichardC
Hello.

Does eValid have a way to chain commands one after another?

We need to do this so we can structuralize our tests and make it easier to reproduce starting points?

Can you give me some details on how to approach this problem?

Thanks

Re: How do I chain commands together with eValid

PostPosted: Fri Sep 16, 2022 11:04 am
by eValid
RichardC wrote:Hello.

Does eValid have a way to chain commands one after another?

We need to do this so we can structuralize our tests and make it easier to reproduce starting points?

Can you give me some details on how to approach this problem?

Thanks


Very reasonable approach and you're to be applauded for your foresight RichardC.

In eValid there is this command: CallScript "[PATH]script-name" ["Data-Substitution-Pair [, Data-Substitution-Pair] "]

CallScript passes control of the playback to the named script and passes along the way a set of one [or more, < 256 maximum] "Data Substitution Pairs" which specify the name and value
to be assigned to that name when the new script starts up.

As a safety precaution, CallScript cannot name itself -- this avoids running the script in a closed loop.

This seems like a reasonable precaution, to avoid unnecessary work if you put the playback engine in a lock up.

But you hacker may like this, this check to avoid self-invocation only goes one step deep.

So, if you really HAVE to you can go A --> B --> A. But don't we didn't warn you.


-- eValid support