robot framework set test variable code example
Example: robot framework set variable if condition
${var1} = Set Variable If
... "${var2}"=="None" value1
... "${var2}"=="True" value2
... "${var2}"=="False" value3
... Final else!