Hello Robot community,
reference: Conditional IF / ELSE IF / ELSE execution in Robot Framework | Robocorp documentation
I’m having difficulty with what I think is a basic programming concept. I’m trying to write if and else if control loops with multiple conditions. For example,
IF “abc” in ${HOST} or “def” in ${HOST} or “hij” in ${HOST}
. . . do something
ELSE IF IF “tuv” in ${HOST} or “xyz” in ${HOST}
. . . do something else
ELSE
. . . do nothing and end
when I attempt this type of control loop, I get an error about a keyword not being next. I have two questions:
1 - Is this type of multi-condition If, else if looping possible in Robot?
2 - If it is, is there a better document which provides better instruction on what I might be doing wrong?
Confused!