2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007

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

RE: [QF-Test] boolean value in java and python

  • Subject: RE: [QF-Test] boolean value in java and python
  • From: "Michaelis, Mark" <mark.michaelis@?.com>
  • Date: Tue, 10 Apr 2007 08:54:07 +0200

Hello Huawei,
false maps to "0" and true maps to "1". Only when being in qftest (and not in Jython) you will have the option to use "true" and "false" (e. g. in if-nodes).
Kind Regards,
- Mark
Mark Michaelis
Software Engineer Quality Assurance

Ludwig-Erhard-Str. 18
20459 Hamburg, Germany

Any content, anywhere, in a trusted universe:
CoreMedia CMS, CoreMedia DRM, CoreMedia Mobile TV
CoreMedia AG
Executive Board: Sören Stamer (CEO), Dr. Klemens Kleiminger (CFO)
Supervisory Board: Prof. Dr. Joachim Schmidt (Chairman)
Trade Register: Amtsgericht Hamburg, HR B 76277


From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of Huawei Luo
Sent: Monday, April 09, 2007 11:33 PM
To: qftest-list@?.de
Subject: [QF-Test] boolean value in java and python

Hi, Does anyone know how Python/Jython interpretes the Boolean value returned by a Java API? If a Java API method returns false, in python, how to check the value is true of false? Obviously, python won’t think true/false as Boolean, instead, python thinks them as string