Login

Lost your password?
Don't have an account? Sign Up

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

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:

Follow me on my Facebook Page:

======================================================
Let's join our Automation community for some amazing knowledge sharing and group discussion. Plz join via this link on Telegram:

-~-~~-~~~-~~-~-
Follow my Site/Blog:
========================================================
Please watch: "Selenium & Automation Interview Preparation – By Naveen AutomationLabs"

-~-~~-~~~-~~-~- Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Paid courses (Recorded) videos:
Java & Selenium Course:
API Course: ➡️Get Our Courses✔️
? Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course:
API Course:
——————————-

✔️SOCIAL NETWORKS
Facebook:
Twitter:
Blog:
——————————–

Support My Channel✔️Or Buy Me A Coffee
Paypal:
Google Pay: naveenanimation20@gmail.com
——————————–
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

https://www.educational.guru

24 comments

  1. prasanta majumder

    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

  2. Ajitav Chakrabarty

    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 😀 😀

  3. Mitesh Gujarathi

    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.

  4. Aniket Deshpande

    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

  5. Anupama Sundarkar

    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’. 🙂

  6. anil kumar

    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?

  7. sravan kumar

    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!!

  8. Priya Dakshesh Patel

    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 .

  9. Mithalee pardeshi

    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. 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*