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 from 2017 up to now


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

[QF-Test] Dynamic stringification of procedure parameters


  • Subject: [QF-Test] Dynamic stringification of procedure parameters
  • From: BENHAROUS Cedric <cedric.benharous@?.com>
  • Date: Fri, 24 Nov 2017 11:02:45 +0100
  • Delivered-to: qftest-list@?.net

Hi all,

 

Is there any way to dynamically "stringify" procedure parameters inside a Jython script ?

Example:

someProcedure takes as parameters:

-       name

-       someOptionalVariable

 

We need to have a local QFTest variable containing : “name=MyName” or “name=MyName, someOptionalVariable =MyValue” if someOptionalVariable is defined.

 

Note: This string is to be inflated as java properties to be passed to a call to a QFTest daemon procedure.

 

Is there any way to achieve this ?

 

Cheers,

Cédric

 

[@@ THALES GROUP INTERNAL @@]