Mailing List - Entries of 2012
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] How to record the redirection to a pdf file by following a link ?
Hello Julie, a PDF document is not displayed by the browser itself but with the help of a plugin. QF-Test has no control over that embedded component, you could do nothing with it. Therefore QF-Test handles PDF files as downloads. That way you can save the file and use other means to verify it, e.g. by processing it with a library, converting it to text or by opening it with acrobat reader and saving the contents as plain text using the procedure saveAsText http://www.qfs.de/include/qfs_pkgdoc/qfs_pkgdoc.html#qfs.autowin.acrobat.saveAsText from our standard library qfs.qft. Best regards, Greg Julie Wong <julie.wong@?.com> writes: > Hello fellow QF-Test users, > > I am new to QF-Test. I am currently experimenting with creating a > test script using the record and playback feature of QF-Test on a > website we own. > > There are many links on our website which point to pdf files. When I > click one, the pdf file the links points to opens up in a new browser > tab. When I record this action in QF-Test, instead of seeing the pdf > open up in a new tab, I get a pop up which asks me to save the pdf to > my desktop. This is not the behavior I want to test. > > Is there anything I can do to make QF-Test redirect to open the pdf > file when I click on a link? > > Thanks in advance, > > Julie -- Gregor Schmid Gregor.Schmid@?.de Quality First Software GmbH http://www.qfs.de Tulpenstr. 41 Tel: +49 8171 38648-0 DE-82538 Geretsried Fax: +49 8171 3864816 GF: Gregor Schmid, Karlheinz Kellerer HRB München 140833