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

  Рет қаралды 709,419

Naveen AutomationLabs

Naveen AutomationLabs

Күн бұрын

Dynamic XPath in Selenium using Different Approaches:
+How to Find XPath in Chrome browser for Selenium Webdriver
+Learn how to verify Custom XPath in Chrome Browser
+Create and Test your own XPath before using it in Script
+Learn how quickly - you can create custom XPath
+Learn the concept of : parent, preceding-sibling, forward-sibling Xpaths in Selenium
+Learn text(), contains() functions in XPath
+handling dynamic elements in selenium webdriver
+how to write xpath in selenium webdriver
+how to write relative xpath in selenium
+dynamic xpath in selenium using different approaches
+absolute xpath in selenium
+how to write xpath manually in selenium webdriver
+how to write absolute xpath in selenium
selenium xpath java
======================================================
Some Good Examples:
++link: Features
1. //a[text()='Features']
2. //a[contains(text(),'Features')] --recommended
++button:
//button[@type='button' and @class='btn']
//button[contains(text(),'Sign Up')]
//div[@class='dropdown']//button[@type='button' and @class='btn btn-secondary dropdown-toggle' and @id='dropdownMenuButton']
//button[@id='dropdownMenuButton']
++preceding-sibling:
//a[text()='test2 test2']//parent::td[@class='datalistrow']//preceding-sibling::td[@class='datalistrow']//input
++parent & preceding-sibling:
//a[text()='test2 test2']//parent::td[@class='datalistrow']//preceding-sibling::td[@class='datalistrow']//input[@name='contact_id']
======================================================
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzfaq.info%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
======================================================
Let's join our Automation community for some amazing knowledge sharing and group discussion. Plz join via this link on Telegram: t.me/joinchat/COJqZQ4enmEt4JA...
~-~~-~~~-~~-~
Follow my Site/Blog: www.naveenautomationlabs.com
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
• Selenium & Automation ...
~-~~-~~~-~~-~ Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzfaq.info%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/COJqZUPB02r5sB7...
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautomationlabs.com/p...
API Course: www.naveenautomationlabs.com/p... ➡️Get Our Courses✔️
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautomationlabs.com/p...
API Course: www.naveenautomationlabs.com/p...
-------------------------------
✔️SOCIAL NETWORKS
Facebook: / naveenqtpexpert
Twitter: / naveenkhunteta
Blog: www.naveenautomationlabs.com
--------------------------------
Support My Channel✔️Or Buy Me A Coffee
Paypal: paypal.me/naveenkhunteta
Google Pay: naveenanimation20@gmail.com
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

Пікірлер: 513
@prasantamajumder27
@prasantamajumder27 2 жыл бұрын
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
@testinginsights-muktasharma
@testinginsights-muktasharma 6 жыл бұрын
Excellent! Your distinguishing characteristic is that you make the complex things look easy. Thank you!
@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.
@SuperSunilc
@SuperSunilc 6 жыл бұрын
super good explanation, Accessing the components that are present in the table directly with a custom xpath is awesome!
@sivacva88
@sivacva88 6 жыл бұрын
Seriously you are awesome Mr. Naveen when explaining concepts .!!!! Hats off ...
@rkslounge8117
@rkslounge8117 4 жыл бұрын
Absolutely brilliant! Loved the sibling part! Thank you so much!
@aishwaryavangalkrishnakuma1704
@aishwaryavangalkrishnakuma1704 Жыл бұрын
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
@abhedpatil
@abhedpatil 5 жыл бұрын
Brilliant, loved the checkbox sibling part - nicely explained throughout the video. Well done
@nilstoned7593
@nilstoned7593 2 жыл бұрын
If someone asks me who was your fav teacher in your school/college, I'll say "It's Naveen's... from KZfaq" :-)
@kmaheshbabu3988
@kmaheshbabu3988 2 жыл бұрын
Wowwwww😊😊😊
@priyadaksheshpatel8384
@priyadaksheshpatel8384 2 жыл бұрын
Thank you so much naveen for this xpath series.actually i m silent member of this channel from last 6 months and your all videos are really helpful and easy understandable.keep continue .
@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 3 жыл бұрын
totally agree
@karishmazsweblog5561
@karishmazsweblog5561 3 жыл бұрын
You are a saviour !! i am new to selenium and was struggling with xpath. I am glad i found your video. Thankyou so much :)
@100rabh_dixit
@100rabh_dixit 6 жыл бұрын
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.
@Rodrigo_Bodhisava
@Rodrigo_Bodhisava Жыл бұрын
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 :)
@kashifrayanahmed8473
@kashifrayanahmed8473 2 жыл бұрын
Absolutely loved the way you teach! Hats off to the simple way of approach you have! 🙌🏻
@gopalreddy6801
@gopalreddy6801 5 жыл бұрын
Brilliant and yet simple and effective explanation on XPath Naveen
@ajitavchakrabarty
@ajitavchakrabarty 3 жыл бұрын
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
@jadenstefan9231
@jadenstefan9231 2 жыл бұрын
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.
@SabiUddin
@SabiUddin 8 ай бұрын
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 8 ай бұрын
Thanks bro! Glad that you liked it.
@pradyumnnasatapathy8199
@pradyumnnasatapathy8199 6 жыл бұрын
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 .
@DanishAnsari-hw7so
@DanishAnsari-hw7so 2 жыл бұрын
Just learnt the xpath concept, that too within 40 minutes! You are a superstar!!
@prasantamajumder27
@prasantamajumder27 2 жыл бұрын
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
@electronics9414
@electronics9414 6 жыл бұрын
Really impressed with parent - sibling- child xpth sir... Really really awesome... Keep rocking
@zollamichalak4058
@zollamichalak4058 4 жыл бұрын
Love this! I feel smarter. Thank you! Head and shoulders above all other xpath trainings on the web. So simple and well explained.
@stockshare530
@stockshare530 4 жыл бұрын
beautiful explanation, really u should be proud of yourself , u learnt it and making learning others in same way..awesome job
@adnanfaisal1085
@adnanfaisal1085 4 жыл бұрын
You explained it way better than my instructor. Hats off and Thank you.
@kamilgurgener6631
@kamilgurgener6631 6 жыл бұрын
Exactly it was a great explanation of writing xpath. Thanks for your clear mentoring.
@SatouSei13
@SatouSei13 4 жыл бұрын
I learned more in 40 minutes here than I did in two weeks everywhere else. Thank you!
@naveenautomationlabs
@naveenautomationlabs 4 жыл бұрын
Thanks for watching :)
@shaanwalia2984
@shaanwalia2984 2 жыл бұрын
Excellent video. Everything is explained clearly. Naveen explains XPATH wonderfully
@chauphan2046
@chauphan2046 6 жыл бұрын
Thanks Naveen for the video, very details and very helpful training.
@samirbamania5249
@samirbamania5249 6 жыл бұрын
Superb Explanation Boss, Awesome way to find xPath with any complexity. Hats off to you. Thank you for sharing this knowledge with us.
@GirishAbhi
@GirishAbhi 5 жыл бұрын
Hey Naveen, never came across preceding and forward siblings earlier. Brilliant, Thanks for sharing.
@janakiramp352
@janakiramp352 9 ай бұрын
This is by far very resource full video on Xpath. I appreciate very much. Thank you for sharing and letting the knowledge pass on
@sugandhajain7727
@sugandhajain7727 6 жыл бұрын
Superb video with awesome explanation.. Thanks a ton Naveen.. Very useful video for sure!! Highly recommended!!
@karanmartinn3970
@karanmartinn3970 5 жыл бұрын
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
@kgip11
@kgip11 3 жыл бұрын
Thanks Naveen.. Your are awesome and the way you you will anything in Selenium gives me confidence !!
@snehaparaye5101
@snehaparaye5101 3 жыл бұрын
Wow! Really needed this. I wanted to learn the parent and sibling part!
@ramyaraghunathan6347
@ramyaraghunathan6347 Жыл бұрын
1 Word . Brilliant. Naveen techniques. Best Mentor.
@jaykatti
@jaykatti 6 жыл бұрын
Great session Naveen. Appreciate your effort. Very very helpful and builds confidence
@LeXranger
@LeXranger 6 жыл бұрын
I like to see how you have grow so fast +20k subs in a year, Congrats
@mithaleepardeshi4893
@mithaleepardeshi4893 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.
@vasuki18
@vasuki18 3 жыл бұрын
Awesome Naveen. Thanks for explaining us very clearly with examples.
@sridevireddy1371
@sridevireddy1371 6 жыл бұрын
tq Naveen for sharing your knowledge and tricks...amazing teaching skills u got.
@NaeemMuhammad22
@NaeemMuhammad22 Жыл бұрын
Hi Naveen, This is one of the amazing video on Xpath. Very well explained. Thanks for your contribution in the community
@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.
@hunkcs395
@hunkcs395 5 жыл бұрын
this is the best stuff i ever seen on xpath, really thanx to creator , helped alot ...!!!
@user-xg3bi8ks6e
@user-xg3bi8ks6e 9 ай бұрын
entire selenium in just 39 mins..mind blowing!
@triptiagrawal3406
@triptiagrawal3406 3 жыл бұрын
wow!! first time I understood the concept of xpath. Thank you
@sohailreyaz9822
@sohailreyaz9822 6 жыл бұрын
Excellent way of teaching. Appreciate that. :)
@andrea5700045
@andrea5700045 5 жыл бұрын
Where have you been all this time?....so glad I found your channel....super cool explanations!!
@swarnalatha2248
@swarnalatha2248 2 жыл бұрын
This is awesome. You are an excellent trainer. You have an amazing talent. Keep up the good work
@myyoutub2010
@myyoutub2010 4 жыл бұрын
Simple and best explanation ...Thank u very much ... 👍👍
@Rohitk2085
@Rohitk2085 6 жыл бұрын
Thats awesome bro. I have actually subscribed for the first time to someone after seeing an awesome video.
@mariabajwa8632
@mariabajwa8632 5 жыл бұрын
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...
@ekaterinagerman3566
@ekaterinagerman3566 Жыл бұрын
Спасибо Алексей за Вашу работу!
@ravikumarvemula4793
@ravikumarvemula4793 5 жыл бұрын
Superb! Explanation! Thank you so much sir :)
@priyashreekantidarshinee2735
@priyashreekantidarshinee2735 6 жыл бұрын
Superb explanation.... everyone can understand easily...thank uuu soo much...
@motazhejaze38
@motazhejaze38 7 ай бұрын
you got talent bro, one of the best instructors i ever watch
@TheHitixa
@TheHitixa 5 жыл бұрын
Hi Naveen ! you are genius👍 Your videos are very helpful Thank you! Thank you! Thank you!
@shitalbhaskarwar8047
@shitalbhaskarwar8047 5 жыл бұрын
Naveen, you made this topic so simple to understand.
@niteshmishra9987
@niteshmishra9987 2 жыл бұрын
I rarely comment on videos but I think I should give it for this guy, amazing man.
@sandeeprajpatnala9067
@sandeeprajpatnala9067 5 жыл бұрын
Hi NAveen, U You are simply amazing, easy slang and outstanding explanation.
@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 3 жыл бұрын
Can we put single slash before input ? Will it work?
@BalaMurugan-xm8gi
@BalaMurugan-xm8gi 6 жыл бұрын
Your explanation is very clear and marvelous. Superb
@JaspreetKaur-hl2sw
@JaspreetKaur-hl2sw 2 жыл бұрын
I am so proud of you Naeen, you are a lifesaver!!!!
@princeharsha3451
@princeharsha3451 6 жыл бұрын
Awesome Naveen thank you....With this video i started watching your other videos of channel and subscribed also :)
@shivamjain5327
@shivamjain5327 4 жыл бұрын
It's clear explanation.. Thanks Naveen for clear each point for getting correct xpath.
@sahanthaveesha2004
@sahanthaveesha2004 5 жыл бұрын
Perfect explanation.. Keep up the good work
@katerynakennedy2335
@katerynakennedy2335 4 жыл бұрын
Very very good explanation!!! Thank you very much for this video!!!
@shraddhadige234
@shraddhadige234 16 күн бұрын
Awesome way to explain xpath!! you make really easy to find xpath now, All videos are just Awesome. Thank you so much Naveen!!!!
@Jayshree_jaysh
@Jayshree_jaysh 2 жыл бұрын
Just Love this!! Lovely way of explaining
@padmapaddhu1669
@padmapaddhu1669 3 жыл бұрын
Naveen, all i can say is thank you. Thank u soo much.
@meghasandesam
@meghasandesam 5 жыл бұрын
We are proud of you that you are our mentor.
@deepunair7554
@deepunair7554 4 жыл бұрын
It’s really cool.. Thank you so much for sharing more info about xPath.
@SharadTalekar
@SharadTalekar 4 жыл бұрын
Father to Uncle and Uncle to cousin, awesome explanation.
@ReddyParvathi
@ReddyParvathi 3 жыл бұрын
Wow Naveen! Brilliant Explaination on XPath
@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...!!!!!!
@ankitkul.4034
@ankitkul.4034 2 жыл бұрын
Very good content Everyone covered generally. This is really detailed and must see video for selenium.
@abhisheksingh-mr7ub
@abhisheksingh-mr7ub 5 жыл бұрын
keep it up bro.....now xpath is one shot game :) :)
@naveenautomationlabs
@naveenautomationlabs 6 жыл бұрын
Naveen AutomationLabs - Channel Full Playlists on KZfaq: Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation: kzfaq.info%20AutomationLabs?sub_confirmation=1 Playlists URLs: ========= 1. Core Java: kzfaq.info/sun/PLFGoYjJG_fqqyIj2ht0aHMx_HnGX3ZFEx Desc: Learn Core Java Step By Step. These tutorials videos are specially designed for beginners. ========== 2. Selenium WebDriver: kzfaq.info/sun/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT 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: kzfaq.info/sun/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy Desc: Learn TestNG Framework Step by Step. TestNg integration with Selenium WebDriver ============ 4. Learn Dynamic Xpath: kzfaq.info/sun/PLFGoYjJG_fqoY3PNcMLjp4pJZSXUCHeiB 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: kzfaq.info/sun/PLFGoYjJG_fqqlW6swKwutBOVU2O8k_JHT Desc: Learn how to implement Data Driven Framework by using Apache POI API and TestNG =========== 6. Page Object Model (POM): kzfaq.info/sun/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74 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 ===========
@pranavgupta4577
@pranavgupta4577 6 жыл бұрын
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.
@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?
@RajendraPrasad-nz1bp
@RajendraPrasad-nz1bp 6 жыл бұрын
Bro thnq so much ur way of explanation was damn awsm it helps me a lot
@madhavisunkara9151
@madhavisunkara9151 6 жыл бұрын
Very well explained. Thank you very much!!
@janarthanasp
@janarthanasp 11 ай бұрын
I love your teaching style Naveen ! God bless you !
@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.
@samirkumarpadhi
@samirkumarpadhi 6 жыл бұрын
This is really appreciable man!!!
@srikanthreddy2245
@srikanthreddy2245 5 жыл бұрын
Awesome,great video....thnks naveen.
@varunmaheshwari2251
@varunmaheshwari2251 4 жыл бұрын
I felt like I need to first automate liking the 'like button' for all your videos. Thanks !!
@ishan1400
@ishan1400 6 жыл бұрын
Vwey well explained Naveen.. Superb
@edgeCT15
@edgeCT15 4 жыл бұрын
Best video by far in custom xpath very well explained
@KnowledgeHub74
@KnowledgeHub74 5 жыл бұрын
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.
@investmentgeek21
@investmentgeek21 5 жыл бұрын
when we have many same Xpaths and we need to select a particular one. what we do..
@dhirendradubey7374
@dhirendradubey7374 Жыл бұрын
uncle td wow what a xpath man..hatsoff to u..
@machannagarisuma1263
@machannagarisuma1263 6 жыл бұрын
Thank u so much naveen.u helped me a lot in learning xpath
@priteshms
@priteshms 3 жыл бұрын
Learnt something new today great job. Parent and preceding-sibling
@romannejouta6546
@romannejouta6546 3 жыл бұрын
Huge Thank You!!! Very valuable content! Helped me a lot!!! Respect!!!
@vishnu1889
@vishnu1889 3 жыл бұрын
Helped me to understand more. U deserve a like and comment Naveen.
@arjuntyagi4038
@arjuntyagi4038 5 жыл бұрын
Bro...what an explanation ..amazing....
@faizejafri1014
@faizejafri1014 3 жыл бұрын
Awesome video!! Brilliant Efforts Man!!
@serving_tray5365
@serving_tray5365 2 жыл бұрын
Thanks Im telling all my friends how I am now a certified genius with xpath now after watching 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.
How to handle Bootstrap DropDown in Selenium - Session - 19
38:12
Naveen AutomationLabs
Рет қаралды 89 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 12 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
TestNG Interview Questions and Answers || TestNG Framework Interview Questions
48:57
XPath in Selenium (Hindi) |  Pradeep Nailwal
20:04
Lets Make Automation Easy - Pradeep Nailwal
Рет қаралды 7 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 28 МЛН
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 7 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 282 М.