View Single Post
  #3 (permalink)  
Old 02-06-2008, 11:26 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Using Automation Anywhere, you can pass parameter to any java script and store the return value to a variable.

For your reference, we have attached "javascript.atmn".

All you need to do is, copy the task files (javascript.atmn) to.....\My Documents\Automation Anywhere\Automation Anywhere\My Tasks\

Create a variable with name “temp” from Tools->Variable Manager. 'Add new variable’ of value type and assign zero to it.

Also, copy “sumall.js” file to c:\ drive

Run the task. This task will sum up all the parameters that we passed and will return the output to Temp variable.

Hope that helps.
Attached Files
File Type: zip zip.zip (655 Bytes, 15 views)
Reply With Quote