Your tutorials are everything, especially for someone like me who can not afford school... you have helped me so much!! You Are The Absolute Best Period!
Thanks for this, very clear. My notes below in case they help others: 1:16 what XPath is - a query language 1:50 Examples of where we can use XPath 2:08 Extracting a value using XPath 2:40 Defining the specific book element to access by giving the position 3:30 Examples of XPath tools online (links also in description 3:50 XPath Generator for testing/generating XPaths 4:55 Tool 2 - XPather for formatting/prettifying/indenting 5:52 XML Toolbox - click on the element/node to create XPath for 6:35 Absolute XPath - starts from the route and goes to the end node (slow, complex) 7:08 Relative XPath - a better alternative to the above 7:48 Relative XPath not affected by 'breaking' changes while Absolute XPath will break 8:20 Example inspecting DOM in Google 8:55 Testing Relative XPath in Google with Chrome Dev Tools 9:55 Creating XPaths for tools like Selenium 10:15 Summary of points covered
If its related to tech knowledge then there is always an Indian guy who can explain it better. Finally found the video that actually helped me find the xpath. Thank you
Hi Raghav Pal, What to do when xpath or ID doesn't work in the current page? for example, the page has everything is there just like a normal page. but when I select the element that I want and >right click> copy> copy xpath and try to search for it "Ctrl F" it does not show any results. how can I figure that out? Thank you so much, your videos always helped me a lot!!!
Hi Gilson, in that case you can use parent child or hierarchy to generate xpath. Some helpful videos - ua-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
thanks for the session, just wondering if in the future another book is added on the book 2 place, then your xpath wont be valid anymore for that particular query, so how to deal with that smartly that it wont be broken, should there be any changes in the payload
Hi Rafi, very good question, and this is why we use dynamic xpaths with regular expressions. Can check more here - ua-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
You give to simple of examples. In the bookstore xml file add multiple authors to a single book and use XPath to return all authors for that book. Why does it only return only the first occurrence whenever there are multiple authors for a book. Thanks.
Hi Yasashree, although I do not know entirely about your app and scenario, I can say that if the DOM XML of your app changes with open or close status, you can just verify that property using xpath
Pretty good video, although introducing XPath you did not describe the notation utilized. Mentioning arrays and the query notation but not describing what they mean can be confusing to those who might be unfamiliar. Otherwise, great job
Hi sir, i tried exactly like your tutorial, but when i run in eclipse, there an error "The method xpath(String) in the type By is not applicable for the arguments (void)". Hope you can help
Sir, i am not able to verify xpath for those element which are inside shadow root in dom. DevTools showing 0 matching node. How can i verify if it is wrong or right?
On Google search, sir i got to know devtools doesn't support shadow dom and xpath also. There is a tool Selectorshub which support shadow dom and it gives the right count.
Can anyone please help me here ? I want to run two xpath together and store the value, I am not sure if it is possible. My one xpath is fetching City and second is state //div[(text()='city')]/following-sibling::div //div[contains(text(),'state')]/following-sibling::div As xpath is telling name of city and state is provided in next div of city and state. I want to run both and capture output in string format. On side note: both xpath is working fine for me. City London state England
Your tutorials are everything, especially for someone like me who can not afford school... you have helped me so much!! You Are The Absolute Best Period!
You are so welcome!
Hi October, I see you have interest in XPath, may I ask what profession it is that you work in or seek?
Thanks for this, very clear.
My notes below in case they help others:
1:16 what XPath is - a query language
1:50 Examples of where we can use XPath
2:08 Extracting a value using XPath
2:40 Defining the specific book element to access by giving the position
3:30 Examples of XPath tools online (links also in description
3:50 XPath Generator for testing/generating XPaths
4:55 Tool 2 - XPather for formatting/prettifying/indenting
5:52 XML Toolbox - click on the element/node to create XPath for
6:35 Absolute XPath - starts from the route and goes to the end node (slow, complex)
7:08 Relative XPath - a better alternative to the above
7:48 Relative XPath not affected by 'breaking' changes while Absolute XPath will break
8:20 Example inspecting DOM in Google
8:55 Testing Relative XPath in Google with Chrome Dev Tools
9:55 Creating XPaths for tools like Selenium
10:15 Summary of points covered
Thanks a lot Stephen, will add this in video description as well
If its related to tech knowledge then there is always an Indian guy who can explain it better. Finally found the video that actually helped me find the xpath.
Thank you
Glad to know it was helpful
This is by far the best xpath tutorial for beginners. Athough I have used xpath for several years, I can still learn something from this video.
I am so happy & humbled to see your message Ellie
Very well explained, no lengthy content, just crisp and precise, hats off
Thanks for watching
bro literally explained my 2hrs lecture in 10 mins..kudos
Glad it helped Hari
Thank you Raghav. This was a great tutorial for me to review different aspects of XML.
Glad it was helpful!
This is the best explaination with no time wasting... thank you so much
Most welcome.. humbled
It's clear and step by step explanation. Thank you.
Most welcome Dmitriy
in germany we would call you "ehrenmann". Love your tutorials.
Thanks a lot
You are such a sweet tutor. much love for ur knowledge and simplicity. Waiting for more videos like this from u sir!!
So nice of you Vempadapu
Extremely helpful content. This is so easy to understand from your video. Great work
Thanks Tarvinder
Thank you for the very clear and step by step explanation!
You are welcome Tom
VERY VERY CLEAR EXPLATION.THANK YOU SIR.
You are welcome
Searched for XPATH and what a brilliant and sample tutorial I found.
So happy to see this Ayub. Can find all here - automationstepbystep.com/
Excellent information, very clearly explained. Thanks!
Glad it was helpful!
Thank you, Nice explanation, clear and concise
Most welcome
Extremely helpful video explained in easy way!
I appreciate ur efforts Thank u
Thanks Kenza
@@RaghavPal U're welcome
Your Way of Explanation is very good , Easy to understand..!! Have you done videos on Workday..?
Not yet Pradeep
Great Session! Thank you Raghav!
Most welcome Mansi
Super teaching skills Mr Raghav Pal
So nice of you
Awesome, very helpful, short and packed with helpful information!
Most welcome Mike
Thank you for your help I really needed it and now I get it.
Glad it helped Mateusz
Best video yet! Thankyou so much
You're so welcome Patrick
extremely educational and properly described- thanks @raghav
Most welcome Rahul
Thank you SO MUCH for this information. VERY HELPFUL!! Thanks!!
Most welcome Megan
Best vid for xpath basic
Glad to read your message Abhi
it's really helpful and easy to understand thanks for this tutorial Sir
You are most welcome Dhrubajyoti
Thanks for this tutorial, it was extremely helpful!
Most welcome Noemi
very good explaination bro!
Glad you liked it
Very informative video.
Glad it was helpful Ritesh
You Are a good tutor..... thank you
Most welcome Husain
Very good explanation. Thank you
Most welcome
Thanks for sharing! Very good info!
Most welcome
Informative! Good job!
Glad it was helpful!
Thank you for this very useful video!
Glad it was helpful!
very nice explanation sir
Thanks and welcome
Nice lecture sir
Thanks and welcome
Very clear explanation thank you
Glad it was helpful!
Very informative. Thank you
Glad it was helpful Ravi
Thanks for this wonderful session
Always welcome Umesh
Great video, thank you!
Most welcome Felipe
Man, you're the best!
Thanks a lot
Thank you Raghav! I enjoy your video
Glad to hear that Svetlana
Nice and clear demo.. Thank you !!!
Most welcome Himali
Clarity 💯
Thanks
Very Good Explanation....
Thanks
Thank you so much sir. Very clear.
You are welcome
Thank you, that is quality content!
Most welcome Tural
Hi Raghav Pal, What to do when xpath or ID doesn't work in the current page?
for example, the page has everything is there just like a normal page.
but when I select the element that I want and >right click> copy> copy xpath and try to search for it "Ctrl F" it does not show any results. how can I figure that out?
Thank you so much, your videos always helped me a lot!!!
Hi Gilson, in that case you can use parent child or hierarchy to generate xpath. Some helpful videos - ua-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
Thank you so much sir u r a life saviour❤️
Most welcome Saurav
Thanks for the video, it's helped me with current task
Glad to hear that Kyrylo
Супер !!! Спасибо!!!
Наиболее желанный
Nice way to explain 👍
Keep watching Shashikant
Thank you sir and good 👍 explanation
Always welcome
Thank you soo much for this video
Most welcome Ramya
I am going to use this tutorial for
RPA object extraction
Is it right way to go with !!
It will help for any XML based app or doc
Thank for the video! What are you doing about Sedna DataBase (clean XML without SQL DB)?
Will need to check on that
@@RaghavPal Ok! Thank's!
Very helpful
Glad it helped Jhansi
thanks for the session, just wondering if in the future another book is added on the book 2 place, then your xpath wont be valid anymore for that particular query, so how to deal with that smartly that it wont be broken, should there be any changes in the payload
Hi Rafi, very good question, and this is why we use dynamic xpaths with regular expressions. Can check more here - ua-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
Bro you are awesome thank you very much
Welcome 😊
thank you sooo much!!
You're welcome Meria
Thank you for this video
So nice of you Kajol
have you course video about python + selenium tool + pytest frame work for automation ?
Yes, can check here - automationstepbystep.com/
Thank you so much ❤🔥
You're welcome!
Thank u
Really u're great♥️
Most welcome Gehad
Awesome, thanks
Most welcome Matt
Thank you soo much bro!!
Most welcome
very helpful
Thanks Akash
You give to simple of examples. In the bookstore xml file add multiple authors to a single book and use XPath to return all authors for that book. Why does it only return only the first occurrence whenever there are multiple authors for a book. Thanks.
Hi, depends on the xml and xpath used, I will try to add some more examples
Thank you sir
Most welcome Beekas
Thank you!!
You're welcome!
When you clicked title element, the xpath generated in that website has lang element also. Is it necessary to have that element also?
Hi Naveen, although I cannot recall, but should not be necesary
Hello, i need to check where the icon on my webpage is closed or open. how can i choose are create a locator.
Hi Yasashree, although I do not know entirely about your app and scenario, I can say that if the DOM XML of your app changes with open or close status, you can just verify that property using xpath
Thank you!
You're welcome Nini
Thanks so much
Most welcome
Thank you!
You're welcome!
Thank you
Most welcome
thank u soooooo much bro
Always welcome Ravi
Thank you
Most welcome
How can I pass dictionary value inside xpath ?
I will need to check on that
Hi,can u please help me for handling snackbar using appium java
Hi Ramya, not much info on this, will need to check online
Pretty good video, although introducing XPath you did not describe the notation utilized. Mentioning arrays and the query notation but not describing what they mean can be confusing to those who might be unfamiliar. Otherwise, great job
Hi, I will check on that
Thanks
Most welcome Rohan
Subscirbed, liked and thank you.
Welcome aboard Sam
Broooo thank you
Most welcome Karan
Hi sir, i tried exactly like your tutorial, but when i run in eclipse, there an error "The method xpath(String) in the type By is not applicable for the arguments (void)". Hope you can help
Hi Haney, looks like you are not able to pass a valid object, Pls check your code again, You can do debugging
Thank u
Most welcome
Muito obrigado, me ajudou muito. tks
Muito bem-vindo
Sir, i am not able to verify xpath for those element which are inside shadow root in dom. DevTools showing 0 matching node. How can i verify if it is wrong or right?
Hi Kriti, will need to see some examples on how to handle shadow root dom. I will also plan to add a session
@@RaghavPal sure sir thank you for reply.
On Google search, sir i got to know devtools doesn't support shadow dom and xpath also. There is a tool Selectorshub which support shadow dom and it gives the right count.
It will be helpful
Tq sir
Most welcome
thank u
Most welcome Visham
Can anyone please help me here ?
I want to run two xpath together and store the value, I am not sure if it is possible.
My one xpath is fetching City and second is state
//div[(text()='city')]/following-sibling::div
//div[contains(text(),'state')]/following-sibling::div
As xpath is telling name of city and state is provided in next div of city and state. I want to run both and capture output in string format.
On side note: both xpath is working fine for me.
City
London
state
England
Hi Rahul, will need to check some examples online
3:11 doesn't it count from 0?
I will check
I need small real time project for beginners and simple
Hi Maya, will need to check online
No one writes xpath, generating xpath in cmpny too?
Mostly, but having knowledge on xpath will help
👍
:)
8:33 its html not xml..
ok
ppl on the tv gone say forward slash all they want, im gonna keep calling it an up slash
ok
helpful as fuck. 🤙
Thanks for watching