Testing the Internet
Typos
What you'll learn
In this video, you’ll learn how to build resilient tests that work even when text on a page contains typos or slight variations. Instead of having your flows break on minor inconsistencies, like punctuation changes, misspellings, or environment, specific tex, you’ll see how Leapwork lets you design locator strategies that stay stable regardless of content changes.
Note: To build the same automation flows demonstrated in the video, use this test website
👉https://the-internet.herokuapp.com. It includes all the sample test cases you need to practice and create your own automation in Leapwork.
Key lessons
- How to capture elements without depending on typo-prone text.
- How to loop through multiple refreshes to validate consistency.
- How to refine locator strategies to focus on stable attributes rather than dynamic text.
- How to handle scenarios where text changes randomly without breaking the test.
- How to confirm test results across multiple iterations using pass/fail logic.
Additional resources
Continue your learning journey and explore all available product training sessions.