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 03-05-2009, 08:08 AM
nriddock nriddock is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
Default need to automate data entry

hello

i have a desktop app (non web/browser based) that allows me to register patients.

the patient data is in tab delimited txt file

ex:

lastname|firstname|MI|age|***|doctor

ive tried using the "Transfer data from excel" task and it picks up the data from A1 and puts it into the first data entry field. what i cant figure out how todo is do it for more than one field

ie:

data from A1 goes to field 1
data from A2 goes to field 3
data from A3 goes to field 4

i guess i can use tabs to enter keystrokes ... $data1{tab}{tab}$data2

any suggestions?
Reply With Quote
  #2 (permalink)  
Old 03-05-2009, 11:43 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can use, 'Read from 'CSV' file' option of Database command to get the data from tab delimited text file. After you connect to text file, the result set is stored in the System Variable $Dataset Column$. Use Loop for Each row in a SQL query dataset option to loop through all the rows of the result set. To access each column use $Dataset Column(index)$ for e.g. to get the first column use $Dataset Column(1)$. Inside loop, you can insert Keystrokes commands to enter the data into your desktop app. You can use Tab(s) to move the cursor at required location.

For your reference, we have attached a sample task. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. You need to edit this task as per your requirement for e.g., change the text file location and name, change the window title of Keystrokes command and so.

Hope that helps.
Attached Files
File Type: atmn AutomateDataEntry.atmn (2.6 KB, 3 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 03:08 PM.


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