List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] File download from firefox


  • Subject: [QF-Test] File download from firefox
  • From: Nedvěd, Marek <m.nedved@?.de>
  • Date: Mon, 26 Mar 2018 11:50:15 +0000
  • Delivered-to: qftest-list@?.net

Hello,

We are currently testing one of our web applications with qf-test and we stumbled upon a file download. At some point we would like to download a *.zip file from the website. In Chrome and IE we simply click on the “small dialog” and the in the following select node we specify the path. But the firefox doesn’t show this dialog, instead it shows directly the proper download dialog, which we cannot simply control.

 

From what I’ve learned, there are 3 options how to overcome this:

·         Either write some autowin script, that would interact with the Download dialog and save it. The downside is, that we cannot affect the directory, to which the file gets downloaded or the name of the file. (which is sadly generated with a timestamp)

·         Or we can create a simple http client, send GET request and download the file from the response. This should work, but I am not sure how it would work with authentification, cookies and such.

·         The last option that others do is  to prepare a firefox profile, that always downloads this type of file to a known location and use this profile at the start of the browser. Which seems complicated and has the same disadvantage as #1

 

So the question is, how do I download simply a file from firefox? Is there some other way?

 

Best regards,

Marek Nedvěd