This advanced course delves into Java programming and web development, starting with regular expressions. You'll learn the intricacies of regex, including quantifiers, character classes, and operators, with practical exercises to solidify your understanding. The course then covers exception handling, differentiating between errors and exceptions, and guiding you through try-catch blocks and finally clauses.
Next, you'll explore date and time operations introduced in Java 8, mastering local and custom date-time manipulations, and calculating differences. Working with text files using Apache Commons IO and handling Excel files with Apache POI are covered in detail, providing you with essential skills for real-world data management tasks. The course also introduces Selenium WebDriver, guiding you through setup, browser automation, and element location strategies using XPath and CSS selectors.
Finally, the course emphasizes practical web development skills, including handling web elements, validating page details, and working with collections of web elements. With advanced topics like XPath axes and dynamic CSS selectors, you'll gain the expertise needed to automate complex web tasks and enhance your web development projects.
This course is designed for intermediate to advanced Java developers looking to enhance their skills in Java programming and web development. A solid understanding of Java fundamentals and basic web development is recommended.
Overview
Syllabus
- Regular Expressions
- In this module, we will explore the essentials of regular expressions, including quantifiers, character classes, and operators. You will engage in hands-on exercises to solidify your understanding and learn to regularize number ranges effectively.
- Exception Handling
- In this module, we will delve into the fundamentals of exception handling in Java, covering the distinction between errors and exceptions, throws declaration, and the use of try-catch blocks to manage exceptions gracefully.
- Date and Time Operations (Rev Java 8)
- In this module, we will cover various date and time operations introduced in Java 8, including local and custom date-time handling, future and past date manipulation, and the use of date-time formatters.
- Working with Text Files - Apache Commons Input/Output (IO)
- In this module, we will learn to work with text files using Apache Commons IO. Topics include reading, editing, sorting lines, and removing duplicates, along with copying and moving text files.
- Working with Excel Files - Apache Poor Obfuscation Implementation (POI)
- In this module, we will focus on working with Excel files using Apache POI. You will learn to set up POI, read and write Excel data, and manage data in two-dimensional arrays.
- Selenium WebDriver Introduction
- In this module, we will introduce Selenium WebDriver, covering its architecture, Maven project configuration, browser setup, and automation of browser navigation and page detail retrieval.
- Element Locaters
- In this module, we will explore element locators, focusing on HTML basics, WebElement inspection, and locating elements by ID, link text, name, and class.
- XPath
- In this module, we will dive into XPath, including installing SelectorsHub, creating XPath with attributes and text, and managing dynamic elements with XPath functions.
- XPath Axes
- In this module, we will explore XPath axes, focusing on identifying relationships and comparing absolute versus relative XPath.
- Cascading Style Sheets (CSS) Selectors
- In this module, we will cover CSS selectors, including basics, creation using attributes, handling dynamic elements, and advanced selectors with child-node numbering.
- Working with Element Collections
- In this module, we will focus on working with collections of WebElements, including retrieval, handling visibility, and managing nested WebElements.
- Getting Details from Web Page for Validation Purpose
- In this module, we will learn to get and verify details from web pages for validation purposes, covering basic details, CSS details, and element visibility, existence, and selection.
Taught by
Packt - Course Instructors