Forum Discussion

lucky_star's avatar
lucky_star
Occasional Contributor
6 years ago
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 "Messa...
  • tristaanogre's avatar
    6 years ago

    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]