2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2018 bis heute


[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