Let's tighten up the match criteria for the Search textbox to make it more robust to changes on Amazon's site. Since the developers at Amazon have used the ID and Input Identifier attributes to uniquely label the element, we shall get Blue Prism to use these two attributes to look for the search box. Let's tighten the match criteria further:
- Back in Application Modeller, select Textbox – Search. Sort the Attributes according to the Match column such that the matching attributes are listed at the top.
- Uncheck all the match criteria, except for the following:
- Input Identifier
- ID
- Click Highlight. Check that the Search textbox can still be found on the screen.
- Click Apply to save the changes without closing the window.
Now, we have made the robot a lot more resilient to changes to the target website. Unless Amazon changes the...