Side bar menu testing using katalon studio recorder

Hi all,
I am very new to this field and just learning katalon tool.I am stuck on sidebar menu testing.
My application scenario is something like this : Some time sidebar menu displays by default on login or else i need to click on the icon just to collapse it.

please anyone help me how to write a katalon scripts for this scenario?

Thank you

Hi. I stumbled upon similar issue. May I know if you have solution to it? The menus on my sidebar are not clickable.

HI Yan

Yes. I have used If else condition here and it worked for me.