Question about StoreCsv command

Hi there,

This is what I’m trying to do:

However, it gives me an error on the last line: " [error] TypeError: Cannot read property ‘voornaam’ of undefined".

It seems as if using variable ‘b’ (which has a random number stored in it, see line 2) is not a valid way of determining the row on which StoreCsv has to look. Is my assumption correct, am I doing something wrong or is this a bug?

Let me know if you need more information. Thanks in advance!

PS: If someone knows another way of picking a random value from a column in a csv then please let me know.

Hi, in storeEval command you should use just b not ${b}, because now your variable name is ${b}.

${x} format is used to tell Katalon that you don’t wan’t letter x but you mean value from variable x

Of course, that’s actually pretty obvious! It worked :smile:

Thanks a lot Piotr!