lucky_star
6 years agoOccasional Contributor
Solved
For Loop Operations : How to get the value in array?
Hi all,
I have a simple keyword as the attachment use For Loop Operation.
But I don't know how to get the value in array?
The Error Msg is returned :
"Unable to evaluate the operation's "MessageText" parameter. Error: 'i' is undefined
Please help to show me, where I was wrong syntax,
Regards,
The problem is that you need to actually reference "i" as a variable of the test case. See the info I've highlighted in green.
Change that code to
KeywordTests.Test1.Variables.arrCode[KeywordTests.Test1.Variables.i]