unsigned wrote:I have a couple of questions,
One:
- Is there a way to iterate over a block of statements in an evs file, a
"while/for" loop of sorts.
The script language is a "command language" so no, there's no such
looping construct.
However...
* You can Playback > Control Playback > Run Multiple to repeat a script
a fixed number of times. (Also ... > Run Forever is available in the
revenue version, but not in the EVAL.)
* You can have a script do this:
...
CallScript script.evs
CallScript script.evs
CallScript script.evs
CallScript script.evs
CallScript script.evs
...
which will script.evs run it 5 times. Etc.
- Maybe its already built into evalid, but I want to ensure that a page is
completely rendered before the next statement is run.. In my case the
"MatchString" fails.
The command is "SyncOnText" which waits until the named text is present
in the actual page...
Two:
- Are the WAIT statements neccessary at all from a monitoring standpoint;
related to #1 I suppose.
We generally leave the Waits in, maybe put a ceiling on the Wait times
(e.g. 5000 msec = 5 sec) so the server doesn't see a super heavy spike
of load...but you could of course zap them all with a wait time
multiplier of 0.0 if you want...