List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


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