How to Locate Web Elements for Automated Tests

Course Level

Beginner

Duration

01h 15m

Total Chapters

4

Free

About Course

Locating web elements is one of the most basic and important activities of web automation testing. Unlike humans, an automation tool needs a locator or selector to identify an element to perform actions on it.

This course gives you the foundation and basic methods to identify web elements for automated tests.

In four chapters, you will learn about:

  • The concept of locator and selector in test automation
  • How to identify web elements using common Attributes
  • The basics of XPath and CSS selectors
  • How to create different XPaths and CSS selectors to identify different types of web elements

By the end of this course, you will be able to locate different web elements using different methods, using Attributes, XPaths, and CSS selectors.

Chapter Overview

SK
MM
SP
T
M
M
BS
MK
AR
RB
BA
ED

excellent one

SN
GG
SP
SA
SP

Great

SP
AP
NS
JJ

good

AR
MP
AL
ND
HK
NM
HK
J

good

A

good

SH
AJ
V
KV
GK
SW
HK
DB
MS
J
PB
KD
G
J
P
SB
VK
PS
SM
GD
KK
VM
D
SC
HR
SP
VG
NP
KM
PV
SK
SK
RR
N
AS
GN
U
VV
MM
VP
NK
JR
DB
RR
DK
VP
S
AK
GU
AN
HB
SS
VK
PD
R
RA
PM

good

CC
K
SR
SK
ST
SN
TK
S
MM
MZ
MJ
SG
SB
RT
AK

Good course

K
JK
BK
AA
SB

good

R
MS
KK
K
A
SC
AH
AJ
KM
HA
AP
PU
KS
S
K
M
SS
PS
VR
SE
R

excellent

BB
VH
AM
UA
KK
NB
DA
GJ
MN
RK
AG
SP
MK
SH
S
VA
KL
DP
TJ
KG
LB
SD
Katalon Studio Free
Katalon Studio Enterprise

Katalon Studio Free

Basic test automation for individuals and small teams.
Easily create and execute automated tests for web, mobile, desktop, and API.
Advanced features for debugging, data-driven testing, and reporting.
AI-powered test authoring and test data.

30-DAY PREMIUM TRIAL

Katalon Studio Enterprise

All-in-one test automation IDE for professional teams.
Easily create and execute automated tests for web, mobile, desktop, and API.
Simple for beginners, and powerful for pros. Create tests with no-code, full-code, or AI.
Advanced features for debugging, data-driven testing, execution, and reporting.
Easily import selenium projects.
  • Version 10.2.2: Eclipse 2023-03, Java 17, Selenium 4
  • Version 9.7.5: Eclipse 2023-03, Java 17, Selenium 3
  • Version 8.6.10: Eclipse 2020-06, Java 8, Groovy 2.4.20, Selenium 3
Free

Materials include

  • On-demand course

  • Lifetime access

Share