List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog


[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