Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2016

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

Videos Downloads Documentation Buy Free Trial