How to Become Genius in XPath in Selenium - Session -18

  Рет қаралды 721,116

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Пікірлер: 517
@ajithashokkumar5019
@ajithashokkumar5019 2 жыл бұрын
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.
@miteshgujarathi5447
@miteshgujarathi5447 4 жыл бұрын
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.
@SabiUddin
@SabiUddin 11 ай бұрын
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!!
@naveenautomationlabs
@naveenautomationlabs 11 ай бұрын
Thanks bro! Glad that you liked it.
@sravankumar-zg3tv
@sravankumar-zg3tv 4 жыл бұрын
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!!
@supriyapawar8417
@supriyapawar8417 4 жыл бұрын
totally agree
@aishwaryavangalkrishnakuma1704
@aishwaryavangalkrishnakuma1704 2 жыл бұрын
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
@mithaleepardeshi
@mithaleepardeshi 4 жыл бұрын
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. :-)
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
I am glad that, finally you learnt how to create xpath.
@nilstoned7593
@nilstoned7593 3 жыл бұрын
If someone asks me who was your fav teacher in your school/college, I'll say "It's Naveen's... from KZbin" :-)
@kmaheshbabu3988
@kmaheshbabu3988 2 жыл бұрын
Wowwwww😊😊😊
@prasantamajumder27
@prasantamajumder27 3 жыл бұрын
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
@testinginsights-muktasharma
@testinginsights-muktasharma 6 жыл бұрын
Excellent! Your distinguishing characteristic is that you make the complex things look easy. Thank you!
@mukundanvenkatesan
@mukundanvenkatesan Жыл бұрын
entire selenium in just 39 mins..mind blowing!
@abhedpatil
@abhedpatil 6 жыл бұрын
Brilliant, loved the checkbox sibling part - nicely explained throughout the video. Well done
@KrishnaReddy-mo8tr
@KrishnaReddy-mo8tr 6 жыл бұрын
@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 .
@sahinaparveen6449
@sahinaparveen6449 4 жыл бұрын
Can we put single slash before input ? Will it work?
@karanmartinn3970
@karanmartinn3970 6 жыл бұрын
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
@niteshmishra9987
@niteshmishra9987 2 жыл бұрын
I rarely comment on videos but I think I should give it for this guy, amazing man.
@motazhejaze38
@motazhejaze38 10 ай бұрын
you got talent bro, one of the best instructors i ever watch
@janakiramp352
@janakiramp352 Жыл бұрын
This is by far very resource full video on Xpath. I appreciate very much. Thank you for sharing and letting the knowledge pass on
@anilkumarmohanty2077
@anilkumarmohanty2077 4 жыл бұрын
@naveen you are a genius mate...I have learnt full selenium automation by seeing and practising your video.
@anilkumarmohanty2077
@anilkumarmohanty2077 4 жыл бұрын
@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.
@NaeemMuhammad22
@NaeemMuhammad22 2 жыл бұрын
Hi Naveen, This is one of the amazing video on Xpath. Very well explained. Thanks for your contribution in the community
@adnanfaisal1085
@adnanfaisal1085 4 жыл бұрын
You explained it way better than my instructor. Hats off and Thank you.
@andrea5700045
@andrea5700045 5 жыл бұрын
Where have you been all this time?....so glad I found your channel....super cool explanations!!
@premkumarms7607
@premkumarms7607 5 жыл бұрын
Normally I am using Firepath for creating and verifying xpath. But this techniq is quite simple now only I recognized. Thanks for this video.
@jaiminbhavsar7541
@jaiminbhavsar7541 4 жыл бұрын
Hello Navin, this is excellent tutorial. Thank you.. Following python code works for clicking check box with new website changes: check_box_element = driver.find_element_by_xpath("//td[text()='']//parent::tr//preceding-sibling::td//div//input[@type='checkbox']") actions = ActionChains(driver) actions.move_to_element(check_box_element).click().perform() Replace: with the name in the contacts table.
@dhirendradubey7374
@dhirendradubey7374 Жыл бұрын
uncle td wow what a xpath man..hatsoff to u..
@JaspreetKaur-hl2sw
@JaspreetKaur-hl2sw 2 жыл бұрын
I am so proud of you Naeen, you are a lifesaver!!!!
@electronics9414
@electronics9414 6 жыл бұрын
Really impressed with parent - sibling- child xpth sir... Really really awesome... Keep rocking
@thesmilingmoth
@thesmilingmoth 4 жыл бұрын
Love this! I feel smarter. Thank you! Head and shoulders above all other xpath trainings on the web. So simple and well explained.
@siddharthbhardwaj4747
@siddharthbhardwaj4747 5 жыл бұрын
Hi Naveen, I was watching this video to solve this below code XPath issue. Please select a title Please select a title //*[@id="titleCode.errors"] in chrome it was showing that 1of 2. at 21.23 I thought I got idea , that I can solve this issue. So before completed this video, I subscribed your channel, and writing comment. thank you a lot !!
@chauphan2046
@chauphan2046 6 жыл бұрын
Thanks Naveen for the video, very details and very helpful training.
@srikalanair6156
@srikalanair6156 3 жыл бұрын
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...😊
@BalaMurugan-xm8gi
@BalaMurugan-xm8gi 6 жыл бұрын
Your explanation is very clear and marvelous. Superb
@vasuki18
@vasuki18 4 жыл бұрын
Awesome Naveen. Thanks for explaining us very clearly with examples.
@anupamasundarkar7548
@anupamasundarkar7548 5 жыл бұрын
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'. :)
@stockshare530
@stockshare530 4 жыл бұрын
beautiful explanation, really u should be proud of yourself , u learnt it and making learning others in same way..awesome job
@gopalreddy6801
@gopalreddy6801 5 жыл бұрын
Brilliant and yet simple and effective explanation on XPath Naveen
@anilkumar-rm2mb
@anilkumar-rm2mb 5 жыл бұрын
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?
@shivamjain5327
@shivamjain5327 4 жыл бұрын
It's clear explanation.. Thanks Naveen for clear each point for getting correct xpath.
@triptiagrawal3406
@triptiagrawal3406 3 жыл бұрын
wow!! first time I understood the concept of xpath. Thank you
@sachinm4097
@sachinm4097 Жыл бұрын
I am late for the channel however so far the best content creator and influencer regarding automation :) Thanks Bro
@TheHitixa
@TheHitixa 5 жыл бұрын
Hi Naveen ! you are genius👍 Your videos are very helpful Thank you! Thank you! Thank you!
@myyoutub2010
@myyoutub2010 5 жыл бұрын
Simple and best explanation ...Thank u very much ... 👍👍
@poojakamble2361
@poojakamble2361 5 жыл бұрын
Hello sir. I have watched all playlist in your channel related to selenium automation thank you for sharing knowledge. Thank you very much sir.
@vishnu1889
@vishnu1889 3 жыл бұрын
Helped me to understand more. U deserve a like and comment Naveen.
@Rohitk2085
@Rohitk2085 6 жыл бұрын
Thats awesome bro. I have actually subscribed for the first time to someone after seeing an awesome video.
@sudharshank2771
@sudharshank2771 4 жыл бұрын
I fell in love with writing Xpath Naveen. Thanks a lott
@shitalbhaskarwar8047
@shitalbhaskarwar8047 6 жыл бұрын
Naveen, you made this topic so simple to understand.
@HarshvardhanMishraPIER8
@HarshvardhanMishraPIER8 2 жыл бұрын
Video helped in understanding implementing xpath,xpath axes concepts. Thanks a Lot.
@naveenautomationlabs
@naveenautomationlabs 2 жыл бұрын
You are most welcome
@sameernaqvi3611
@sameernaqvi3611 6 жыл бұрын
expanation is superb, best video on xpath
@sugandhajain7727
@sugandhajain7727 6 жыл бұрын
Superb video with awesome explanation.. Thanks a ton Naveen.. Very useful video for sure!! Highly recommended!!
@mariabajwa8632
@mariabajwa8632 6 жыл бұрын
Thank you so much for this video. we are so lucky to have mentor like you.you make our life so easy...God bless you...
@edgeCT15
@edgeCT15 4 жыл бұрын
Best video by far in custom xpath very well explained
@si0n4ra
@si0n4ra 6 жыл бұрын
thanks!!!! it is a great explanation in the world . also "Find by" option is opened by CMD+F not a ctrl+F (Chrome/MacOS)
@varunmaheshwari2251
@varunmaheshwari2251 4 жыл бұрын
I felt like I need to first automate liking the 'like button' for all your videos. Thanks !!
@meghatiwari5225
@meghatiwari5225 4 жыл бұрын
Thanku so much for sharing knowledge of XPath, really very good way explained with examples.
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Thanks for watching, Megha!
@fathimasyed4232
@fathimasyed4232 4 жыл бұрын
Thanks so much Naveen...ur explanation is very good.
@jaykatti
@jaykatti 6 жыл бұрын
Great session Naveen. Appreciate your effort. Very very helpful and builds confidence
@subhrakantamishra847
@subhrakantamishra847 4 жыл бұрын
Thanks Naveen sir you are the fuel for my life. i wish that i would get a chance to work with u SIR...!!!!!!
@padmapaddhu1669
@padmapaddhu1669 3 жыл бұрын
Naveen, all i can say is thank you. Thank u soo much.
@amankumar-pk7ih
@amankumar-pk7ih 4 жыл бұрын
Very Clear under Standing Thanks Naveen
@sohailreyaz9822
@sohailreyaz9822 6 жыл бұрын
Excellent way of teaching. Appreciate that. :)
@tulikastune8810
@tulikastune8810 3 жыл бұрын
That time you had 768 subscribers and now so many :D Thanks and congrats :)
@sunshinelabz
@sunshinelabz 3 жыл бұрын
Amazing snippets... very useful
@swarnalatha2248
@swarnalatha2248 2 жыл бұрын
This is awesome. You are an excellent trainer. You have an amazing talent. Keep up the good work
@vimalverma3923
@vimalverma3923 6 жыл бұрын
what is the difference between xpath and csssector , how they are working and what is different approach both follow to find element.
@shailesh555555
@shailesh555555 6 жыл бұрын
Superb explanation and thank you Naveen
@ishan1400
@ishan1400 6 жыл бұрын
Vwey well explained Naveen.. Superb
@prashanawali1525
@prashanawali1525 5 жыл бұрын
You are a Genius brother. Hats Off.
@ankitkul.4034
@ankitkul.4034 3 жыл бұрын
Very good content Everyone covered generally. This is really detailed and must see video for selenium.
@sivareddy9806
@sivareddy9806 2 жыл бұрын
super explanation your rocking....
@thesupertuxer
@thesupertuxer 4 жыл бұрын
Nice XPath example Naveen!
@AakashSaxena2090
@AakashSaxena2090 2 жыл бұрын
THANKS A LOT Automation Master... This video realy very useful.
@priyashreekantidarshinee2735
@priyashreekantidarshinee2735 6 жыл бұрын
Superb explanation.... everyone can understand easily...thank uuu soo much...
@venkat.chegondi3282
@venkat.chegondi3282 3 жыл бұрын
Just brilliant...great explanation Brother...keep it up
@naveenautomationlabs
@naveenautomationlabs 3 жыл бұрын
Thanks a ton
@perfectionist967
@perfectionist967 4 жыл бұрын
Excellent explaination
@sudhansumohanty3101
@sudhansumohanty3101 6 жыл бұрын
Great job...Thanks Naveen
@AbhishekSharma-nm1ok
@AbhishekSharma-nm1ok 6 жыл бұрын
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.
@balaji914
@balaji914 4 жыл бұрын
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']
@user-gg8cq6nv4l
@user-gg8cq6nv4l 2 жыл бұрын
Hi Naveen, I am glad that I found your channel, as this is the easiest way to be QE. Anyways, I just started TDD and apart from creating other projects, I was following your freecrm design. Although everything looks good, my initialization method is not working that I called from TestBase into Logintest class. The error contains in @BeforeMethod set up.
@ksneka
@ksneka 4 жыл бұрын
hi naveen Explanation about the XPath is clear and concise, can you please clarify my doubt. Need to get xpath for radio button in a page, there are two radio button with same name and type but only difference is value. input[@value='sms' and @name='option' ] enough while validating in chrome it shows one wedelement but while executing its selecting first option.
@madhavisunkara9151
@madhavisunkara9151 6 жыл бұрын
Very well explained. Thank you very much!!
@bhargavireddy1034
@bhargavireddy1034 2 жыл бұрын
Awesome bro, Thanks a lot!!!
@ddchhirang
@ddchhirang 3 жыл бұрын
Awesome 👌 I LIKE IT
@aniket80
@aniket80 4 жыл бұрын
Amazing explanation, clear walkthrough. Quick question: How to cope up with path changes? or if the elements are changed? Is there a way we make it more dynamic? Thanks in Advance
@thiery572
@thiery572 6 жыл бұрын
Hmm... interesting video. I'll check back later when I need it. :)
@mallikachandana2797
@mallikachandana2797 4 жыл бұрын
Hi Naveen ,can u please do some short session it would be very helpful on span tags it’s very difficult to write for span attributes.Thank you will be waiting for your session on span tags.
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Same rules will be applied for span tag as well. Use span with text() function
@umamaheswari4183
@umamaheswari4183 5 жыл бұрын
Hi Naveen, Instead of Thread.sleep methods, its better to use webdriver waits so that we will wait only for the required amount of time. Your thoughts ?
@sachinjaiswal9054
@sachinjaiswal9054 6 жыл бұрын
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?
@Jayshree_jaysh
@Jayshree_jaysh 2 жыл бұрын
Just Love this!! Lovely way of explaining
@khaledheid
@khaledheid 4 жыл бұрын
In Google Chrome DevTools, right click on the highlighted element and select "Copy XPath" from the menu to auto generate XPath for the selected element
@sahanthaveesha2004
@sahanthaveesha2004 6 жыл бұрын
Perfect explanation.. Keep up the good work
@Createsofkaira19024
@Createsofkaira19024 2 жыл бұрын
Sir,after writing xpath we should click which button to execute it i mean we should click Enter rigjt
@ridvan61usa
@ridvan61usa 6 жыл бұрын
very good info, I learned new stuff.
@chittaranjan3090
@chittaranjan3090 6 жыл бұрын
hi Naveen, shall i create my dynamic XPath for Mozilla?
@kirtitade4533
@kirtitade4533 6 жыл бұрын
Hi Naveen, Could you please help me to know who to locate an element with xpath when no identifier is available
@digikiwam
@digikiwam 4 жыл бұрын
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.
@fareedmohd3619
@fareedmohd3619 3 жыл бұрын
While development of application the developer should consider and place a unique identity on all components ( it should some protocol to place a identification) .
@shitaljoshi1007
@shitaljoshi1007 5 жыл бұрын
thanks Naveen for explaining xpath concepts
@sayaliphadtare776
@sayaliphadtare776 6 жыл бұрын
Very well explained and hence understood..thanks sir
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Thanks for watching
@shaikmasthan833
@shaikmasthan833 4 жыл бұрын
Got doubt, you making xpath using contains and equals and you are recommending contains what if there is any other text message which contains word like 'Features' than it will show 2 web elements right
@najeebzahed6348
@najeebzahed6348 6 жыл бұрын
Thanks Naveen, I have found your approach logical and simple...much appreciated!
@deepunair7554
@deepunair7554 5 жыл бұрын
It’s really cool.. Thank you so much for sharing more info about xPath.
@SpeedFrameCreations_Nature
@SpeedFrameCreations_Nature 6 жыл бұрын
Awesome video Naveen. I have a question --> How can we select all the checkbox for a particular name under contacts tab, when there are multiple contacts present with same name. (freecrm.com) have tried using findelements, and storing all the records for desired name in List, but not able to reach the checkbox of that contact inside for loop as checkbox is under preceding .
@machannagarisuma1263
@machannagarisuma1263 6 жыл бұрын
Thank u so much naveen.u helped me a lot in learning xpath
How to handle Bootstrap DropDown in Selenium - Session - 19
38:12
Naveen AutomationLabs
Рет қаралды 90 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 20 МЛН
How To Explain Selenium Automation Framework In Interviews
12:03
RD Automation Learning
Рет қаралды 203 М.
What is Selenium WebDriver Architecture?
50:38
Naveen AutomationLabs
Рет қаралды 150 М.
How to find broken links & Images using Selenium Webdriver
45:35
Naveen AutomationLabs
Рет қаралды 98 М.
How To Explain Test Automation Framework In Interviews For Selenium
13:42
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН