If with multiple OR condition giving error

Hi

I have written below code -
IF “${mode}” == “Review” OR “${mode}” == “Monitor”

Only one condition with IF its working

IMy below code working with one condition.

IF    "${mode}" == "Review" 
        Select link post
        Verify  heading
    ELSE
        Perform final Tests
    END

I Just have to add one more OR condition with IF

IF    "${mode}" == "Review"  or "${mode}" == "monitor"
            Select link post
            Verify  heading
        ELSE
            Perform final Tests
        END

But it is giving me error like IF has more than one condition

Hi @bk-user,

It looks like you have 2 spaces between "${mode}" == "Review" and or "${mode}" == "monitor"? I believe that should be a single space.

See Inline Python evaluation and Space separated format

Dave.