Mailingliste - Einträge 2006

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

Re: [QF-Test] Unlimited screenshots in Qftest 2.0

  • Subject: Re: [QF-Test] Unlimited screenshots in Qftest 2.0
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 27 Nov 2006 17:34:51 +0100

Hello Venky,

currently screenshot will only be extracted from the run-log during
report generation. Until then they are still stored as part of the
run-log, so unlimited screenshots are not yet an option. However,
splitting run-logs into various parts is already partly implemented
and should become available some time after the 2.0 release. That will
remove the memory issue.

Creating and saving screenshots from scripts should be possible with
today's QF-Test 2.0 Release Candiate, though it's not officially
documented. You can try the following in an SUT script (untested):

imageHelper = rc.access.getImageHelper()
data = imageHelper.pngEncode(imageHelper.grabScreenshot())
# now data is a byte array that just needs to be saved to PNG file, e.g.
from import FileOutputStream
fos = FileOutputStream("myimage.png")

Best regards,

Venkatesh Madurai-Subramanian <vmadurai@?.com> writes:

>    Greetings!
>    2 Questions:
>    From what i remember, QFtest 2.0 would be able to store screenshots as
>    separate png/jpeg files on a given test run.
>    Q1 : Will this be available in QFtest 2.0 please?
>    Also... the value for "Maximum number of screenshots per run
>    (System)". Will this result in all screenshots being stored as
>    png/jpeg files?
>    Has anyone tried this with the beta release?
>    We would optionally like to log a series of screenshots for a given
>    test run, irrespective of pass/failures, so that our business analysts
>    can easily see what has actually happened on a test run. It has
>    various other uses as well.
>    Q2: Is this possible? (screenshot logging in external file
>    irrespective of pass/fail status)
>    Thanks and regards
>    Venky
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876