UiPath searching for an item that is not available in amazon and display item not found

225 views Asked by At

When we search for an item that is not available in the amazon and instead of that the products related to that item name is showing. I need to display a message that item is not found. How that can be done in UiPath?

1

There are 1 answers

4
kwoxer On

You only need to use Element Exists activity:

Amazon Element Exists

With that you set a proper Selector like I did. Make sure the Selector is unique on all the needed Amazon sites.

That ElementExists variable now represents if your Selector is found.

Here another image how to check it. I used the Click activity but you can easily replace it with the Element Exists activity:

amazon click iphone 11 s