Tweaking the match criteria

Earlier, when we spied the Search textbox, Blue Prism came up with a list of suggested match criteria to correctly identify the element, as shown in the following screenshot:

All these conditions must be satisfied in order for the robot to locate the Search textbox. What happens if Amazon decides to change the appearance of the textbox and give it a different class name?

Well, we can't hack into Amazon's site and effect the change. For the purposes of the demonstration, let's simulate that by changing the Class Name attribute from nav-input to nav-input2.

Now, click the Highlight button again. Oops, are you getting ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.