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 04-02-2007, 04:01 AM
jay gordon jay gordon is offline
Junior Member
 
Join Date: Mar 2007
Posts: 2
Default excel question

Is it possible to read from an excel spreadsheet (multiple rows & columns) and populate a web page with the values from the spreadsheet

Jay
Reply With Quote
  #2 (permalink)  
Old 04-12-2007, 11:09 AM
rparmani rparmani is offline
Administrator
 
Join Date: Jan 2007
Posts: 9
Default

Hi jay,

create a task that processes one row of excel for e.g. traverse through various columns using TAB key and copy the cell and paste it in to your application.

Before you stop the task make sure you are on the first column of the next row. you can do that by hitting ENTER and HOME key. That way when you repeat the task using repeat property, it will pick the next row.
Reply With Quote
  #3 (permalink)  
Old 05-17-2007, 11:19 PM
Nick Nick is offline
Member
 
Join Date: May 2007
Posts: 37
Smile

Jay,

Yes this is possible. Save your Excel File to a .csv (From the File Menu in Excel) This is much faster than keystrokes.

In automation anywhere you can create a step to loop through the .csv and populate the web page using the web recorder functions.

When you read from a database or .csv file use the $Dataset Column(1)$ variable

For example let say you have 2 columns in your csv file. Name and PhoneNumber
If you wanted to pull over the PhoneNumber you would use $Dataset Column(2)$


Below is the connection string for a .csv file. You will need to change the path to point to your .csv file

Step1
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\webpage\load\;Extended Properties="text;HDR=YES;FMT=Delimited";Persist Security Info=False

Next you will need to add the SQL Step (SQL Query)

Step2
SELECT * FROM NameOfYourFile.csv

Step3
Next you will need to loop through each row in a SQL query dataset


Add steps to populate web page fields (use the web recorder from the tools menu) you can always convert the constants to database variables after recording.

Don’t forget to add disconnect step
Attached Images
File Type: gif csvconnect.gif (18.4 KB, 12 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

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 07:02 PM.


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