Nowdays, everyone is an online intellectual teacher but very few have the skill to deliver the topic in most appropriate & understandable format. The way you explained, is absolutely brilliant. Examples are appropriate, very much understandable and moreover my concept on XPATH is now very much clear. Thank u .......Like to banta hai boss
Oh man!!! I was learning xPath concept for the first time ever and you made me feel like it's the simplest thing I ever have learned. You're truly a genius man. Moreover, you're just boosting confidence by iterating that if someone knows xPath well then 90% of selenium is covered, I like it :D :D
i dont mean to be so offtopic but does anyone know of a tool to get back into an instagram account? I was stupid forgot my account password. I would love any tricks you can offer me.
Naveen had 747 Subscribers when this video was recorded. Now he has 344K subscribers. Damn! What a progress.!! You deserve all the success in life! A true inspiration and Leader for all of us!!
I'm into this automation field for more than 4 or 5 years, still shameful for not knowing how to create xpaths, all because of adons like firebug, selectorshub etc which made our life easier, but unfortunately, the company blocked those adon usages and now struggled to create xpath and after a long search found this beautiful video. You are a lifesaver man. Thanks for showing us the marvel of creating xpaths.
Just crazy genius!!! Thank you for that - First time hearing about XPath, and you explained like a genius for a 4 years old child!! Keep that spirit brother :)
I didn't find anyone till now explaining xpath with such ease. Really appreciate your expertise. Thank you for all your videos. You are helping thousands of people like me to learn.
Naveen AutomationLabs - Channel Full Playlists on UA-cam: Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation: ua-cam.com/users/Naveen%20AutomationLabs?sub_confirmation=1 Playlists URLs: ========= 1. Core Java: ua-cam.com/play/PLFGoYjJG_fqqyIj2ht0aHMx_HnGX3ZFEx.html Desc: Learn Core Java Step By Step. These tutorials videos are specially designed for beginners. ========== 2. Selenium WebDriver: ua-cam.com/play/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT.html Desc: Learn Selenium WebDriver (Selenium 3.x) from the beginning. If you are a Manual tester who is eager to upgrade to the Automation skills. 1. Learning to automate Real-time project scenarios. 2. Learn to convert Manual test case to Automation script. 3. Framework design with respect to Real-time projects. 4. Learn end to end automation using Continous Integration by Jenkins tool. ============ 3. TestNG: ua-cam.com/play/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy.html Desc: Learn TestNG Framework Step by Step. TestNg integration with Selenium WebDriver ============ 4. Learn Dynamic Xpath: ua-cam.com/play/PLFGoYjJG_fqoY3PNcMLjp4pJZSXUCHeiB.html Desc: Do you want to have expertise in Selenium, Learn Dynamic XPath! Become a genius in XPath and crack interview like a Pro!! =========== 5. Data Driven Framework: ua-cam.com/play/PLFGoYjJG_fqqlW6swKwutBOVU2O8k_JHT.html Desc: Learn how to implement Data Driven Framework by using Apache POI API and TestNG =========== 6. Page Object Model (POM): ua-cam.com/play/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74.html Desc: Page Object Model (POM) Design With Selenium WebDriver: +Learn Page Object Model Step by Step +POM design - Architecture & Pattern +What is Page Chaining Model +Use of PageFactory API in Selenium ===========
I really want to know, from where you learn or know these amazing tricks. This is simply awesome. I am addicted to your videos .Keep up the good works brother.
Hi Naveen, I am using chrome version 63.0.3239.84 and I am not getting this option on ctrl F to find by string selector or xpath. When I do ctrl F what I get instead is 'Find string in logs'. How do I get the option to search by xpath? please guide.
Thanks a lot Naveen, this really helped me a lot in understanding the concept. Now I could able to write xpath very easily. One questions, are there any tutorials from you describing about the framework and a real time project?
I felt as I was having a 1 to 1 meeting with the instructor. Clearly explained. I started with zero knowledge about xpath but now I am equipment with a great useful information. Thanks Naveen!!
@Naveen Thanks for this video. I liked your way of simplified explanation for taking dynamic xpath, particularly most useful concept like ++preceding-sibling: //a[text()='test2 test2']//parent::td[@class='datalistrow']//preceding-sibling::td[@class='datalistrow']//input .
if the element doesn't have any identifiable qualities, look at it's parent and go for there. Every element has a tag of some sort. Go up the tree to a parent with some identifiable properties and then go from there. Or, find a sibling element that you can recognize and use ::following-sibling to get the element you want.
While development of application the developer should consider and place a unique identity on all components ( it should some protocol to place a identification) .
Naveen I swear i was struggling literally with all the bullying one side and not knowing how to pass this phase of not been able to find the x-path....you have definitely given me the right guidance. Very precise and clear. Thanks alot to help the needy like me...three cheers to you. Teach a lot and these good wishes will get your existence meaningful.Thanks bro
For a pega application how to get xpath in IE? MRI tool doesn't open at all. Another option like GetXpath1,GetXapth2 is not providing correct xpath. Any idea?
Hello Naveen Sir, You are very talented. Your all videos are nice and so helpful to prepare for interviews as well as to work into automation testing. A small correction- in this video at 29.49 its 'following sibling' not 'forward sibling'. :)
departure city is a dynamic input button, i have written By.xpath("//input[starts-with(@id, 'airports-inline-orig-')]")).click(); but its not working..wil really appreciate ur help..Thanks
@Naveen Sir, Wht are the Termology used in Organisations/Company for Software Testing... Like Sprint, Scrum, Which Server used for Testing. Who I'll decide Saverity/Priority . Please make a video for such type of things. Thanks
I was so seriously watching this video and then comes... isn't this simple, instead of going for 2 for-loops and all that 'drama'...😆 Thanks for this video...😊
@naveen I have a question. I have a link that ends with .txt. I guess you can understand what it is showing.I have to work on a element on this link.The full page comes under one pre tag.I have tried customised xpath but that didn't work. Is there any way we can handle the elements in this page? Please do reply.
Hi Naveen Sir Your videos are very helpful for all beginners. If you are able to make video for all Xpath Axes then, I really thankful to you in Advance.
Very useful.. Thanks for sharing. Can you please make a video series on Selenium Webdriver with Angular JS website? Actually, it is hard to get a proper selector because of JS. if class and id were generated dynamically. Thanks Again for sharing.
I never in my dreams thought that I would ever understand this concept of writing xpath by self. I knew it was important and was still using absolute XPath by just copying it. But today took the courage and went through this session of yours, I regret not doing it sooner. Thank you so much Naveen Sir. May My Krishna bless you Abundantly. :-)
we can verify using checking it with the console , or can use extensions like chropath and firebug to check and locate it.. would suggest you to pratice it with the console.. it's a basic thing to learn and would be helpful
Nowdays, everyone is an online intellectual teacher but very few have the skill to deliver the topic in most appropriate & understandable format. The way you explained, is absolutely brilliant. Examples are appropriate, very much understandable and moreover my concept on XPATH is now very much clear. Thank u .......Like & Subscribe to banta hai boss
if the text in the name field is dynamic Instead of Naveen K ,Naveen1 K1, test2 test2, ui uiii it changes to Sita, Gita, Mita and I want to click on Gita how will i be able to identitfy the element whose parent has to be chosen?
How to: 1. Select a choice from a drop down list? 2. Select something from cascade menu (sub menu)? 3. Hoover or highlight on something? 4. How to know available action commands (e.g. go, submit, etc.), if I don't have Selenium IDE? Thx.
Thanks a lot sir .. creating customize xpath is a big headache and u just give us a pill to overcome that.... and nice example of dynamic table handing .
Hi Naveen, Im trying to find the xpath for one of the drop down options, but I couldn't. Can you please help me on this. Here is the link to AUT : live.guru99.com/index.php/ 1)Click on Mobile Menu 2)Select Sort By as "Name" This is the Xpath I have been trying : "//div[@class='category-products']//select//option[contains(text(),'Name')]" Thanks for your help in advance. Thanks Usha
if there are multiple records with same name, and i want to click the check box for all the records (which is having same name)..how can i do that? can any one pl provide the hint?
Yes, you can use String attributevalue= driver.findelement(By.xpath(//*(text()='Test')). getAttribute("class"), this will return a class value in string.
Naveen, not sure whether you follow Money Heist. While watching this session i felt like create my own dynamic xpath:-) Here goes my dynamic xpath: //Money Heist[@The Professor = 'Alvore Morte'] and //Selenium[@The Professor = 'Naveen']
If someone asks me who was your fav teacher in your school/college, I'll say "It's Naveen's... from UA-cam" :-)
Wowwwww😊😊😊
Nowdays, everyone is an online intellectual teacher but very few have the skill to deliver the topic in most appropriate & understandable format. The way you explained, is absolutely brilliant. Examples are appropriate, very much understandable and moreover my concept on XPATH is now very much clear. Thank u .......Like to banta hai boss
Oh man!!!
I was learning xPath concept for the first time ever and you made me feel like it's the simplest thing I ever have learned. You're truly a genius man. Moreover, you're just boosting confidence by iterating that if someone knows xPath well then 90% of selenium is covered, I like it :D :D
i dont mean to be so offtopic but does anyone know of a tool to get back into an instagram account?
I was stupid forgot my account password. I would love any tricks you can offer me.
Naveen had 747 Subscribers when this video was recorded. Now he has 344K subscribers. Damn! What a progress.!! You deserve all the success in life! A true inspiration and Leader for all of us!!
Thanks bro! Glad that you liked it.
I'm into this automation field for more than 4 or 5 years, still shameful for not knowing how to create xpaths, all because of adons like firebug, selectorshub etc which made our life easier, but unfortunately, the company blocked those adon usages and now struggled to create xpath and after a long search found this beautiful video. You are a lifesaver man. Thanks for showing us the marvel of creating xpaths.
Excellent! Your distinguishing characteristic is that you make the complex things look easy. Thank you!
Hi Naveen, i am stuck in finding a xpath AND NEED our suggestions. Kindly Contact
Just crazy genius!!! Thank you for that - First time hearing about XPath, and you explained like a genius for a 4 years old child!! Keep that spirit brother :)
Brilliant, loved the checkbox sibling part - nicely explained throughout the video. Well done
Really outstanding content.thanks a lot
I didn't find anyone till now explaining xpath with such ease. Really appreciate your expertise. Thank you for all your videos. You are helping thousands of people like me to learn.
best XPath video ever
Naveen. You are a genius. Nice explanation of each and every aspect. Because of you I have learnt and created a framework with POM design.
Hi Naveen ! you are genius👍
Your videos are very helpful
Thank you! Thank you! Thank you!
Naveen AutomationLabs - Channel Full Playlists on UA-cam:
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
ua-cam.com/users/Naveen%20AutomationLabs?sub_confirmation=1
Playlists URLs:
=========
1. Core Java:
ua-cam.com/play/PLFGoYjJG_fqqyIj2ht0aHMx_HnGX3ZFEx.html
Desc:
Learn Core Java Step By Step. These tutorials videos are specially designed for beginners.
==========
2. Selenium WebDriver:
ua-cam.com/play/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT.html
Desc:
Learn Selenium WebDriver (Selenium 3.x) from the beginning.
If you are a Manual tester who is eager to upgrade to the Automation skills.
1. Learning to automate Real-time project scenarios.
2. Learn to convert Manual test case to Automation script.
3. Framework design with respect to Real-time projects.
4. Learn end to end automation using Continous Integration by Jenkins tool.
============
3. TestNG:
ua-cam.com/play/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy.html
Desc:
Learn TestNG Framework Step by Step. TestNg integration with Selenium WebDriver
============
4. Learn Dynamic Xpath:
ua-cam.com/play/PLFGoYjJG_fqoY3PNcMLjp4pJZSXUCHeiB.html
Desc:
Do you want to have expertise in Selenium, Learn Dynamic XPath!
Become a genius in XPath and crack interview like a Pro!!
===========
5. Data Driven Framework:
ua-cam.com/play/PLFGoYjJG_fqqlW6swKwutBOVU2O8k_JHT.html
Desc:
Learn how to implement Data Driven Framework by using Apache POI API and TestNG
===========
6. Page Object Model (POM):
ua-cam.com/play/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74.html
Desc:
Page Object Model (POM) Design With Selenium WebDriver:
+Learn Page Object Model Step by Step
+POM design - Architecture & Pattern
+What is Page Chaining Model
+Use of PageFactory API in Selenium
===========
I really want to know, from where you learn or know these amazing tricks. This is simply awesome. I am addicted to your videos .Keep up the good works brother.
Hi Naveen, I am using chrome version 63.0.3239.84 and I am not getting this option on ctrl F to find by string selector or xpath. When I do ctrl F what I get instead is 'Find string in logs'. How do I get the option to search by xpath? please guide.
Thanks a lot Naveen, this really helped me a lot in understanding the concept. Now I could able to write xpath very easily. One questions, are there any tutorials from you describing about the framework and a real time project?
I felt as I was having a 1 to 1 meeting with the instructor. Clearly explained. I started with zero knowledge about xpath but now I am equipment with a great useful information. Thanks Naveen!!
totally agree
@Naveen Thanks for this video. I liked your way of simplified explanation for taking dynamic xpath, particularly most useful concept like ++preceding-sibling:
//a[text()='test2 test2']//parent::td[@class='datalistrow']//preceding-sibling::td[@class='datalistrow']//input .
Can we put single slash before input ? Will it work?
You are a saviour !! i am new to selenium and was struggling with xpath. I am glad i found your video. Thankyou so much :)
I learned more in 40 minutes here than I did in two weeks everywhere else. Thank you!
Thanks for watching :)
I am late for the channel however so far the best content creator and influencer regarding automation :)
Thanks Bro
Simple and best explanation ...Thank u very much ... 👍👍
Hi Naveen,
Could you please help me to know who to locate an element with xpath when no identifier is available
if the element doesn't have any identifiable qualities, look at it's parent and go for there. Every element has a tag of some sort. Go up the tree to a parent with some identifiable properties and then go from there. Or, find a sibling element that you can recognize and use ::following-sibling to get the element you want.
While development of application the developer should consider and place a unique identity on all components ( it should some protocol to place a identification) .
Thanks Naveen for the video, very details and very helpful training.
Hey Naveen, never came across preceding and forward siblings earlier. Brilliant, Thanks for sharing.
super good explanation, Accessing the components that are present in the table directly with a custom xpath is awesome!
Where have you been all this time?....so glad I found your channel....super cool explanations!!
what its been 39 mins and it feels like 2 min ur explaination is so damn good and easy to catch i love it homie
Naveen I swear i was struggling literally with all the bullying one side and not knowing how to pass this phase of not been able to find the x-path....you have definitely given me the right guidance. Very precise and clear. Thanks alot to help the needy like me...three cheers to you. Teach a lot and these good wishes will get your existence meaningful.Thanks bro
super explanation your rocking....
Video helped in understanding implementing xpath,xpath axes concepts. Thanks a Lot.
You are most welcome
uncle td wow what a xpath man..hatsoff to u..
For a pega application how to get xpath in IE? MRI tool doesn't open at all. Another option like GetXpath1,GetXapth2 is not providing correct xpath. Any idea?
Superb video with awesome explanation.. Thanks a ton Naveen..
Very useful video for sure!!
Highly recommended!!
Hi Naveen, except for username and password no customised xpath is working for me... please help
Hello Naveen Sir, You are very talented. Your all videos are nice and so helpful to prepare for interviews as well as to work into automation testing. A small correction- in this video at 29.49 its 'following sibling' not 'forward sibling'. :)
entire selenium in just 39 mins..mind blowing!
Awesome teaching skills dude
departure city is a dynamic input button, i have written By.xpath("//input[starts-with(@id, 'airports-inline-orig-')]")).click(); but its not working..wil really appreciate ur help..Thanks
Hi trust you are well,inspect element on my chrome is disabled,which version are you using?
beautiful explanation, really u should be proud of yourself , u learnt it and making learning others in same way..awesome job
@Naveen Sir, Wht are the Termology used in Organisations/Company for Software Testing... Like Sprint, Scrum, Which Server used for Testing. Who I'll decide Saverity/Priority .
Please make a video for such type of things.
Thanks
"Who I'll decide Saverity/Priority ".
Generally the manager.
Sir what if I have same names of Checkboxes.. Pls reply?
what is the difference between xpath and csssector , how they are working and what is different approach both follow to find element.
Awesome bro, Thanks a lot!!!
I was so seriously watching this video and then comes... isn't this simple, instead of going for 2 for-loops and all that 'drama'...😆
Thanks for this video...😊
hi Naveen, shall i create my dynamic XPath for Mozilla?
@naveen you are a genius mate...I have learnt full selenium automation by seeing and practising your video.
@naveen I have a question. I have a link that ends with .txt. I guess you can understand what it is showing.I have to work on a element on this link.The full page comes under one pre tag.I have tried customised xpath but that didn't work. Is there any way we can handle the elements in this page?
Please do reply.
Hi Naveen Sir
Your videos are very helpful for all beginners. If you are able to make video for all Xpath Axes then, I really thankful to you in Advance.
when we have many same Xpaths and we need to select a particular one. what we do..
Exactly it was a great explanation of writing xpath. Thanks for your clear mentoring.
I am a beginner. Since Selenium IDE doesn't work in new version of firefox anymore, is there any replacement to know the commands?
you can use the gecko driver for selenium in firefox
thanks!!!! it is a great explanation in the world . also "Find by" option is opened by CMD+F not a ctrl+F (Chrome/MacOS)
you got talent bro, one of the best instructors i ever watch
very useful nice explanation
Very useful.. Thanks for sharing. Can you please make a video series on Selenium Webdriver with Angular JS website? Actually, it is hard to get a proper selector because of JS. if class and id were generated dynamically. Thanks Again for sharing.
I never in my dreams thought that I would ever understand this concept of writing xpath by self. I knew it was important and was still using absolute XPath by just copying it. But today took the courage and went through this session of yours, I regret not doing it sooner. Thank you so much Naveen Sir. May My Krishna bless you Abundantly. :-)
I am glad that, finally you learnt how to create xpath.
Awesome Naveen thank you....With this video i started watching your other videos of channel and subscribed also :)
Superb Explanation Boss, Awesome way to find xPath with any complexity. Hats off to you. Thank you for sharing this knowledge with us.
Hi Naveen
If an Interviewer ask how do you verify your Xpath How should we Answer?
we can verify using checking it with the console , or can use extensions like chropath and firebug to check and locate it.. would suggest you to pratice it with the console.. it's a basic thing to learn and would be helpful
@@rajeshrj6538 thanks Rajesh rj
Thanks Naveen.. Your are awesome and the way you you will anything in Selenium gives me confidence !!
Excellent video. Everything is explained clearly. Naveen explains XPATH wonderfully
East or West, Naveen is the Best
Thanks so much Naveen...ur explanation is very good.
Hi Naveen , how can we get the code which you wrote in eclipse. And how can we contact for classed
Devina sharma hi you can mail me at naveenanimation20@gmail.com
Send me a mail for the same.
Hi Naveen,
This is one of the amazing video on Xpath. Very well explained. Thanks for your contribution in the community
I rarely comment on videos but I think I should give it for this guy, amazing man.
Its very hard to see the text written in the video.. better if can b written in a notepad zoomed so that we can clearly see it..
Nowdays, everyone is an online intellectual teacher but very few have the skill to deliver the topic in most appropriate & understandable format. The way you explained, is absolutely brilliant. Examples are appropriate, very much understandable and moreover my concept on XPATH is now very much clear. Thank u .......Like & Subscribe to banta hai boss
Your explanation is very clear and marvelous. Superb
Thats awesome bro. I have actually subscribed for the first time to someone after seeing an awesome video.
Seriously you are awesome Mr. Naveen when explaining concepts .!!!!
Hats off ...
tq Naveen for sharing your knowledge and tricks...amazing teaching skills u got.
Thank you so much Naveen 🙏
Amazing snippets... very useful
Hmm... interesting video. I'll check back later when I need it. :)
Absolutely brilliant! Loved the sibling part! Thank you so much!
Awesome way to explain xpath!! you make really easy to find xpath now, All videos are just Awesome. Thank you so much Naveen!!!!
Thank you. It was very helpful !
Father to Uncle and Uncle to cousin, awesome explanation.
Excellent way of teaching. Appreciate that. :)
if the text in the name field is dynamic Instead of Naveen K ,Naveen1 K1, test2 test2, ui uiii it changes to Sita, Gita, Mita and I want to click on Gita how will i be able to identitfy the element whose parent has to be chosen?
hello naveen, thanks for your help, could you please make some more videos on xpath all syntax
Awesome Naveen. Thanks for explaining us very clearly with examples.
Hi
How to write the XPath for the element containing ​ in there name
For example Applica&ZeroWidthSpacetion in there name
What if there are suppose 20 siblings.Then how to approach
Inactive
I am trying to find the text "Inactive "appearing after i tag , but not able to get it . Could u please help me in this
Superb! Explanation! Thank you so much sir :)
Thanks Naveen sir you are the fuel for my life.
i wish that i would get a chance to work with u SIR...!!!!!!
hi naveen can u please tell me xpath of below element i am not able to write for button Thinkpad T530
ThinkPad T530
Thanks a lot Naveen!!
How to:
1. Select a choice from a drop down list?
2. Select something from cascade menu (sub menu)?
3. Hoover or highlight on something?
4. How to know available action commands (e.g. go, submit, etc.), if I don't have Selenium IDE? Thx.
thiery572 plz check other videos. All these topics are already covered.
Okay, thanks.
But it's very blur while you write the XPath... if you can paste the same in white notepad.
PIM sir plz help me out i want correct xpath this element
//span[@class='left-menu-title']
Thanks a lot sir .. creating customize xpath is a big headache and u just give us a pill to overcome that.... and nice example of dynamic table handing .
Naveen,.. please write a xpath for forward also
Hi Naveen,
Im trying to find the xpath for one of the drop down options, but I couldn't. Can you please help me on this.
Here is the link to AUT : live.guru99.com/index.php/
1)Click on Mobile Menu
2)Select Sort By as "Name"
This is the Xpath I have been trying : "//div[@class='category-products']//select//option[contains(text(),'Name')]"
Thanks for your help in advance.
Thanks
Usha
if there are multiple records with same name, and i want to click the check box for all the records (which is having same name)..how can i do that? can any one pl provide the hint?
All, I want to get the text "XYZ" from the Test, I don't want "Test" only "XYZ", can anyone provide the xpath, thanks in advance
Yes, you can use String attributevalue= driver.findelement(By.xpath(//*(text()='Test')). getAttribute("class"), this will return a class value in string.
Thank you !!!
Naveen, not sure whether you follow Money Heist. While watching this session i felt like create my own dynamic xpath:-)
Here goes my dynamic xpath: //Money Heist[@The Professor = 'Alvore Morte'] and //Selenium[@The Professor = 'Naveen']