Corina Pip | Devoxx

Devoxx Belgium 2018
from Monday 12 November to Friday 16 November 2018.

Corina is a senior test automation consultant, with focus on testing by means of Java, Selenium, TestNG, Spring, Maven, and other cool frameworks and tools. Previous endeavours from her 10+ years testing career include working on navigation devices and in the online gaming industry. She loves automation and always tries to learn something new, improving her automation skills and spreading the knowledge to her peers. Apart from work, Corina is a testing blogger (https://imalittletester.com/), an amateur photographer (https://www.flickr.com/photos/capreoara) and a GitHub contributor (https://github.com/iamalittletester) . She also tweets at @imalittletester.

See also https://imalittletester.com/

Selenium Tests the Object Oriented Way

Tools-in-Action

Many times the task of a test automation person is to check that the content displayed on a web page is the expected one. That can mean either just the text, but also image attributes (like the source or the size), link attributes (like: label, URL it points to, whether it opens in a new tab), and so on. The classic approach testers use for such a task is to get these properties from the page with Selenium, then check them by using an assertion for each property. This leads to way too many assertions, and difficult to understand tests, without a clear meaning. In this talk i will show a different approach for checking the contents of web pages, by modelling all the needed properties into Java objects. This way, comparison will be done between expected and actual objects, not each property one by one. This will lead to more meaningful and shorter tests, while also adding reusability and easy maintenance.

Sign-in
Make sure to download the Android or iOS mobile schedule.