P22 - XPath Full Course | Selenium | Java |

preview_player
Показать описание
In this video, I have explained about "XPath Full Course in తెలుగు".

Video Timeline:
00:00 Chapter 0 - Getting Started
10:14 Chapter 1 - Introduction
15:54 Chapter 2 - Types of XPath
29:38 Chapter 3 - XPath using Attributes
52:11 Chapter 4 - XPath Operators
01:09:11 Chapter 5 - XPath Conditions
01:25:37 Chapter 6 - XPath with Index
01:38:04 Chapter 7 - XPath Functions
02:10:06 Chapter 8 - XPath Axes
02:43:05 Chapter 9 - XPath Shortcuts
02:58:48 Chapter 10 - Third Party XPath Tools
03:26:31 Chapter 11 - Common Mistakes

The below website is used for practice: 👇

You can find the program used in this video at the below location: 👇

XPath (XML Path Language) is a query language for selecting nodes from an XML document.
Or in other words, XPath is a query language for finding elements in an HTML web page.

Xpath is defined by the World Wide Web Consortium (W3C).

There are two types of XPath available:
1) Absolute XPath
2) Relative XPath

➳ Absolute XPath
It starts with the root element of the document.

Example:
/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div[1]/div[1]/input

➳ Relative XPath
It starts from any point in the document based on the search criteria.

Example:

------- XPath Operators -------
= Tests whether two expressions are equal.
< Tests whether the first expression is less than the second.
<= Tests whether the first expression is less than or equal to the second.
> Tests whether the first expression is greater than the second.
>= Tests whether the first expression is greater than or equal to the second.
!= Tests whether the two expressions are not equal.
and - Tests whether both the first and second expressions are true. If the first expression is false, the second is not evaluated.
or - Tests whether either the first or second expressions are true. If the first expression is true, the second is not evaluated

------- XPath Functions -------
text() - Selects the text nodes of the current context node.
Contains() - Contains method is used when we know about the partial attribute value or partial text associated with the web element.
Starts-with() - starts-with method is used when we know about the initial partial attribute value or initial partial text associated with the web element.
normalize-space() - The normalize-space function ignores the leading, trailing, and repeating white spaces, that means after applying the normalize-space the text become normalized with no line breaks, and give a proper sentence.

------- Examples -------
//td[text()=5000]
//a[text()='Sign in']
//a[contains(text(),'Sign')]
//label[normalize-space(text())='First Name']

XPath Axes methods are used in finding the dynamic elements which do not have a unique attribute value.

An axis represents a relationship to the context (current) element and is used to locate elements relative to that element on the DOM.

------ Axes names/methods -------
👉 ancestor
👉 ancestor-or-self
👉 descendant
👉 descendant-or-self
👉 preceding-sibling
👉 following-sibling
👉 parent
👉 child
👉 following
👉 preceding

==============================================
==============================================
Connect us @
==============================================
==============================================
🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.

#hyrtutorialstelugu #selenium #telugu #java
Рекомендации по теме
Комментарии
Автор

Your teaching way is excellent sir, I like your teaching This video is very helpful to me 🙏

harikanidadavolu
Автор

Elanti video never before never after....
Thank you bro..

rajasekharreddygujjula
Автор

I assure you, 1 day this tutorial will viral.. you have excellent teaching skills finally I owe you..😍

RaviKishore-pvtu
Автор

Thanks brother
Chala clear ga unnyai videos

sujathayellatur
Автор

I heartfully thank you bro....
chala clear ga undi....i understood easly..now it is s0 much helping for me

Mad..Murali
Автор

Very nice, learned many new things. Own lanuguange lo nerchukunte aa kick vere untundi

pridhvimallikharjun
Автор

Explanation you give in awesome way, Thank you so much Mr.HYR Sir.

krishnatheo
Автор

I learned many things from this video, nice explanation anna.
Thank you Hyr tutorials telugu

nishanthkumar
Автор

Thank you very much sir. I am learning selenium. Its very helpful for ur videos.

sharadak
Автор

Excellent Explanation bro Thank you so much

nomulanarendergoud
Автор

I got error sir no such window : target window already close from unknown error

ANATOLY.
Автор

hi sir yr selenium videos helped me a lot thank you a lot and i am requesting to provide other some courses too

umanagaarunakumarimokhamat
Автор

Super Video Sir clarified lot of Doubts (Shadow Root Okati miss ayyaru sir )

akhilkolli
Автор

Thank you so much for the time you spent and creating this video. I have get it cleared all my doubts by watching this video, my next step is practice of what you have covered. You have covered all sensible points. By watching this video I got good confidence. Thank you so much bro. 🙂🙂🙂🙂🙂

sampathp
Автор

Hi sir, can you help in writing code for pop up which occurs when we enter details and it will ask for a save address ( save, No thanks). How to click on this

swapnikajasti
Автор

Hi Sir, inside the inspect page I cannot find the element tab to write the XPath.
where to find please guide me.

szunipy
Автор

hi bro, add to cart scenario lo chala products untai kada bro. alanti scenarios lo id, tags em dorav apudu ye xpath use cheyali? plz help me

alshadsk
Автор

Hello Bro thank you so much for the video. it's really helpful!
I have a small query. while using the normalize-space function, I used the following syntax
Name ')]. this worked for me
but Name '] this syntax didn't work for me. issue with the parenthesis. kindly solve this bro!
Thank you!

davidson
Автор

hi bro meru description lo practise ki link petaru kada andulo ela practise cheyali anukuntuna kani adi ela use cheyatam pls

nikhithakrishnam
Автор

Oka interview lo question, Dynamic table lo loop concept use cheyyakunda kavalisinia string ela verify cheyyali? nenu answer, anni cells lo ni data teesukuni loop chesi verify chestamu tappa, loop lekunda possible kadu ani cheppa. Kani kadu annadu. but he did not tell the logic. Please meeru cheppandi adi

pridhvimallikharjun