How to use arrays with Katalon recorder

154 Views Asked by At

I was trying to search an article which will simply explain how to use arrays with Katalon recorder and could not find a relevant one, and I combined a few examples into a working solution for myself. Sharing for anyone who needs it.

I tried googling and could not find a relevant solution.

1

There are 1 best solutions below

1
bedienutza On

storeEval  new Array('a','b','c','d','e');  Arr
store   0         n
while   n<5 
storeEval  storedVars['Arr'][${n}]    row_value
echo   ${row_value} 
type   id=form_value      ${row_value}
storeEval  ${n}+1        n
endWhile