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?
How to handle a drop-down field and select a value from it using Selenium?
Selenium Java: Beginner to Advanced
Interview Questions and Answers
By:
Arun Motoori
10 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.27
List Price:
€94.67
You save:
€28.40
Buy Class
£55.39
List Price:
£79.13
You save:
£23.74
Buy Class
CA$98.13
List Price:
CA$140.19
You save:
CA$42.06
Buy Class
A$107.73
List Price:
A$153.90
You save:
A$46.17
Buy Class
S$93.76
List Price:
S$133.95
You save:
S$40.19
Buy Class
HK$544.73
List Price:
HK$778.23
You save:
HK$233.49
Buy Class
CHF 61.80
List Price:
CHF 88.29
You save:
CHF 26.48
Buy Class
NOK kr772.72
List Price:
NOK kr1,103.93
You save:
NOK kr331.21
Buy Class
DKK kr494.34
List Price:
DKK kr706.23
You save:
DKK kr211.89
Buy Class
NZ$118.90
List Price:
NZ$169.87
You save:
NZ$50.96
Buy Class
د.إ257.06
List Price:
د.إ367.25
You save:
د.إ110.18
Buy Class
৳8,323.66
List Price:
৳11,891.45
You save:
৳3,567.79
Buy Class
₹5,909.11
List Price:
₹8,441.95
You save:
₹2,532.83
Buy Class
RM313.06
List Price:
RM447.25
You save:
RM134.19
Buy Class
₦116,728.62
List Price:
₦166,762.32
You save:
₦50,033.70
Buy Class
₨19,349.93
List Price:
₨27,643.94
You save:
₨8,294.01
Buy Class
฿2,418.69
List Price:
฿3,455.42
You save:
฿1,036.73
Buy Class
₺2,421.05
List Price:
₺3,458.79
You save:
₺1,037.74
Buy Class
B$406.02
List Price:
B$580.06
You save:
B$174.03
Buy Class
R1,265.11
List Price:
R1,807.38
You save:
R542.27
Buy Class
Лв129.77
List Price:
Лв185.40
You save:
Лв55.62
Buy Class
₩97,597.80
List Price:
₩139,431.41
You save:
₩41,833.60
Buy Class
₪261.71
List Price:
₪373.90
You save:
₪112.18
Buy Class
₱4,123.18
List Price:
₱5,890.51
You save:
₱1,767.32
Buy Class
¥10,762.63
List Price:
¥15,375.85
You save:
¥4,613.21
Buy Class
MX$1,416.38
List Price:
MX$2,023.49
You save:
MX$607.10
Buy Class
QR254.03
List Price:
QR362.91
You save:
QR108.88
Buy Class
P950.29
List Price:
P1,357.62
You save:
P407.32
Buy Class
KSh9,046.20
List Price:
KSh12,923.70
You save:
KSh3,877.50
Buy Class
E£3,467.03
List Price:
E£4,953.11
You save:
E£1,486.08
Buy Class
ብር8,622.47
List Price:
ብር12,318.34
You save:
ብር3,695.87
Buy Class
Kz63,865.87
List Price:
Kz91,240.87
You save:
Kz27,375
Buy Class
CLP$68,034.44
List Price:
CLP$97,196.23
You save:
CLP$29,161.78
Buy Class
CN¥506.75
List Price:
CN¥723.96
You save:
CN¥217.21
Buy Class
RD$4,196.84
List Price:
RD$5,995.75
You save:
RD$1,798.90
Buy Class
DA9,336.57
List Price:
DA13,338.53
You save:
DA4,001.96
Buy Class
FJ$158.85
List Price:
FJ$226.94
You save:
FJ$68.09
Buy Class
Q538.15
List Price:
Q768.81
You save:
Q230.66
Buy Class
GY$14,572.68
List Price:
GY$20,819.01
You save:
GY$6,246.32
Buy Class
ISK kr9,629.22
List Price:
ISK kr13,756.62
You save:
ISK kr4,127.40
Buy Class
DH697.40
List Price:
DH996.34
You save:
DH298.93
Buy Class
L1,272.08
List Price:
L1,817.34
You save:
L545.25
Buy Class
ден4,077.86
List Price:
ден5,825.76
You save:
ден1,747.90
Buy Class
MOP$558.50
List Price:
MOP$797.89
You save:
MOP$239.39
Buy Class
N$1,261.49
List Price:
N$1,802.21
You save:
N$540.71
Buy Class
C$2,563.56
List Price:
C$3,662.39
You save:
C$1,098.82
Buy Class
रु9,404.05
List Price:
रु13,434.94
You save:
रु4,030.88
Buy Class
S/264.76
List Price:
S/378.24
You save:
S/113.48
Buy Class
K280.20
List Price:
K400.31
You save:
K120.10
Buy Class
SAR262.74
List Price:
SAR375.36
You save:
SAR112.62
Buy Class
ZK1,920.74
List Price:
ZK2,744.04
You save:
ZK823.29
Buy Class
L329.81
List Price:
L471.18
You save:
L141.36
Buy Class
Kč1,677.50
List Price:
Kč2,396.54
You save:
Kč719.03
Buy Class
Ft26,973.98
List Price:
Ft38,535.91
You save:
Ft11,561.93
Buy Class
SEK kr767.99
List Price:
SEK kr1,097.18
You save:
SEK kr329.18
Buy Class
ARS$69,886.30
List Price:
ARS$99,841.85
You save:
ARS$29,955.55
Buy Class
Bs481.32
List Price:
Bs687.64
You save:
Bs206.31
Buy Class
COP$309,520.29
List Price:
COP$442,190.80
You save:
COP$132,670.50
Buy Class
₡35,473.68
List Price:
₡50,678.85
You save:
₡15,205.17
Buy Class
L1,759.47
List Price:
L2,513.64
You save:
L754.17
Buy Class
₲542,904.89
List Price:
₲775,611.66
You save:
₲232,706.76
Buy Class
$U3,004.92
List Price:
$U4,292.93
You save:
$U1,288
Buy Class
zł286.84
List Price:
zł409.79
You save:
zł122.95
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