Learn Selenium WebDriver with Java [Video]
- FREE Subscription Read for free
- $86.99 Video Buy
- $12.99 Video + Subscription Buy
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Free ChapterBasic 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
-
String Operations
-
Object-Oriented Programming
-
Special and Useful Classes in Java
-
New Stuff in Java 10
-
Inheritance, Abstraction, and Polymorphism
-
Programming with Arrays in Java
-
Programming with Lists in Java
-
Sets and Maps
-
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
-
Exception Handling
-
Date and Time Operations (Rev Java 8)
-
Working with Text Files - Apache Commons Input/Output (IO)
-
Working with Excel Files - Apache Poor Obfuscation Implementation (POI)
-
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)
-
Element Locaters
-
XPath
-
XPath Axes
-
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
-
Working with Element Collections
-
Getting Details from Web Page for Validation Purpose
-
Automating Special WebElements - Select Boxes, Datepickers, and Web Tables
-
Automating Browser Pop-Ups
-
Automating iFrames
-
Automating JavaScript Alerts
-
Automating Mouse Actions - Drag and Drop, Mouse Hover, Click and Hold, and so on
-
Test Synchronization
-
Selenium 4 New Features
-
Miscellaneous Operations
-
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
-
Page Object Model (POM) and Page Factory
-
TestNG – Part 2
-
Next Steps
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.
All code files are placed at: https://github.com/PacktPublishing/Automation-Framework-Design-using-TestNG
- Publication date:
- November 2020
- Publisher
- Packt
- Duration
- 21 hours 31 minutes
- ISBN
- 9781800562592