Page 1 of 1

Help with reading SystemCall and JavaScript commands data

PostPosted: Mon Apr 09, 2018 2:09 pm
by AJochim
Hi there.

Can someone help me to decode the type of the data returned back from SytstenCall command?

What about the result of a JavaScript call?

Thanks

Re: Help with reading SystemCall and JavaScript commands dat

PostPosted: Tue Apr 10, 2018 12:07 pm
by eValid
AJochim wrote:Hi there.

Can someone help me to decode the type of the data returned back from SytstenCall command?

What about the result of a JavaScript call?

Thanks


Sure thanks for posting AJochim.

First, about commands in the Windows environment.

Due to architectural constraints in eValid you don't get to see the result of a SystemCall or a SystemCallWait command directly.

The system assumes that the named command exists and has the right execute permissions, but this information is disregarded by eValid.

Play continues immediately after issuance of a SystemCall; playback waits for some completion signal (ERROR or otherwise) from SystemCallWait.

But if you have set OnError flags for your script -- so that you drop to a recovery script when an Error happens -- then you do have an indication that the return code from the desktop invocation was non-zero.

Now, about JavaScript.

The CallJavaScript command, which requires you to specify the name of the JavaScript method/function and the window in which is is to be launched, is different.

JavaScript functions always complete and in this case if you issue a CallJavaScript playback continues immediately.

If the named JavaScript method/function is wrong, or it causes an error, then you are not informed of this through the eValid control interfaces, but you are in the eValid browser, with the usual error messages.


-- eValid Support