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?
- Use Element Exist and make it dynamic and get output like outSponsored
and use if condition like this outSponsored = True
- Use Get Text Make it Dynamic and get output like outSponsored
and use if condition like this outSponsored.ToString.Contains(“Sponserd”)
i did this using get text.But whenever Sponsored is not present.it fails.
can i see your workflow??