Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. 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 09-29-2008, 02:05 PM
tech180 tech180 is offline
Junior Member
 
Join Date: Sep 2008
Posts: 1
Default Making list varibles random

Hello, I purchased automation anywhere and need to make list variable load randomly from a text file. Is this possible? Thanks for your help
Reply With Quote
  #2 (permalink)  
Old 10-02-2008, 02:07 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Currently it is not possible to load list variable randomly.

However, what you can do is instead of text file, you can write the list of values in one column. Let's say column A and let's say you have 50 values.

Create a random variable that ranges from 1 to 50.

And then in go to cell command of Excel, you can use combination of A$rand-var$ to go to a cell and get the value of the cell.

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 10-02-2008, 09:05 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

For your convenience, we have attached a sample task. Please copy attached .atmn file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Copy .xls file under C:\.

Before running this task, please create a random list variable, RndVar. Please follow below mentioned steps to create random list variable,

1. Go to Tools->Variable Manager in Automation Anywhere.
2. Click on “Add New Variable”.
3. From "Type" dropdown, select 'Random'.
4. In “Name” field, enter “RndVar”.
5. Select 'Random Number - Range' option.
6. In “From” field enter value 1.
7. In "To" field enter value 56.
8. Press “Save”
9. Press “Ok”

This task would randomly fetch values from column A in a excel file and will paste the values in a Notepad.

Hope that helps.
Attached Files
File Type: zip RndListVar.zip (2.7 KB, 9 views)
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

BB 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 08:43 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved