In this episode, we will be covering how to build test frameworks using a lot of the best practice techniques using Java, Selenium, Maven, and TestNG.
However, due to the extent of the material this presentation will be presented in two parts going over the ins and outs of building your project structure and how and why you should separate the different units of work. In this final video, we will be covering “How to Build: Assertions, Builders, Controllers, Page Objects “. If you did not watch the first video yet “How to Build: Test Scenario, Test Case, and Test Data“, I recommend doing so now. Because this is an extension of that video where we started out covering the terminology and framework structure that we expand on in this video.
Topics Covered in Build Test Frameworks with Assertions, Builders, Controllers, Page Objects:
- Using a modified version of the Page Object Model to separate page logic from test logic.
- Why it is important to build your own custom assertions separate from your test cases.
- Explain what resource files are and how to use them.
- How to use builders to load test data from many sources.
- Using Controllers to navigate classes.
- Different approached to load your test data.
- Building a test library for managing web drivers, reporting, and other necessary testing utility files.
Additional Resources for Test Frameworks:
This series comes from our mentoring/mastermind classes. These classes are virtual meetings that focus on how to improve our technical skills and build our businesses. The goals of each member vary. However, this diversity makes for great discussions and a ton of educational value every time we meet. We hope you enjoy viewing this series as much as we enjoy creating it. As always, this may not be all new to you, but we hope it helps you be a better developer.