vmi / selenese-runner-java

Selenium IDE native format (selenese and side) interpreter.
Other
140 stars 83 forks source link

nesting while-end loop error #297

Closed yj0930 closed 5 years ago

yj0930 commented 5 years ago

this codes run ok on Selenium IDE but error on runner:

execute script|return 2;|i while|${i} > 0| execute script|return 3;|j while|${j} > 0| echo|i: ${i}, j: ${j}| execute script|return ${j} - 1;|j end|| execute script|return ${i} - 1;|i end||

under Selenium IDE, the correct output like: i: 2, j: 3 i: 2, j: 2 i: 2, j: 1 i: 1, j: 3 i: 1, j: 2 i: 1, j: 1

but runner output missing some steps: i: 2, j: 3 i: 2, j: 2 i: 2, j: 1 i: 1, j: 3

vmi commented 5 years ago

Thank you for your report. I have released a fixed version 3.22.0, so please test it.

yj0930 commented 5 years ago

It worked, thanks.