Hello,
Create VB script that would generate the random numbers between the given range. In script, use the Randomize statement without an argument to initialize the random-number generator with a seed based on the system timer. We have attached a sample script that would generate random numbers between 0-99.
You can call this VB script using 'Run Script' command. The result returned from the script can be assigned to Automation Anywhere variable.
To run attached task,
. Please copy .atmn file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy .vbs under C:\.
Hope that helps.
|