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

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