![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have a task that does the following: - logs into website - fills out a form - submits form - finds a link based on text - downloads a file using the link I don't have any problems until I get to the last step... the downloading of the file. I can take the url using the manage web control and assign the url to a parameter. Then I can use the download file command to try to download the file. This doesn't work because I think the download file doesn't download the file through the same session that is logged in. So it cannot access the file. What is the best way to download the file once I have the link for the file (and when it requires me to be logged in)? Thanks! Tyler |
| |||
|
When I click on the link a window pops up with the title: "File Download". The pop up asks if I want to Open, Save or Cancel. If I use AA to check for that window using an If Window Exists ("File Download") command, it doesn't find it... not sure why. This means I can't select the save button. Maybe I'm doing something wrong. forumsupport, can you create an example that works for downloading the first csv file from this page: Download Compiled Data Files (.csv - Format) This is not my actual page, but I can't give you that one because it requires logging in. In your example please consider that I cannot use the "Download File" command because of the login issue. And also, I must find the link using the text for the link, not the url itself because the URL will change. Thank you! |
| |||
|
When I click on the link a window pops up with the title: "File Download". The pop up asks if I want to Open, Save or Cancel. If I use AA to check for that window using an If Window Exists ("File Download") command, it doesn't find it... not sure why. This means I can't select the save button. Maybe I'm doing something wrong. forumsupport, can you create an example that works for downloading the first csv file from this page: Download Compiled Data Files (.csv - Format) This is not my actual page, but I can't give you that one because it requires logging in. In your example please consider that I cannot use the "Download File" command because of the login issue. And also, I must find the link using the text for the link, not the url itself because the URL will change. Thank you! |
| |||
|
Hello, You can use 'Loop While Window Exist' command to wait until particular window appears and then perform subsequent actions in it. We have attached sample task for reference. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Hope that helps. |
| |||
|
Thanks support, that does work. I see you are using "Loop While Windows Does Not Exist". Why can't we use: If Window Exists ("File Download") Then (Wait up to 5 seconds - for Window to exist) That is what I was using and it doesn't seem to work. |
| |||
|
Thanks support, that does work. I see you are using "Loop While Windows Does Not Exist". Why can't we use: If Window Exists ("File Download") Then (Wait up to 5 seconds - for Window to exist) That is what I was using and it doesn't seem to work. On another note, every time I post something to the forum, I get a message saying: The following errors occurred with your submission: This forum requires that you wait 30 seconds between posts. Please try again in 30 seconds. And I haven't posted anything for a few days. When I try a second time to post, it seems to work fine. |
| |||
|
Can you modify your example to account for both of the following situations: #1. When you save a file for the first time (like how it works now) #2. When you save a file that already exists and it asks if you want to replace it (selecting "Yes") Situation #2 is where I would think I should use "If Window Exists" but that command doesn't seem to work. |
| |||
|
Can you modify your example to account for both of the following situations: #1. When you save a file for the first time (like how it works now) #2. When you save a file that already exists and it asks if you want to replace it (selecting "Yes") Situation #2 is where I would think I should use "If Window Exists" but that command doesn't seem to work. |
![]() |
| Thread Tools | |
| Display Modes | |
| |