How to add If else command in recorder


I’m not able to add if else command. What is the correct way to add that in the script.


Hello Deepika,
welcome in the Katalon community.
You can use the if command very easily, here an example:

Best regards



I want to test
**if i not equal to 1 **
i don’t find how to test
can you help me ?


if ${i} != 1


ok thanks :slight_smile:


hi i need find string to verify (If statement)


“No more candidates awaiting Authorization” this is shown in body text then continue the expression otherwise wait

Help me


You want to test this string ?
You can store this in a variable eg . lv_Text
If lv_Text==“No more candidates awaiting Authorization”


In Katalon recorder it doesn’t recognize if statement even though its in the list. I’m trying verify if text is on the webpage but not having any success. I’m using an xpath for the target as we cannot create unique IDs in Salesforce. Any ideas?