Complete Xpath from Basic to Advance | 14 Xpath Function | All Xpath AXES | Xpath tutorial

preview_player
Показать описание
This will be one complete tutorial that will cover Everything in XPaths.

Topics are as follows :
Into :(0:00)
Basics :(1:36)
Using OR & AND :(8:12)
innerText or text function :(11:20)
Parent / Child is Unique :(12:53)
Xpath with Index :(18:10)
Absolute vs Relative :(21:07)
Advance - Elements as an Attribute (23:02)

Part 2 & Part 3 :- XPath Functions
Contains :(25:52)
Starts-With :(29:17)
Position :(30:42)
Last :(32:34)
Count :(34:13)
Ignore Space - normalize-space :(36:35)
Ignore Case - translate (41:00)
Ignore Space + Ignore Case :(46:00)
String-Length :(49:00)
Floor and Round :(50:30)
Not :(53:05)
substring-before | Substring-after :(55:20)

Part 4 : AXES
AXES intro :(58:34)
parent :(1:00:37)
ancestor and ancestor-or-self :(1:02:36)
child and descendant :(1:05:32)
following and following-sibling :(1:08:28)
preceding and preceding-sibling - same and above
Example :(1:12:25)

Code Snippet :
Xpath in Selenium
===================
//*[text()='value']- any Elements by text
//div[text()='value']- input Elements by text
Elements as attributes

Xpath Contains and Positions and more
============================
contains()
starts-with()
last() - tables
position() - use checkboxes in tables
count() - tables is an example

Xpath Ignore Case and Whitespaces and more
============================
normalize-space() - example with spaces
translate() - replace example
not() - take any example
floor()
round()
string-length(string)
substring-before(string1, string2)
substring-after(string1, string2)

Xpath Axes
===========
ancestor
ancestor-or-self
attribute
child
descendant
descendant-or-self
following
following-sibling
parent
preceding
preceding-sibling
self
Рекомендации по теме
Комментарии
Автор

I give you the biggest like button and I would give thousands of like buttons with just one click if it was possible )) I found everything related to XPATH concept in one video tutorial with the highest quality that I have ever found so far. Thank you for the tutorial and keep up the good work!

furkatsultonov
Автор

Yeah this is completely underrated. Frankly better quality than many paid tutorials out there and far better explanations given. Very well done!👏👏

brandonhunter
Автор

This is a underrated video and am telling you this saved me hours of possible research.

kendriip
Автор

I didn't really even need to learn XPath, but you made this such a breeze to go through and I'm so glad I did. Thanks!

gyohza
Автор

This was super super helpful, I will definitely be referring to this as a cheat sheet for a long time!! thanks so much!

jetray
Автор

Thank you so much for this great video! I've read so many tutorials, but you explained it very well. great job

patriotir
Автор

i swear man...i was looking for this...thank u thank u thank u....! none of the youtuber has explained in such depth...!

dhanashreeize
Автор

Best video on the subject ever. Thank you so much!

jeembour
Автор

That heirachy chart was really easy to understand. This covers almost all of xpath..Thanks a lot for making it so easy to understand.

loretalobo
Автор

This video has given me so much confidence... thanks a lot brother

patss
Автор

best tutorial ever!!! I searched at lest 30 minutes for something that's easily understandable . Thank you!

blackcloud
Автор

This is great. Helped me tremendously. Just started a script 2 weeks ago I was lost.

TazMusicProductions
Автор

Thank you for making this Video. It is very useful especially those who are into automation testing.
And thanks for adding timelines for individual topics.

abhin
Автор

best tutorial ever. very informative. very nicely explained !!

rupakumari
Автор

You saved my time and efforts, thank you so much!

Mery_Abaeva
Автор

Thank you so much for making this video, After watching this video any one can make any X-path, no need for any other video /class to join

santoshkumarsahoo
Автор

thanks man, you just saved me hours of research

aflyingtoaster
Автор

Your Tutorial is amazing containing all the information which I was confused about. Thank you so much.

mariatahir
Автор

Excellent presentation. I was well organized, easy to understand and follow. You explain concepts clearly and effectively. Much appreciated.

SirOreo
Автор

It's the best tutorial on Xpaths. Thank you sir!

FlyingDutchman