How does CallScript work?

Discussion of the technology underlying the eValid solution.

How does CallScript work?

Postby Walkera » Tue Feb 28, 2012 12:31 pm

How does CallScript work? Can I select the next called script dynamically and CallScript it?
Walkera
 
Posts: 1
Joined: Tue Feb 28, 2012 12:27 pm

Re: How does CallScript work?

Postby eValid » Wed Feb 29, 2012 12:39 pm

Walkera wrote:How does CallScript work? Can I select the next called script dynamically and CallScript it?
Excellent questions.

In fact, yes, not only can a CallScript pass parameters to the named script, but its parameters can also be parameterized.

That said, caution is advised here, for the following reason: While this kind of trick works just fine, it can be somewhat tricky to get it "right".

Remember, eValid handles parameter passing as a kind of "macro substitution" or "string substitution". The eValid script is NOT a programming language, but the ability to handle things dynamically is so important we had to include something like this in the product.

Another useful hint is to keep the values of ALL of your parameters in an Environment Variables file, which often is easier to adjust and modify than
the scripts are per se.

Oh, yes, as long as you ask, yes, the Environment Variables file can actually be constructed locally by eValid playbacks using, for example, SaveRecord commands. But that may be going overboard.

eValid Technology Team
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons