Functionname: If Else statement
Description: If and else allows you to make conditional statements If the condition is true the if block gets executed. If the condition is false the if else block gets executed
var Condition = MainWindow.FindControl(title:"Condition");
if (Condition != null)
Type("Condition is true");
Type("Condition is not true");
The else statement is not mandatory.