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 2013

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

[QF-Test] procedure returning None as result

  • Subject: [QF-Test] procedure returning None as result
  • From: "Chugunov, Alexey" <chugunov@?.ru>
  • Date: Wed, 24 Apr 2013 09:46:40 +0000



I have this procedure which consists of jython SUT script and a return:

I get exception when I try to return None as the return value, as it unsets the “result” local var.

What is the recommended way to return “None” value from a procedure?

Some arbitrary string like “false”?


1.       Sut jython script (details skipped)

result = None       

rc.setLocal("result", result)


2.       Return $(result)


The return causes exception if result is set to None




Alexey Chugunov

Mera, GMT+4

Mayak 30104C phone: 4240 (redirected to mobile if no answer)



PNG image

Videos Downloads Documentation Buy Free Trial