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 :
abonner à la newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] 'if' condition for string
Hi Richard, '$(var)' == "whatever" works as well as long as you have no special characters like backslashes or any language specific characters. rc.lookup("var") takes care about escaping those characters correctly. Best Regards, Martin --On Mittwoch, September 04, 2013 13:38:42 +0000 Richard Goulet <Richard.Goulet@?.com> wrote: Hi, One of my co-workers discovered that in a string comparison in a 'if' node can be written: '$(strVar)' == "whatEverString" Instead of: rc.lookup("strVar") == "whatEverString" like it is recommended in the technical manual. As I didn't find this in the book, tell me your opinion about this and is this error prone? Thanks Richard Goulet Assurance Qualité/Quality Assurance Ixiasoft Ltée 825 Querbes Montréal, Qc, H2V 3X1 T : 514-279-4942 F : 514-278-5415 richard.goulet@?.com<mailto:richard.goulet@?.com> www.ixiasoft.com<http://www.ixiasoft.com/> -- Martin Moser Development & Support E: martin.moser@?.de T: +49 (0)8171 38648-14 F: +49 (0)8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor 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.