List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


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

Re: [QF-Test] 'if' condition for string


  • Subject: Re: [QF-Test] 'if' condition for string
  • From: Martin Moser <martin.moser@?.de>
  • Date: Thu, 05 Sep 2013 10:32:28 +0200

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