Tips and tricks Best practice guides, FAQ & more
Leapwork has a unique, built-in ability to loop through any images, text and numbers that has been found on-screen, allowing for very quick and visual creation of even highly complex automation tasks.
One way to use this powerful feature is to select "Use all occurrences" on any of the building blocks that work with image or text recognition. Whatever you wire up to happen will then be repeated for all the occurrences of the captured image or text.
Here is a simple example that drags all PNG-files found on a Windows desktop to the Trashcan:
Here's another example that combines looping through occurrences with a format, a filter and automatic scrolling to find an item on an eBay page that costs less than USD 90. Incredibly, this can be achieved with only one Get number building block:
Learn more about codeless test automation in our no-code webinar on reducing risk, lowering costs, and driving value with test automation.