![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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:
|
| |||
| 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. |