The XTools object supplies the following functions that you can use to perform general tasks.
Runs command line with passed attributes.
run(Command, [Args =
""], [Timeout = -1], [UseOutput = TRUE])
Command. Application executable file.
Args. Application arguments. Optional. Default =
Timeout. Timeout in milliseconds. If this is -1, ALM waits an infinite amount of time for the application to finish running.
UseOutput. If TRUE, ALM replaces the standard output with the VAPI-XP output window.
Creates an array of variants from an array of objects. For example, if a called object returns as a method result an array of strings, none of the supported script engines is able to read the array. Calling the WrapArray function and passing the returned array as a function parameter creates an array of variants that can be understood by the scripting engine.
array. Array to wrap.
Suspends script execution for a specified amount of time.
interval. Time (in milliseconds) for script execution suspension