List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to 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


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.



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

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