selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Nested IF ELSE END not working as expected

Open PATTE7556 opened this issue 5 years ago • 1 comments

🐛 Bug Report

I have a test with nested if statements and when the code hits the inner end statement, it should end the condition but instead it hits the outer ELSE statement.

2020-07-02 15-21-50.zip

To Reproduce**

See attached file for a screencast

Expected behavior**

The execution should end and jump out from the outer IF statement

Project file reproducing this issue (highly encouraged)

Licence Management UI - Copy.zip

Environment

OS: Selenium IDE Version: Latest --> Browser: Chrome Browser Version: 83

PATTE7556 avatar Jul 02 '20 13:07 PATTE7556

I think a work around in the IDE is to include an echo statement between the "end" of the inner-IF and the "else" of the outter-IF. Broken nested-if statements seems like it should have had some sort of response by now.

GeneAnayaAscend avatar Apr 27 '22 21:04 GeneAnayaAscend