Discussion:
Multiple string value test
(too old to reply)
PMR Christoff
2003-11-21 12:53:01 UTC
Permalink
Hello,

I would like to compare multiple strings in a same step. In a "string
value test" step, you can only compare one string. To sum up, I would
like to have a "Multiple String Value Test" step. There is already a
"Multiple Numeric Test", why is not there a same step with strings?

Ch. PMR
SachaE
2003-11-25 11:57:21 UTC
Permalink
Hi,
there's two options.
1) you could modify your step to run as a loop, and then flick through
a list of strings to compare, or
2) write your own custom step type. This would involve making a piece
of code that took in the list of strings to compare against, and how
you wanted to compare them, and then return a pass / fail or whatever
you wanted to use for a flag to say how the comparison went.
Have a look at the following URL for more information on creating
custom step types.

http://digital.ni.com/devzone/devzone.nsf/webcategories/6F8978B74F0425D7862567F3001CF97F?opendocument&node=DZ52236_US

Hope this helps

Sash.

Loading...