Community Challenge

Share your Katalon Use Cases & Win up to $125! 🎁 Join in now

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

CG
IT
SK
V
AW
AT
B
LK
NY
SP
VB
SR
HB
GV
RP
MI
JM
AJ
Y
YR
MB

Wow! Good

VR
GS
IS
R
LM
KN
AB
NM
PS
S
BV
MV
R
HW
KK
PP
R
MM
HH
AS
SM
BB
AD
PK
ME
AR
SR
DY

great

RT
VM
MA
AK
T
SS
MN
MT
CE
KK
GT
S
L
AT
YY

It is amazing for me

NY
AP
DM
VR
RM
V
MM
CM
DG
MA
ID
SS
SM
AK
MJ
SM
JC
AK

nice

DP
JL
NN
DP
AB
DD
LK
PP
JR
KP
TM
VS
VB
HH
AK
NB
PJ
SM
SL
RB
JP
SP
GK
SA
N
M
GP
SP
KD
AP
QN
AS
M
NJ
AP
SK
BB
LM
MK
BS
VK
AV

Super

AD
AV

Important for beginners. Understanding the locator options and your particular application will assist you in creating robust tests that playback reliably.

MK
MH
JN
TN
GV
RN
AF
SG
DP
K
BF
DK
RR
G
JE
MA
RD
T
NG
SA
AA
SS
D

good

RS
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.
Free

Materials include

  • On-demand course

  • Lifetime access

Share