${init_sw} Convert to Integer ${init_sw}
${max_sw} Convert to Integer ${max_sw}
${step_sw} Convert to Integer ${step_sw}
- : FOR ${exp_sw} IN RANGE ${init_sw} ${max_sw+1} ${step_sw}
- \ BuiltIn.Wait Until Keyword Succeeds 120s 1s Verify Switches Connected ${exp_sw}
- \ ${max_found}= Set Variable ${exp_sw}
- \ Set Suite variable ${max_found}
- \ Add Switches 10
+ FOR ${exp_sw} IN RANGE ${init_sw} ${max_sw+1} ${step_sw}
+ BuiltIn.Wait Until Keyword Succeeds 120s 1s Verify Switches Connected ${exp_sw}
+ ${max_found}= Set Variable ${exp_sw}
+ Set Suite variable ${max_found}
+ Add Switches 10
+ END
[Teardown] Log Store Max Found
*** Keywords ***