Forum Discussion

Mis3's avatar
Mis3
Frequent Contributor
3 years ago
Solved

If-else statement

I have a Groovy script to read an external CSV file in my C drive and execute the teststep one-by-one.  Example here: 302331000006102,13313140097, odb220 302331000006103,13313140099, 123 I then ad...
  • nmrao's avatar
    3 years ago
    "=" is assignment operator, "==" is to compare.
  • nmrao's avatar
    nmrao
    3 years ago
    Bring the statement causing error under if condition that was suggested in previous reply.

    In the else block, copy the same statement without "data[2]"