I’m trying to pull data from an excel file in the ‘List’ variable type format. However when I try to print an item in the list it doesn’t seem to work.
Excel Test File Cell - [“value1”, “value2”]
Above is mapped to List variable ListVar1 via Test Suite Data binding
In my code:
I would expect it to print out ‘value1’, but instead it prints out ‘[’, which seems to indicate to me it thinks the value is a string. Note: I’ve also tried [‘value1’, ‘value2’] and [value1, value2] in the excel cell.
If i setup a list variable in katalon with default value [“value1”, “value2”], then my print statement displays the correct value.
Anyone have any ideas?