Download File from site that requires login
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
|