List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au 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