Building a Java Test Automation Framework from Scratch
Do you have some experience in Java and maintaining simple automated tests, but not the confidence to start a test automation framework from scratch? This course will teach you how to build one from the ground up!
What you'll learn
Making small simple changes to existing code is usually something that junior programmers find easier compared to writing an entire project from scratch. A blank project is like an invisible wall, but once you overcome it and write your first 5 or 10 classes of working code, it gets easier.
In this course, Building a Java Test Automation Framework from Scratch, you'll learn how to create a framework from the ground up. First, you'll get hands-on experience on how to set up the necessary Java and other tools and how to pull everything together to create a proper working environment. Next, you'll explore how to write your first automated web API and UI tests with nothing but a blank file as a starting point. Finally, as the project grows, you'll discover how to properly refactor and scale your test automation effort by making it a multi-module Maven project.
When you’re finished with this course, you’ll have the skill and knowledge of starting automated test projects - a must-have skills of any senior test automation engineer.
Table of contents
- Module Overview 1m
- Choosing and Adding Selenium 2m
- First Test: Check Element Text 3m
- Second Test: Click and Check a URL 2m
- Third Test: Find and Count Elements 3m
- The Issue with Your Achievement So Far 1m
- Refactoring Tests within a Class 4m
- Scaling Tests to a Class Hierarchy 4m
- Tests Should Be DAMP 1m
- Moving Support Code to Main 3m
- Summary 2m