About
About Us
Help
Privacy Policy
Terms of Service
LearnDesk
Learn
Academics
Business
Creative
Health and Fitness
Lifestyle
Personal Development
Software
Topics
Admissions
Engineering
Hardware
Hospitality
Humanities
Chinese
Languages
Maths
Pharma
View All Topics
Topics
Accounting
Advertising
Analysis
Analytics
Business Communication
eCommerce
Entrepreneurship
Finance
Finance - India
Freelancing
View All Topics
Topics
Arts & Crafts
Audio Editing
Audio Production
Dance
Design
Film Production
Music
Photography
Video Production
Writing
View All Topics
Topics
Dieting
Fitness
Food Safety
Games
Medical
Medical Professionals
Meditation
Mental Health
Pregnancy
Safety & First Aid
View All Topics
Topics
Beauty & Makeup
Food
Fashion
Gaming
Home Improvement
Parenting
Pet Care & Training
Relationships
Sustainable Living
View All Topics
Topics
Career Development
Learning
Religion and Spirituality
Self-Improvement
View All Topics
Topics
Accounting
Amazon Web Services
App Development
Continuous Integration
Backup Software
Business Automation
Computational Fluid Dynamics
Business Intelligence
Computer Aided Design (CAD)
View All Topics
Teach
Teach Online
Schedule
Items
Billing
Users
Marketing
Analytics
Settings
Change School
Account
Log In
Sign Up
Selenium Java: Beginner to Advanced
Introduction
Introduction - Part 1
Preview
Introduction - Part 2
Locators for Selenium
What is HTML?
HTML Tags Attribute Names Attribute Values Enclosed Text and HTML Elements
Structure of HTML
Adding Title to the HTML Web Page
Adding Paragraphs to the HTML Web Page
Adding Bold, Italic and Underlined text to the HTML Web Page
Adding different sizes of headings
Adding hyperlinks to the web page
Adding Rulers to the Web Page
Adding Images to the Web Page
Adding Line Breaks to the Web Page
Adding Table to the Web Page
What are Locators?
Different Types of Locators
Demonstrating ID locator
Demonstrating Name locator
Demonstrating Class Name locator
Demonstrating Link Text locator
Demonstrating CSS Selector locator
Demonstrating XPath locator
Demonstrating DOM locator
Priority of Locators
Additional details about different Locators
XPath Expressions in Detail
What is an XPath
Hierarchy of HTML Source Code
Types of XPath Expressions
Building Absolute XPath Expressions
Advantages and Disadvantages of Absolute XPath Expressions
Relative XPath Expressions - First Set of Examples
Relative XPath Expressions - Second Set of Examples
Relative XPath Expressions - Third Set of Examples
Relative XPath Expressions - Fourth Set of Examples
Relative XPath Expressions - Fifth Set of Examples
Relative XPath Expressions - Sixth Set of Examples
Relative XPath Expressions - Seventh Set of Examples
XPath Expressions - Wild Cards
XPath Expressions - HTML Tables
Different XPath Functions
text() XPath Function
contains() XPath Function
starts-with() XPath Function
last() XPath Function
position() XPath Function
Different XPath AXES
following XPath AXES
preceding XPath AXES
following-sibling XPath AXES
preceding-sibling XPath AXES
parent XPath AXES
child XPath AXES
ancestor XPath AXES
descendant XPath AXES
Advantage of Relative Xpath Expressions over Absolute XPath Expressions
CSS Selectors in detail
What is a CSS Selector
Types of CSS Selectors
Building Absolute CSS Selectors
Advantages and Disadvantages of Absolute CSS Selectors
Relative CSS Selectors - First Set of Examples
Relative CSS Selectors - Second Set of Examples
Relative CSS Selectors - Third Set of Examples
first-child in CSS Selectors
last-child in CSS Selectors
nth-child in CSS Selectors
Comma and Asterisk Symbols in CSS Selectors
Starts With, Ends With and Contains Symbols in CSS Selectors
Using not in CSS Selectors
Using following sibling in CSS Selectors
Locating disabled, enabled and selected UI elements using CSS Selectors
XPath Expressions are powerful over CSS Selectors
CSS Selectors have higher priority over XPath Expressions
FireBug and FirePath Alternatives
FireBug got deprecated and discontinued
List of Alternatives
ChroPath for Chrome Browser
ChroPath for Firefox Browser
ChroPath for Opera Browser
devtools-highlighter
Try XPath
Default Chrome Dev Tools
XPath Finder
XPath Helper
Relative XPath Helper
MRI
True Path for Chrome
True Path for Firefox
Ranorex Selocity
Default Firefox Dev Tools
Chrome Console
ChroPath is the best
Learn Manual Creation of XPath Expressions and CSS Selectors
Java for Selenium
Java - Part 1
Preview
Java - Part 2
Java - Part 3
Java - Part 4
Java - Part 5
Java - Part 6
Java - Part 7
Java - Part 8
Java - Part 9
Java - Part 10
Java - Part 11
Java - Part 12
Java - Part 13
Java - Part 14
Java - Part 15
Java - Part 16
Java - Part 17
Java - Part 18
Java - Part 19
Java - Part 20
Selenium WebDriver
Selenium WebDriver - Part 1
Preview
Selenium WebDriver - Part 2
Selenium WebDriver - Part 3
Selenium WebDriver - Part 4
Selenium WebDriver - Part 5
Selenium WebDriver - Part 6
Selenium WebDriver - Part 7
Selenium WebDriver - Part 8
Selenium WebDriver - Part 9
Framework Concepts, Frameworks, Continuous Integration and Live Project
Framework Concepts - Properties Files
Framework Concepts - POI API
Framework Concepts - POI API (Part 2)
Framework Concepts - Log4j
Framework Concepts - TestNG
Framework Concepts - TestNG (Part 2)
Framework Concepts - TestNG (Part 3)
Framework Concepts - Maven
Framework Concepts - Extent Reports
Framework Concepts - Taking Screenshots and ANT (Part 1)
Framework Concepts - ANT (Part 2)
Data Driven Framework - Part 1
Data Driven Framework - Part 2
Data Driven Framework - Part 3
Data Driven Framework - Part 4
Data Driven Framework - Part 5
Data Driven Framework - Part 6
Cucumber and BDD - Part 1
Cucumber and BDD - Part 2
Cucumber and BDD - Part 3
Cucumber and BDD - Part 4
Cucumber and BDD - Part 5
Cucumber and BDD - Part 6
Page Object Model and Page Factory - Part 1
Page Object Model and Page Factory - Part 2
Page Object Model and Page Factory - Part 3
Page Object Model and Page Factory - Part 4
Jenkins, Git and GitHub - Part 1
Jenkins, Git and GitHub - Part 2
Jenkins, Git and GitHub - Part 3
Jenkins, Git and GitHub - Part 4
Jenkins, Git and GitHub - Part 5
Jenkins, Git and GitHub - Part 6
WebDriverManager
Live Project - Part 1
Live Project - Part 2
Live Project - Part 3
Live Project - Part 4
Live Project - Part 5
Live Project - Part 6
Live Project - Part 7
Additional Selenium Topics
AutoIt
Preview
AutoIt - Part 2
Sikuli (SikuliX API)
Robot Class
Actions Class
JavaScript for JavaScriptExecutor
DOM (Document Object Model for JavaScriptExecutor)
Selenium WebDriver - JavaScriptExecutor
JAVA OOPS Concepts
Handling XML Files
Handling JSON Files
Database Testing using Selenium - Database Concepts
Database Testing using Selenium - SQL Statements
Database Testing using Selenium - JDBC
Selenium and Firefox Browser Configurations
Selenium - Chrome and IE Browser Configurations
Handling Calendar using Selenium WebDriver
Handling Web Tables using Selenium WebDriver
Handling Web Tables using Selenium WebDriver - Part 2
Handling Dynamic Web Tables using Selenium WebDriver
Select Class in Selenium WebDriver (In Detail)
Handling Random Activities
Handling Frames using Selenium WebDriver - Part 1
Handling Frames using Selenium WebDriver - Part 2
Handling Cookies using Selenium WebDriver
Downloading Files using Selenium WebDriver
Password Encryption and Decryption using Selenium WebDriver
Event Listeners using Selenium WebDriver
TestNG Listener
StaleElementReferenceException
Multiple ways to use sendKeys() in Selenium WebDriver (In detail)
FireBug and FirePath got deprecated and their alternatives
Selenium Grid - Part 1
Selenium Grid - Part 2
Interview Questions and Answers
What is Selenium? What are the different components and versions of Selenium?
Preview
What are Locators, different types of locators and their priorities in Selenium?
What are the different types of drivers in Selenium WebDriver?
How do I launch the browser using WebDriver?
What are the different types of navigation commands in WebDriver?
How can you find whether an element is displayed on the screen using Selenium?
How can we get a text on a web element using Selenium WebDriver?
How to type into a text box using Selenium?
How to handle a drop-down field and select a value from it using Selenium?
What are the different types of waits available in WebDriver?
What is the latest Selenium tool?
What do we mean by Selenium 1, Selenium 2 and Selenium 3?
When should I use Selenium Grid?
What is the difference between / and // in XPath?
What is an XPath?
What is the difference between driver.close() and driver.quit() commands?
Is WebDriver a class or interface?
What is the super interface of WebDriver?
How to find more than one web element in to a list?
Is FirefoxDriver a class or interface?
Explain the line of code WebDriver driver = new FirefoxDriver();?
How to handle frames in WebDriver?
How to click on a hyper-link using Selenium WebDriver?
What are the programming languages supported by Selenium WebDriver?
What are the operating systems supported by Selenium WebDriver?
What are the browsers supported by Selenium WebDriver?
What is the difference between Implicit Wait and Explicit Wait?
How to read and verify the text on the tool tip using Selenium WebDriver?
Can Selenium Automate Desktop Applications?
What is the main component of Selenium?
What is an XPath, difference between Absolute and Relative XPath with examples?
What is the disadvantage of Absolute XPath & why is Relative XPath recommended?
What is an Absolute XPath? Write its syntax?
What is a Relative XPath? Write its syntax?
How to execute JavaScript in Selenium?
What is the concept that makes XPath Expressions powerful ?
Why CSS Selectors have higher priority over XPath Expressions?
Names of add-ons which can auto generate the XPath Expressions and CSS Selectors
Java program for printing the even numbers between 1 and 100 using for loop?
Write a Java program to find the sum of first 100 numbers using for loop?
Prints numbers from 1 to 100. Print number and Divisible by 5 text if divisible?
Does Java supports multiple inheritance? Give reasons?
What is the parent or base class of all the classes in Java?
What is the difference between instance variable and local variable?
Is Java a pure 100% Object Oriented Programming language?
What is the difference in between Primitive & Non-Primitive Data types in Java?
Why Strings are immutable in Java?
What is the difference between String and StringBuffer?
Accessing all elements inside int[][] a = {{5,2,9},{4,6,8}}; using for loop?
Assign different values say integer, character, string etc into a single array?
Interview Questions and Answers
What is the disadvantage of array
What is the difference between equals() and == operator?
What is the purpose of using Wrapper classes in Java?
How to capture screen-shot in Selenium WebDriver?
What is Automation Testing?
What is the difference between Manual and Automation Testing?
What are primitive data types in Java?
Can we create an object for an interface?
Can we create an object for an abstract class?
Can we write Webdriver driver = new Webdriver(); ?
What is the purpose of using Constructors in Java?
How Constructors are different from Methods in Java?
What is the purpose of using 'this' keyword in Java?
What is Overloading in Java?
What is the purpose of using Packages in Java?
Keyword used by Java class to inherit the properties of another Class?
How to access the variables and methods of another Class in Java?
What is Overriding in Java?
Is Overriding applicable for Constructors in Java?
What are the different modifiers in Java?
What is the difference between default and protected access modifiers in Java?
How to select a radio button in Selenium WebDriver?
Why do you get NoSuchElementException?
How can we fetch the page source in Selenium?
How can we fetch the title of the page in Selenium?
What is the difference between static and instance variable in Java?
What is the difference between static and non-static methods in Java?
What happens on specifying final modifier with variables & methods in Java?
What is the difference between abstract classes and interfaces in Java?
What is the keyword used for inheriting the interfaces in Java?
Can Captcha be automated using Selenium?
How to clear the text inside the text box fields using Selenium WebDriver?
What is the default timeout of Selenium WebDriver?
How can we submit a form in Selenium?
What is the purpose of getOptions() method?
Write an XPath to find all the hyper-links on a web page?
What is Select Class in Selenium WebDriver and how to use it?
How to handle alerts in Selenium WebDriver?
What is click() command in Selenium WebDriver?
What is sendKeys() command in Selenium WebDriver?
How to delete cookies in Selenium?
Interview Questions and Answers
How to get the href of a link?
How do you click on a menu item in a drop down menu?
How to get typed text from a textbox?
How to type text in a new line inside a text area?
How to resize browser window using Selenium WebDriver?
How to scroll web page up and down using Selenium WebDriver?
How to perform right click (Context Click) action in Selenium WebDriver?
How to perform double click action in Selenium WebDriver?
How to perform drag and drop action in Selenium WebDriver?
How to highlight elements using Selenium WebDriver?
Java - Part 3
Selenium Java: Beginner to Advanced
Java for Selenium
By:
Arun Motoori
1 hour 3 minutes
Share
Share the link to this page
Copied
Facebook
Twitter
WhatsApp
LinkedIn
Email
Add to Calendar
Add the class to your calendar
Add to Google Calendar
Add to Apple Calendar
Add to Yahoo Calendar
Add to Outlook Calendar
Print
Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:
$99.99
You save:
$30
Buy Class
€66.52
List Price:
€95.03
You save:
€28.51
Buy Class
£55.40
List Price:
£79.15
You save:
£23.74
Buy Class
CA$97.77
List Price:
CA$139.67
You save:
CA$41.90
Buy Class
A$107.48
List Price:
A$153.55
You save:
A$46.07
Buy Class
S$94.07
List Price:
S$134.39
You save:
S$40.32
Buy Class
HK$544.73
List Price:
HK$778.22
You save:
HK$233.49
Buy Class
CHF 61.85
List Price:
CHF 88.36
You save:
CHF 26.51
Buy Class
NOK kr773.61
List Price:
NOK kr1,105.21
You save:
NOK kr331.59
Buy Class
DKK kr496.19
List Price:
DKK kr708.87
You save:
DKK kr212.68
Buy Class
NZ$119.31
List Price:
NZ$170.45
You save:
NZ$51.14
Buy Class
د.إ257.07
List Price:
د.إ367.26
You save:
د.إ110.19
Buy Class
৳8,370.95
List Price:
৳11,959.01
You save:
৳3,588.06
Buy Class
₹5,916.42
List Price:
₹8,452.40
You save:
₹2,535.97
Buy Class
RM312.50
List Price:
RM446.45
You save:
RM133.95
Buy Class
₦117,624.49
List Price:
₦168,042.19
You save:
₦50,417.70
Buy Class
₨19,473.08
List Price:
₨27,819.88
You save:
₨8,346.79
Buy Class
฿2,426.48
List Price:
฿3,466.55
You save:
฿1,040.07
Buy Class
₺2,418.28
List Price:
₺3,454.83
You save:
₺1,036.55
Buy Class
B$406.67
List Price:
B$580.99
You save:
B$174.31
Buy Class
R1,268.60
List Price:
R1,812.36
You save:
R543.76
Buy Class
Лв130.09
List Price:
Лв185.85
You save:
Лв55.76
Buy Class
₩98,070.61
List Price:
₩140,106.88
You save:
₩42,036.26
Buy Class
₪261.37
List Price:
₪373.41
You save:
₪112.03
Buy Class
₱4,133.88
List Price:
₱5,905.80
You save:
₱1,771.92
Buy Class
¥10,806.63
List Price:
¥15,438.71
You save:
¥4,632.07
Buy Class
MX$1,423.91
List Price:
MX$2,034.25
You save:
MX$610.33
Buy Class
QR255.44
List Price:
QR364.93
You save:
QR109.49
Buy Class
P956.94
List Price:
P1,367.12
You save:
P410.17
Buy Class
KSh9,046.20
List Price:
KSh12,923.70
You save:
KSh3,877.50
Buy Class
E£3,475.04
List Price:
E£4,964.56
You save:
E£1,489.51
Buy Class
ብር8,733.50
List Price:
ብር12,476.97
You save:
ብር3,743.46
Buy Class
Kz63,853.79
List Price:
Kz91,223.61
You save:
Kz27,369.81
Buy Class
CLP$68,157.66
List Price:
CLP$97,372.26
You save:
CLP$29,214.60
Buy Class
CN¥506.84
List Price:
CN¥724.09
You save:
CN¥217.25
Buy Class
RD$4,224.90
List Price:
RD$6,035.83
You save:
RD$1,810.93
Buy Class
DA9,349.94
List Price:
DA13,357.64
You save:
DA4,007.69
Buy Class
FJ$158.89
List Price:
FJ$226.99
You save:
FJ$68.10
Buy Class
Q540.76
List Price:
Q772.55
You save:
Q231.78
Buy Class
GY$14,655.30
List Price:
GY$20,937.04
You save:
GY$6,281.74
Buy Class
ISK kr9,679.61
List Price:
ISK kr13,828.61
You save:
ISK kr4,149
Buy Class
DH699.78
List Price:
DH999.72
You save:
DH299.94
Buy Class
L1,274.52
List Price:
L1,820.82
You save:
L546.30
Buy Class
ден4,093.48
List Price:
ден5,848.08
You save:
ден1,754.59
Buy Class
MOP$561.60
List Price:
MOP$802.33
You save:
MOP$240.72
Buy Class
N$1,270.52
List Price:
N$1,815.10
You save:
N$544.58
Buy Class
C$2,577.69
List Price:
C$3,682.57
You save:
C$1,104.88
Buy Class
रु9,455.06
List Price:
रु13,507.81
You save:
रु4,052.75
Buy Class
S/265.82
List Price:
S/379.77
You save:
S/113.94
Buy Class
K281.99
List Price:
K402.86
You save:
K120.87
Buy Class
SAR262.75
List Price:
SAR375.38
You save:
SAR112.62
Buy Class
ZK1,938.58
List Price:
ZK2,769.51
You save:
ZK830.93
Buy Class
L331.04
List Price:
L472.94
You save:
L141.89
Buy Class
Kč1,685.42
List Price:
Kč2,407.85
You save:
Kč722.43
Buy Class
Ft27,354.11
List Price:
Ft39,078.98
You save:
Ft11,724.86
Buy Class
SEK kr771.99
List Price:
SEK kr1,102.90
You save:
SEK kr330.90
Buy Class
ARS$70,181.20
List Price:
ARS$100,263.16
You save:
ARS$30,081.95
Buy Class
Bs485.08
List Price:
Bs693
You save:
Bs207.92
Buy Class
COP$308,906.07
List Price:
COP$441,313.30
You save:
COP$132,407.23
Buy Class
₡35,572.52
List Price:
₡50,820.06
You save:
₡15,247.54
Buy Class
L1,770.13
List Price:
L2,528.86
You save:
L758.73
Buy Class
₲548,589.81
List Price:
₲783,733.33
You save:
₲235,143.51
Buy Class
$U2,994.50
List Price:
$U4,278.05
You save:
$U1,283.54
Buy Class
zł289.22
List Price:
zł413.19
You save:
zł123.97
Buy Class
Already have an account?
Log In
Previous
Next
Sign Up
Signup to access thousands of classes
Continue with Facebook
Continue with Google
OR
Continue with Email
Already a member?
Log In
By registering for a LearnDesk account, you agree to our
Terms of Service
and
Privacy Policy
.
Share
Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.
Share with Google Contacts