Condition issues


in this image there are four products.i want to do that if my first product contains “Sponsored”.then i want to close window.if dont found Sponsored in first position then i show a message in message box.
how can i do this?

Hey @arijit1213

  • Use Element Exist and make it dynamic and get output like outSponsored
    and use if condition like this outSponsored = True

or

  • Use Get Text Make it Dynamic and get output like outSponsored
    and use if condition like this outSponsored.ToString.Contains(“Sponserd”)

Cheers
@arijit1213

1 Like

i did this using get text.But whenever Sponsored is not present.it fails.

1 Like

can i see your workflow??
@arijit1213