Book demo
Start trial

The LEAP

Automation insights and productivity tips from LEAPWORK.

All Posts

Automatically Looping through Images, Text, and Numbers

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:

Automate looping, dragging all png files to the recycle bin using LEAPWORK

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:

Get numbers with format and filtering using LEAPWORK

Claus Topholt
Claus Topholt
CTO and co-founder of LEAPWORK.

Related Posts

How to Achieve Agile Testing by Automating Functional UI Tests

Agile transformation and testing Agile transformation helps businesses manage change and pursue emerging opportunities in any market situation. A key ingredient of this approach is to implement agile testing.

How Test Automation Supports Agile Transformation

Agility in IT processes In a world where new business models are disrupting established revenue streams and expectations to the customer experience are constantly increasing, businesses everywhere are struggling to stay relevant. To stay competitive requires efficiency: Fast market adaptation, well-organized change management, and the ability to secure emerging opportunities. One of the ways to get there is through agile transformation.

Getting Started with Test Automation

When implementing test automation there are several things to consider, including: how much can we automate? which tool is right for us? can we justify the initial investment of time and effort? and much more.