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?
Asked
Active
Viewed 202 times
1 Answers
0
You only need to use Element Exists
activity:
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:

kwoxer
- 3,734
- 4
- 40
- 70
-
Thank You for your time,but there is a problem. If I search for an apple iphone 11 s, the result will be other phones like iphone 11 pro or max will display.The iPhone 11 s still remains in the search box. If I use ElementExists activity it will locate the element in the search box. Actually I need a message like item not found. Please help me. – sonia Oct 16 '20 at 07:45
-
Does it work now? You should definitely play around and maybe also have a look on the UiPath Academy. Really helpful and good for beginners. Hope you create beautiful robot processes in the future. All the best. – kwoxer Oct 17 '20 at 08:36
-
Yes It really worked. I am a beginner in UiPath.Thank you so much for the support. – sonia Oct 17 '20 at 10:12
-
Nice. Please accept the answer and we can close this topic =) – kwoxer Oct 17 '20 at 11:30