If condition in UI Element


I have this website where I need to check if the account is 0Kg.
If it is 0Kg I need to click on “Close” or else I need to click on “Select Stock”.

I have used the UI element and used Indicate Element on the UI “0Kg” ONLY as shown below:

And I did the same on “Open AND 0Kg(0Kg)” as shown below:

Can you help me how to set this If condition please?


Get Text from Ui Selector:

and in IF condition do logic.

for eg.
Then: Click “Close”
Else Click “Select Stock”

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.