Summary

When you use the Quick Test button to test a script in the adTempus Script Editor, the script may behave differently than it does when it is run during job execution.

More Information

When you test a script using the Quick Test, button the script is run from the adTempus Console, outside the context of an executing job. As a result, the script may behave differently when it is run as part of a job. Some specific differences are discussed below.

Because of these differences, the Quick Test feature is best suited for validating the syntax of a script and for testing scripts that do not rely on any external data or on any interaction with adTempus.

More complex scripts that need to interact with their environment or with adTempus can only be tested accurately by actually running the job that contains them.

Job Variables

Job Variables (including Environment Variables) are dependent on a job context and therefore are not set when the script is executed in a Quick Test. As a result, any Job Variables your script reads will have empty values.

Computer Differences

In a Quick Test, the script is run on the computer where the adTempus Console is running. If this is a remote client (the Console is running on a different computer than the adTempus service), you may encounter problems due to differences in the two computers. For example, any files or external components used by your script would have to be present on both computers.