Using dynamic match attributes

We entered the keywords, triggered the search, got some results, sifted through the results, and finally found the item that we want to purchase. How can we get the robot to click on it to get to the product page so that we can add it to the cart?

The problem with the spying methods that we have utilized so far is that it assumes that the item that we want to click on is fixed: if we just want the first item on the list, we just spy it and get the robot to click on it.

In the case of the search results, the position of the item that we want to purchase may vary. Today, it is found in row 3. Tomorrow, it may be in row 5. It is not fixed. The final answer depends on what appears in the listing at the time the ...

Get Robotic Process Automation with Blue Prism Quick Start Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.