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]

Re: [QF-Test] Override existing pdf

  • Subject: Re: [QF-Test] Override existing pdf
  • From: "Yann Spoeri, QFS" <yann.spoeri@?.de>
  • Date: Fri, 4 May 2018 09:18:02 +0200
  • Delivered-to: qftest-list@?.net

Hi Kevin,

You may call the procedure qfs.shellutils.copy [1] in order to copy the pdf file first. You can use <path>/${qftest:runid}.pdf [2] (or something
similar) here in order to get copy the file to a unique location ... Then terminate/close the "Adobe Acrobat Reader" process (see below). And
then delete the original pdf file via the procedure qfs.shellutils.deleteFile [3].

Terminating a process:
You can close a window via the procedure "qfs.autowin.close" [4]. In most cases this terminates the process too.
If you only have one opened "Adobe Acrobat Reader" process (or if you want to close all opened adobe readers), you can run a command like:
killall -9 adobereader
via an 'Execute shell command' node [5].



Am 03.05.2018 um 10:07 schrieb Liu, Kevin (DPTI):

Currently I am testing verifying the contents of printed pdfs using QF-TEST 4.2.2, and I’ve tried to call qfs.autowin.acrobat.savePDF with
  “overwriteExistingFile” set to true, but it prevents me from deleting the existing pdf file because It’s already opened in “Adobe Acrobat
Reader DC”,

So if I want to save one opened pdf to a different name and then close the opened pdf tab (with the different name) within “Adobe Acrobat Reader
DC” so that it won’t prevent me from deleting the existing pdf file when I re-run the test,

how can I do that?

Thanks in advance


qftest-list mailing list

Yann Felix Spöri

E: yann.spoeri@?.de
T: +49 8171 38648-21
F: +49 8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833