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 11-26-2007, 11:48 AM
drhall99 drhall99 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Question Problem setting up a task

I am setting up a task that will download a file by activating a link (Href link) and then accepting the download. The problem I have is that the link is not always in the same position on the screen each time, so a simple recorded task is not suitable. Additionally, the file name changes each time as each download is given it's own unique identity, so I cannot simply scrape the link title. I have pasted the HTML code from the page below. The link href is href="/dataport/dl/SAVED_EXPORT_RNETNFQWKK.csv". In this case, everyting past the last underscore changes each time. Any suggestion as to how I can reliably activate this link or download the associated file each time. To add the difficulty, there are steps that must be taken to creat this file that have to be done and then the webpage cannot be changed until after the download. Thanks for your help!

Quote:
<td align="center" bgcolor="#00CC00"><span class="style1"><font size=6>&nbsp;V&nbsp;</font></span></td>
<td>



<a href="/dataport/dl/SAVED_EXPORT_RNETNFQWKK.csv" target="_blank"><strong> Click here
to download your file</strong></a> (generated at 11/26/2007 12:40:48 PM in <strong>0</strong> minutes <strong>10</strong> seconds) </td>
</tr>
</table>
</td>
</tr>
Reply With Quote
  #2 (permalink)  
Old 11-26-2007, 03:11 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

Automation Anywhere provides you with a powerful tool, Web Recorder. Web recorder understands all web controls. When you perform any action in a browser, for example click a link or a button or a check box, Automation Anywhere knows the exact web control. If websites change & links or buttons move, Automation Anywhere will still accurately replay the task.

To always click on the link situated at particular position, please follow the steps given below.

1) Click on Tools->Web Recorder.
2) Type in URL of website say CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News and click on Start
3) Click on the link and Stop recording.
4) Open the task in Editor.
5) Edit the Click command.
6) In Manage Controls command there is an ‘Advanced’ option for Links. It has three check boxes i.e. Name, URL, Index. Uncheck the 'Name' box and check the 'Index' box. What this does is, every time it comes across this command it will search this link by its index and not the name or URL it points to. So next time even if the name of the link changes, it clicks on the same link.

You can refer to online sample task that automates Website Testing even if the layout or content of the web page changes. It can be applied to any similar scenario on any website. Following is the link to that task,
http://www.tethyssolutions.com/T62.htm

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:41 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