[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. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
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.