List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


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

Re: [QF-Test] (no subject)


  • Subject: Re: [QF-Test] (no subject)
  • From: "Yann Spöri, QFS Support (Extern)" <support@?.de>
  • Date: Mon, 23 Mar 2015 21:28:17 +0100

Hi Claudio,

You can log an image to the run-log by using the logImage function [1] of the run-context.

Example Jython Script:

from imagewrapper import ImageWrapper
iw = ImageWrapper(rc)
# grep the screenshots of all monitors
images = iw.grabScreenshots()
# for each graped screenshot
for image in images:
    # log the screenshot in the run-log.
    rc.logImage(image)

Greetings & Happy testing,
    Yann

[1] http://www.qfs.de/qftest/manual/en/tech_scripting.html#sec_api_rc

Am 20.03.2015 um 11:00 schrieb Claudio Boscani:
Hi everyone,
I have a question,do you know how can I insert screenshots in run-log?
I mean now all screenshots are saved in the appropriate folder but on the other hand I would also see that everytime I open >Run-log (Ctrl+L).
Thanks in asvice.
Have a nice day.
Claudio


_______________________________________________
qftest-list mailing list
qftest-list@?.de
http://www.qfs.de/mailman/listinfo/qftest-list

--
_______________________________________________________________

Get the most out of QF-Test - Support directly from the authors
* Training & consulting: www.qfs.de/en/qftest/training.html
* Phone & email support: www.qfs.de/en/qftest/support.html
_______________________________________________________________

Yann Felix Spöri (Extern)
Support

E: support@?.de
T: +49 (0)8171 38648-20
F: +49 (0)8171 38648-16

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