La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter
our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.
Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Using complex variables on Test-Suite Level
Hello Bernhard, QF-Test variables at node level are always just Strings. The only way to store arbitrary complex values are global objects in the Jython and Groovy script interpreters and there's no way to limit access to a single Suite. There's one exception: If the complex value has a String representation like [1, 2, 3] or {'a': 1, 'b:' 2} that can be parsed directly by Jython or Groovy, you can store it as a QF-Test variable at suite level and expand it using $(...) syntax in a Jython script or Eval in Groovy. Best regards, Greg Bernhard Schmitt <bernhard.schmitt@?.de> writes: > Hello, > > is it possible to use complex variables (lists, dictionaries or even > Jython or Java objects) on test suite level? On the one hand, in the > test-suite node I can just define numeric and string variables. > On the other hand, I do not want to use global variables which are > accessible in the complete project. Due to encapsulation, I just want > to have complex variables accessible in the test suite. > > 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, Thomas Roßner > Sitz der Gesellschaft: Hofheim > Registergericht: Frankfurt am Main, HRB 52155 > ======================================================================== > > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://archive.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.