Video description
This course is designed to guide you through Selenium WebDriver and Java, right from the basic to the advanced aspects. If you do not have prior knowledge of Java, you can start with the Java modules, which comprise the first few sections of the course. You can then start exploring the Selenium WebDriver videos after you have developed some fluency in Java. Remember, you do not need to go through all the sections in Java before starting with Selenium WebDriver, especially if you are already familiar with Java. The first six sections of Java should be sufficient to get you ready to learn Selenium WebDriver.
As you go through the sections, you will get to grips with developing an automation framework using Page Object Model and Page Factory. Further on, the course will show you how to locate elements using CSS selectors. Later, you will build on your knowledge by working with the file system in Java. All along, the course follows an example-oriented approach, helping you learn through various real-time scenarios that are used to elaborate Java and Selenium WebDriver concepts.
By the end of this course, you will be well-versed with Selenium WebDriver and Java and be able to apply the knowledge that you have gained in the real world.
What You Will Learn
- Get to grips with Selenium WebDriver programming
- Understand how to locate elements using CSS selectors
- Learn data structures in Java
- Explore Java programming through practical sessions
- Learn to locate elements using CSS Selectors
- Learn to work with file systems Java
Audience
This course is for anyone, from fresh graduates looking to learn a new skill to QE managers who want to explore better automation solutions for projects. Automation test engineers, QE automation engineers, automation aspirants, manual testing professionals, and software testing professionals can take up this course.
About The Author
Mayur Deshmukh: Mayur Deshmukh is a founder and instructor at De ZINNIA Learning, which is a company dedicated to providing industry-standard training on software automation testing tools and programming languages. Their programs include extensive hands-on training in Java, C#, Python, Selenium WebDriver, Appium, TestNG, Cucumber (BDD), continuous integration, Jenkins, REST, SOAP API automation, WireMock, and Gatling load testing. Mayur motivates his students to keep up a learner’s attitude to be able to adopt new technologies to sustain and grow in this dynamic software industry.
Table of contents
-
Chapter 1 : Basic Concepts of Java Programming
- Introduction
- Java Development Kit (JDK) Installation
- Eclipse Integrated Development Environment (IDE) Installation
- First Java Program
- Primitive Data Types in Java
- Arithmetic Operators in Java
- Logical and Bitwise Operators in Java
- Relational Operators in Java
- Conditional Statements – If Condition
- Conditional Statements – Nested If Condition
- Loops – For Loop
- For Loop – Hands-On Exercise
- Loops - Nested For
- Hands-On Exercise on Nested For Loop
- Loops – While and Do While
- Loops – Break and Continue
- Chapter 2 : String Operations
- Chapter 3 : Object-Oriented Programming
- Chapter 4 : Special and Useful Classes in Java
- Chapter 5 : New Stuff in Java 10
- Chapter 6 : Inheritance, Abstraction, and Polymorphism
- Chapter 7 : Programming with Arrays in Java
- Chapter 8 : Programming with Lists in Java
- Chapter 9 : Sets and Maps
-
Chapter 10 : Regular Expressions
- Introduction to Regular Expressions (Regex)
- Quantifiers
- Character Classes
- Bracket Expressions
- OR Operator in Regular Expressions (Regex)
- Dot Operator in Regular Expressions (Regex)
- Greedy and Lazy Matching
- Hands-On Exercise 1 on Expressions (Regex)
- Hands-On Exercise 2 on Expressions (Regex)
- Regularizing Number Ranges
- Chapter 11 : Exception Handling
- Chapter 12 : Date and Time Operations (Rev Java 8)
- Chapter 13 : Working with Text Files - Apache Commons Input/Output (IO)
- Chapter 14 : Working with Excel Files - Apache Poor Obfuscation Implementation (POI)
-
Chapter 15 : Selenium WebDriver Introduction
- WebDriver Architecture
- Creating a Maven Project
- Configuring Selenium WebDriver with Maven
- ChromeDriver Setup
- Update: ChromeDriver Download
- Firefox (Gecko) Driver Setup
- Update: GeckoDriver Download
- Automating Browser Navigation (Back, Forward, Refresh, Navigate To)
- Getting Page Basic Details (URL, Title, and so on)
- Chapter 16 : Element Locaters
- Chapter 17 : XPath
- Chapter 18 : XPath Axes
-
Chapter 19 : Cascading Style Sheets (CSS) Selectors
- Cascading Style Sheets (CSS) and Cascading Style Sheets (CSS) Selectors
- Creating Cascading Style Sheets (CSS) Selectors Using Attributes
- Cascading Style Sheets (CSS) Selectors for Dynamic Elements
- Creating Cascading Style Sheets (CSS) Selectors Using Multiple Attributes
- Advance Cascading Style Sheets (CSS) Selectors
- Creating Cascading Style Sheets (CSS) Selectors Using Child-Node Numbering
- Chapter 20 : Working with Element Collections
- Chapter 21 : Getting Details from Web Page for Validation Purpose
- Chapter 22 : Automating Special WebElements - Select Boxes, Datepickers, and Web Tables
- Chapter 23 : Automating Browser Pop-Ups
- Chapter 24 : Automating iFrames
- Chapter 25 : Automating JavaScript Alerts
- Chapter 26 : Automating Mouse Actions - Drag and Drop, Mouse Hover, Click and Hold, and so on
- Chapter 27 : Test Synchronization
- Chapter 28 : Selenium 4 New Features
- Chapter 29 : Miscellaneous Operations
-
Chapter 30 : TestNG – Part 1
- Installing TestNG
- Automating the First Test in TestNG
- Assertions in TestNG
- Hard versus Soft Assertions in TestNG
- @BeforeMethod and @AfterMethod Annotations
- @BeforeClass and @AfterClass Annotations
- Managing Test Execution Using TestNG XML Files
- Including and Excluding Methods in an XML File
- @BeforeTest and @AfterTest Annotations
- @BeforeSuite and @AfterSuite Annotations
- Chapter 31 : Page Object Model (POM) and Page Factory
- Chapter 32 : TestNG – Part 2
- Chapter 33 : Next Steps
Product information
- Title: Learn Selenium WebDriver with Java
- Author(s):
- Release date: July 2022
- Publisher(s): Packt Publishing
- ISBN: 9781800562592
You might also like
book
Hands-On Selenium WebDriver with Java
Get started with Selenium WebDriver, the open source library for automating tests to ensure your web …
video
Selenium WebDriver 4 with Java - Zero To Hero
Selenium WebDriver is an open-source automation tool that works easily across multiple OS and browsers and …
video
Learn Automation Testing with Java and Selenium WebDriver
Writing your first automation test with Java and Selenium Webdriver is a lot of fun. Java …
video
Selenium WebDriver with Java - Basics to Advanced and Frameworks
Do you want to perform automation testing on website applications with Selenium and Java? This video …