Рет қаралды 269
Junior automation testers are taught that fragile selectors of web elements are wrong, and that stability should be their goal. Then they usually end up with their selectors being too stable. What? Is there such a thing as a too stable selector? Don't we want a selector to describe its element, come rain or shine? Long story short: we don't.
The design of the web elements’ selectors is one of the most important design features of the front-end test automation. Although it might sound good, the maximum possible stability of selectors is not desired. The problem of a too stable selector is that it describes an element even if its substantial characteristics have changed. What are "substantial characteristics"? The only reasonable answer, covered in this talk, is that these are the ones determined by the scenario for the test automation-or by a common sense when the former is missing. A short example: users/testers are used to seeing a "Continue" button in a certain place in an application. Then a sudden change in the application renames the "Continue" button to "Next". Are the users/testers going to be confused? Yes, they are. And should the test handling the "Continue" button, which simulates users’ behaviour, fail? It should-but it won’t if the button is referred as id=cont_btn instead of its title.
Welcome to Robocon - The Ultimate Robot Framework Gathering! 🤖🚀
Robocon is an annual, electrifying event held in the vibrant city of Helsinki, Finland, where Robot Framework enthusiasts from around the world come together to celebrate their passion for test automation. It's a unique opportunity to connect with fellow testers, developers, and automation aficionados.
At Robocon, we dive into the latest trends and innovations in the world of Robot Framework. Robocon is about engaging workshops, inspiring talks, and hands-on sessions led by industry experts. Whether you're a novice looking to get started or a seasoned pro seeking advanced insights, Robocon has something for everyone.
Forge lasting connections, exchange ideas, and be part of a thriving community that shares your enthusiasm for Robot Framework. Join us at Robocon and be a part of this annual gathering that fuels your test automation journey.
Don't miss out on the chance to be part of this exciting event. Subscribe now for updates and be ready to experience the future of test automation at Robocon! 🌐🤖🌟