Locators, XPath Expressions, CSS Selectors and Locator Tools
Created by Arun Motoori, Last Updated 31-Jan-2020, Language:English
Locators, XPath Expressions, CSS Selectors and Locator Tools
Includes the creation of complex XPath Expressions and CSS Selectors from scratch and many more
Created by Arun Motoori, Last Updated 31-Jan-2020, Language:English
What Will I Get ?
- HTML Basics required for understanding or learning Locators
- Locator concepts, Types and choosing Locators
- Creating XPath Expressions from scratch on the fly
- Creating CSS Selectors from scratch on the fly
- FireBug and FirePath Alternatives for auto-generating the Locators
Requirements
- Basic knowledge about software usage
Description
This course covers all the below topics in detail:
HTML Basics that are required for learning and understanding different types of Locators
Locator concepts
Types of Locators
Creating Complex XPath Expressions from scratch
Creating Complex CSS Selectors from scratch
FireBug and FirePath Alternative tools for Locators Auto-generation
By the end of this course, you will be able to create reliable, stable and complex Locators for locating UI elements on the web pages.
This course is for the Test Automation engineers who want to create better and 'easier to maintain' locators.
Check the course contents for more details.
Course Content
-
Introduction
1 Lectures 00:06:20-
Intro Video
Preview00:06:20
-
-
HTML Basics for Locators
12 Lectures 01:41:41-
What is HTML?
Preview00:07:59 -
HTML Tags, Attribute Names and Values, Enclosed Text and HTML Elements
00:11:55 -
Structure of HTML
00:18:39 -
Adding Title to the HTML Web Page
Preview00:05:54 -
Adding Paragraphs to the HTML Web Page
00:06:28 -
Adding Bold, Italic and Underlined text to the HTML Web Page
00:07:13 -
Adding different sizes of headings
00:08:50 -
Adding hyperlinks to the web page
00:06:35 -
Adding Rulers to the Web Page
00:05:55 -
Adding Images to the Web Page
00:05:18 -
Adding Line Breaks to the Web Page
00:05:46 -
Adding Table to the Web Page
00:11:09
-
-
Locator Concepts and Types
11 Lectures 01:45:07-
What are Locators?
00:13:35 -
Different Types of Locators
00:13:20 -
Demonstrating ID locator
Preview00:07:17 -
Demonstrating Name locator
00:06:19 -
Demonstrating Class Name locator
00:05:37 -
Demonstrating Link Text locator
00:05:58 -
Demonstrating CSS Selector locator
00:06:33 -
Demonstrating XPath locator
00:06:12 -
Demonstrating DOM locator
00:07:57 -
Priority of Locators
00:09:52 -
Additional details about different Locators
00:22:27
-
-
XPath Expressions
30 Lectures 08:57:15-
What is an XPath?
00:25:08 -
Hierarchy of HTML Source Code
Preview00:11:19 -
Types of XPath Expressions
00:18:07 -
Building Absolute XPath Expressions
00:39:38 -
Advantages and Disadvantages of Absolute XPath Expressions
00:16:46 -
Relative XPath Expressions - First Set of Examples
00:23:42 -
Relative XPath Expressions - Second Set of Examples
00:32:32 -
Relative XPath Expressions - Third Set of Examples
00:26:19 -
Relative XPath Expressions - Fourth Set of Examples
00:21:36 -
Relative XPath Expressions - Fifth Set of Examples
00:21:47 -
Relative XPath Expressions - Sixth Set of Examples
00:14:27 -
Relative XPath Expressions - Seventh Set of Examples
00:09:22 -
XPath Expressions - Wild Cards
00:17:36 -
XPath Expressions - HTML Tables
00:21:34 -
Different XPath Functions
00:04:02 -
text() XPath Function
00:14:28 -
contains() XPath Function
00:16:23 -
starts-with() XPath Function
00:14:53 -
last() XPath Function
00:16:12 -
position() XPath Function
00:05:53 -
Different XPath AXES
00:14:13 -
following XPath AXES
00:29:01 -
preceding XPath AXES
00:21:39 -
following-sibling XPath AXES
00:25:51 -
preceding-sibling XPath AXES
00:16:56 -
parent XPath AXES
00:12:55 -
child XPath AXES
00:10:03 -
ancestor XPath AXES
00:12:18 -
descendant XPath AXES
00:13:49 -
Advantage of Relative XPath Expressions over Absolute XPath Expressions
00:08:46
-
-
CSS Selectors
17 Lectures 04:16:12-
What is a CSS Selector?
00:22:11 -
Types of CSS Selectors
00:06:55 -
Building Absolute CSS Selectors
00:29:38 -
Advantages and Disadvantages of Absolute CSS Selectors
00:10:20 -
Relative CSS Selectors - First Set of Examples
00:22:57 -
Relative CSS Selectors - Second Set of Examples
00:19:06 -
Relative CSS Selectors - Third Set of Examples
00:11:51 -
first-child in CSS Selectors
00:10:58 -
last-child in CSS Selectors
00:11:26 -
nth-child in CSS Selectors
00:16:47 -
Comma and Asterisk Symbols in CSS Selectors
00:13:22 -
Starts With, Ends With and Contains Symbols in CSS Selectors
00:12:31 -
Using not in CSS Selectors
00:14:53 -
Using following sibling in CSS Selectors
00:13:34 -
Locating disabled, enabled and selected UI elements using CSS Selectors
00:16:41 -
XPath Expressions are powerful over CSS Selectors
00:12:41 -
CSS Selectors have higher priority over XPath Expressions
00:10:21
-
-
FireBug and FirePath Alternatives
19 Lectures 03:35:13-
FireBug got deprecated and discontinued
00:13:23 -
List of Alternatives
00:06:15 -
ChroPath for Chrome Browser
00:18:59 -
ChroPath for Firefox Browser
00:15:12 -
ChroPath for Opera Browser
00:16:37 -
devtools-highlighter
00:08:00 -
Try XPath
00:07:34 -
Default Chrome Dev Tools
00:09:22 -
XPath Finder
00:06:15 -
XPath Helper
00:07:15 -
Relative XPath Helper
00:07:47 -
MRI
00:05:35 -
True Path for Chrome
00:07:57 -
True Path for Firefox
00:07:17 -
Ranorex Selocity
00:05:45 -
Default Firefox Dev Tools
00:05:00 -
Chrome Console
00:06:02 -
ChroPath is the best
00:58:44 -
Learn Manual Creation of XPath Expressions and CSS Selectors
00:02:14
-

Arun Motoori
Selenium Expert and Training Specialist having 12 plus QA Experience
I am a software testing professional since 2007 (12 years of experience). I am a Selenium Training Expert since 2013. I love training in an organized, easy, practical and solution oriented manner. Subscribe to my course and feel the difference.