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]

[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
========================================================================