Testing the Internet
Shifting content images
What you'll learn
In this video, you’ll learn how to handle shifting content during test automation, such as images that move or reload unpredictably each time the page refreshes. With Leapwork, you’ll see how to use smart locator strategies that remain stable even when the UI changes position, ensuring your tests don’t break.
Key lessons
- How to capture images using the Find Web Element block with “Require valid image” enabled.
- How to set up a loop to validate shifting elements across multiple refreshes.
- How to use the Navigate Web block to refresh the page during each iteration.
- How to ensure automation remains stable even when UI elements move around.
- How to validate dynamic and moving elements without relying on screen position.
Additional resources
Continue your learning journey and explore all available product training sessions.