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 10-27-2008, 01:28 PM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default How to click file in a list

We are presented with a list of files, all uniquely named, on a remote website. Using the extract from internet table we can easily loop through the files presented within the list. The question is, how can a particular file name be left mouse-clicked one time? See the image attached, how can the filename be clicked? Using the table values it is easy to determine which file to click, but, we have tried using the 'name', 'URL', and 'index' type advanced search options but the wrong file name is continuously selected by the control.

We are using the 'Web Recorder', 'Manage Web Controls' control.

Please advise.

Reply With Quote
  #2 (permalink)  
Old 10-27-2008, 01:57 PM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

Using 'Manage Web Controls', and 'Name' in the advanced options dialogue, this error is received when the script is run. The error message is in the attached image.
Attached Images
File Type: jpg AA-err.jpg (26.8 KB, 6 views)
Reply With Quote
  #3 (permalink)  
Old 10-27-2008, 02:41 PM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

Here are the Java links that execute the file download. Question is, how can this URL be executed within Automation Anywhere? Can 'Manage Web Controls' handle this situation?

Please advise.

FIRST FILE:
javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate()) __doPostBack('dnn$ctr371$DownloadSearchPage$Search Page$Datalist$_ctl3$Select','')}

SECOND FILE:
javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate()) __doPostBack('dnn$ctr371$DownloadSearchPage$Search Page$Datalist$_ctl4$Select','')}

THIRD FILE:
javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate()) __doPostBack('dnn$ctr371$DownloadSearchPage$Search Page$Datalist$_ctl5$Select','')}

FOURTH FILE:
javascript:{if (typeof(Page_ClientValidate) != 'function' || Page_ClientValidate()) __doPostBack('dnn$ctr371$DownloadSearchPage$Search Page$Datalist$_ctl6$Select','')}
Reply With Quote
  #4 (permalink)  
Old 10-27-2008, 10:02 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

What we understand, you have list of links on a webpage and you want to click on it one by one. Am I correct?

In that case, what you can do is, using Extract Table command get all the links in a CSV file. Now, insert 'Loop for each row in an IE table' command and inside loop put 'Manage Web Controls' command to click on particular link. Edit 'Manage Web Controls' command to replace the actual link name with $Table Column()$ variable. We have attached a sample task for your reference. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Hope that helps.
Attached Files
File Type: zip ExtractTableSample.zip (2.0 KB, 11 views)
Reply With Quote
  #5 (permalink)  
Old 10-28-2008, 08:11 AM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

Thank you for the sample. Now my question is how to manuever a 'Save As' Windows dialogue? Please see the image below, I need to set the Path, and FileName, and then click the 'Save' button; these values will preferably be found within variables. It is my understanding this 'Save As' window will be displayed in a random position depending upon the monitor resolution of the user, so I am reluctant to use the mouse x,y coordinates to click buttons, and there is no URL for this window as far as I can see so I am guessing that the 'Web Recorder' control may not be the best choice.

Your recommendation is requested.
Thank you.
Attached Images
File Type: jpg SaveAsDialogueSample.jpg (63.4 KB, 3 views)
Reply With Quote
  #6 (permalink)  
Old 10-28-2008, 09:01 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can use Manage Windows Controls command in the Task Editor to select the items in the drop downs or directly writing to the text boxes. this way you don't have to worry about the Save as window appearing at different locations. Also, you can use keystrokes to type in the values and use TAB to move to the next field and eventually hit Enter once you are on Save button.

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

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 02:40 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