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 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
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 - th-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
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 - th-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
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.
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 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
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
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
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
This is the best explaination with no time wasting... thank you so much
Most welcome.. humbled
Thank you Raghav. This was a great tutorial for me to review different aspects of XML.
Glad it was helpful!
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
in germany we would call you "ehrenmann". Love your tutorials.
Thanks a lot
Extremely helpful content. This is so easy to understand from your video. Great work
Thanks Tarvinder
It's clear and step by step explanation. Thank you.
Most welcome Dmitriy
Searched for XPATH and what a brilliant and sample tutorial I found.
So happy to see this Ayub. Can find all here - automationstepbystep.com/
VERY VERY CLEAR EXPLATION.THANK YOU SIR.
You are welcome
Thank you for your help I really needed it and now I get it.
Glad it helped Mateusz
Thank you, Nice explanation, clear and concise
Most welcome
Thank you for the very clear and step by step explanation!
You are welcome Tom
Extremely helpful video explained in easy way!
I appreciate ur efforts Thank u
Thanks Kenza
@@RaghavPal U're welcome
Excellent information, very clearly explained. Thanks!
Glad it was helpful!
You Are a good tutor..... thank you
Most welcome Husain
Very good explanation. Thank you
Most welcome
Thank you for this very useful video!
Glad it was helpful!
Super teaching skills Mr Raghav Pal
So nice of you
Best vid for xpath basic
Glad to read your message Abhi
Awesome, very helpful, short and packed with helpful information!
Most welcome Mike
extremely educational and properly described- thanks @raghav
Most welcome Rahul
Thanks for this tutorial, it was extremely helpful!
Most welcome Noemi
Thank you SO MUCH for this information. VERY HELPFUL!! Thanks!!
Most welcome Megan
Best video yet! Thankyou so much
You're so welcome Patrick
Thanks for sharing! Very good info!
Most welcome
Great Session! Thank you Raghav!
Most welcome Mansi
Very clear explanation thank you
Glad it was helpful!
Very informative video.
Glad it was helpful Ritesh
Very informative. Thank you
Glad it was helpful Ravi
very nice explanation sir
Thanks and welcome
Informative! Good job!
Glad it was helpful!
Thank you so much sir. Very clear.
You are welcome
it's really helpful and easy to understand thanks for this tutorial Sir
You are most welcome Dhrubajyoti
Thanks for this wonderful session
Always welcome Umesh
Great video, thank you!
Most welcome Felipe
Very Good Explanation....
Thanks
Your Way of Explanation is very good , Easy to understand..!! Have you done videos on Workday..?
Not yet Pradeep
Nice lecture sir
Thanks and welcome
very good explaination bro!
Glad you liked it
Thank you soo much for this video
Most welcome Ramya
Thank you so much sir u r a life saviour❤️
Most welcome Saurav
Thank you sir and good 👍 explanation
Always welcome
Nice and clear demo.. Thank you !!!
Most welcome Himali
Man, you're the best!
Thanks a lot
Thank you Raghav! I enjoy your video
Glad to hear that Svetlana
Clarity 💯
Thanks
Bro you are awesome thank you very much
Welcome 😊
Very helpful
Glad it helped Jhansi
Nice way to explain 👍
Keep watching Shashikant
Thank you, that is quality content!
Most welcome Tural
Thanks for the video, it's helped me with current task
Glad to hear that Kyrylo
Thank you so much ❤🔥
You're welcome!
Супер !!! Спасибо!!!
Наиболее желанный
thank you sooo much!!
You're welcome Meria
Thank you for this video
So nice of you Kajol
Thank you soo much bro!!
Most welcome
Thank you sir
Most welcome Beekas
very helpful
Thanks Akash
Thanks so much
Most welcome
Thank u
Really u're great♥️
Most welcome Gehad
thank u soooooo much bro
Always welcome Ravi
Thank you
Most welcome
Thank you!!
You're welcome!
Thank you
Most welcome
Thank you!
You're welcome Nini
Thanks
Most welcome Rohan
Awesome, thanks
Most welcome Matt
Broooo thank you
Most welcome Karan
Thank you!
You're welcome!
Thank u
Most welcome
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
Muito obrigado, me ajudou muito. tks
Muito bem-vindo
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 - th-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
thank u
Most welcome Visham
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!
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
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 - th-cam.com/play/PLhW3qG5bs-L83gLEZVIDHOvgTTz27po_0.html
have you course video about python + selenium tool + pytest frame work for automation ?
Yes, can check here - automationstepbystep.com/
Tq sir
Most welcome
Hi,can u please help me for handling snackbar using appium java
Hi Ramya, not much info on this, will need to check online
Subscirbed, liked and thank you.
Welcome aboard Sam
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
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
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
How can I pass dictionary value inside xpath ?
I will need to check on that
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
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
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
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
Shad Bypass
did not get your question Mary