Testing the Internet
Shifting content lists
What you'll learn
In this video, you’ll learn how to automate scenarios where lists or rows shift position every time the page refreshes. Instead of relying on fixed positions that often cause test failures, you’ll see how Leapwork’s dynamic locator strategies make it possible to consistently find and validate elements regardless of where they appear.
Key lessons
- How to capture list elements that move position on each page refresh.
- How to build a loop that validates element consistency across multiple iterations.
- How to use text-based locator strategies with conditions like contains instead of relying on fixed positions.
- How to refresh the page dynamically and ensure the element is still found each time.
- How to maintain stable test flows even with highly dynamic or shifting content.
Additional resources
Continue your learning journey and explore all available product training sessions.