Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nesting while-end loop error #297

Closed
yj0930 opened this issue Mar 29, 2019 · 2 comments
Closed

nesting while-end loop error #297

yj0930 opened this issue Mar 29, 2019 · 2 comments
Assignees

Comments

@yj0930
Copy link

yj0930 commented Mar 29, 2019

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
Copy link
Owner

vmi commented Mar 30, 2019

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

@yj0930
Copy link
Author

yj0930 commented Mar 30, 2019

It worked, thanks.

@yj0930 yj0930 closed this as completed Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants