Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-02-2007, 01:47 PM
clayboyd clayboyd is offline
Junior Member
 
Join Date: Sep 2007
Posts: 13
Default sharing data between task

Hi,

I know I can share data between tasks in the file system (by saving / loading from a file).

Can I also share data between tasks inside a variable? (setting in one task, using in another task)

I'm trying to create a psuedo-global variable that is used in multiple software tests, each of which resides in a separate task. Then I will create a suite of test cases by calling the tasks from another task.

thanks,
clay
Reply With Quote
  #2 (permalink)  
Old 10-03-2007, 09:11 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 522
Default

Hello,

In that case, in first task let’s say source.atmn, you can assign value of variable to clipboard using ‘Assign To’ Clipboard command and in second task let’s say destination.atmn retrieve the value of that variable from clipboard using ‘Assign From’ Clipboard command. You can find Clipboard command under Miscellaneous Commands Categories.

The sample task format of both tasks will look something like this:

Source.atmn:
Assign value of variable "$Prompt-Assignment$"to Clipboard

Destination.atmn:
Assign value of Clipboard to variable "$Prompt-Assignment$

You can also call destination.atmn from source.atmn. The value of $Prompt-Assignment$ variable in source.atmn will be retrieved in destination.atmn using clipboard.

Hope that helps.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 04:50 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved