
Welcome Note and Small Introduction about myself
Identify prerequisites for this Java-based course, requiring basic Java knowledge and testing experience, and outline issues with reading property and Excel files using associated libraries.
Explore the owner library, an external tool to read properties from configuration files and drive test settings like browser and screenshots, reducing boilerplate code.
Explore clumsy Java test code with manual type conversions, string handling, and list construction, verbose comparisons that lead to errors, and see how cleaner tests emerge next week.
Learn how to add Gradle dependencies, define a framework config interface, and access remote config properties across platforms using system properties and minimal boilerplate.
Learn how key annotations map configuration values and how default values prevent missing data, with quotes guiding library conversions to the correct type in tests.
Explore Zero Cell, a fast Excel handling library that solves Apache POI challenges like null pointer exceptions and type conversion, reducing boilerplate code for test automation.
Map Excel data to POJO using zerocell annotations and custom converters. Learn to convert strings to booleans, integers, local dates, and standardize phone numbers for reliable test data.
Learn to select test iterations by filtering data with streams and a data provider, and customize runtime data via mutable classes and reflection-based injection.
Discover fixture factory and how to create modules with templates by defining rules using the official GitHub repository. Generate objects based on those templates in your code.
Generate employee objects efficiently with fixture factory by creating templates, defining field rules, and using random and unique random values to validate data and produce multiple test objects.
Explore fixture factory with Java Faker to generate fake names and random values, build reusable methods and lists, and run data-driven tests using the library.
Create and implement an address template for the employee template using a template-based approach with the Fiction Factory tool, enabling inheritance and override of rules.
Optimize pojo creation with a generic factory that returns employee or address fixtures via a single static getObject method, using generics, casting, and reflection for cleaner code.
Explore how Lombok reduces boilerplate in Java by using annotations for no-args and all-args constructors and toString, speeding up SDET-focused development.
Learn how Lombok automates boilerplate in Java by adding the Lombok dependency and plugin, generating getters, constructors, builders, and static factory methods to create immutable objects.
The instructor thanks learners for engaging with the must-know java libraries for SDET Essentials course, invites feedback (even negative), and encourages sharing with peers while promising more courses.
Java have lot of amazing external libraries which can help us to write clean code. I have covered 4 of those amazing libraries in detail and how to use them in real time projects.
1. Owner - To resolve the problems we face while reading property files.
Owner Library can help to reduce all the boiler plate code we write while reading property files. No need to do Exception Handling. It comes bundled with some amazing features like DefaultValue on missing attributes, Key Annotation for Mapping and much more.
2. Zerocell - To resolve the problems we face while reading excel sheet. Excel Reading - No more a pain
We normally use Apache poi library for Excel Reading in Java. However we need to write lot of code to get the work done. Working with different data types like Integer, date, comma separated string in excel is again a big problem. Zero cell provides solution for all the boiler plate code we write.
Reusable Converter classes helps us to maintain the business logic away from tests.
3. Fixture Factory - Generate POJO's for you rest assured tests using Template - Easy and Fast.
We normally generate POJO's for testing rest services. However we spend so much of time in passing the values to the POJO fields. Fixture Factory helps us to create objects based on template and can create 1000's of objects on the fly.
4. Lombok - Say Good Bye to Verbosity.
Implement these libraries in your company and stun your colleagues !