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 :
abonner à la newsletter 


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

[QF-Test] Logging output of Java objects used by Jython scripts


  • Subject: [QF-Test] Logging output of Java objects used by Jython scripts
  • From: Bernhard Schmitt <bernhard.schmitt@?.de>
  • Date: Fri, 18 Nov 2016 10:26:08 +0000

Hello,

in some Jython scripts, I am using Java objects.
- How can I log the standard outputs of the Java objects (System.out.print("something")) in the QF-Test Terminal window?
- How can I log  special errors or messages  oft the Java objects in the *.qrz report? I am thinking of using the variable "rc" as parameter for a special method and then using rc.logError() and rc.logMessage(), but I am not sure if this ist a good way.

BR

Bernhard




--
========================================================================
Bernhard Schmitt
Consultant Softwaretest
E-Mail: bernhard.schmitt@?.de
------------------------------------------------------------------------
imbus Rhein-Main GmbH, Kirschgartenstraße 15, 65719 Hofheim, DEUTSCHLAND
Tel. +49 6192 92192-0, Fax +49 6192 92192-50
info@?.de http://www.imbus.de

Geschäftsführer: Frank Schmeißner, Tilo Linz, Bernd Nossem
Sitz der Gesellschaft: Hofheim
Registergericht: Frankfurt am Main, HRB 52155
========================================================================