Locators for Selenium

If you want to learn Locators for Selenium in detail, we have to learn the below:

HTML Basics for Selenium


  1. What is HTML (Introduction)?
  2. HTML Elements, Tags, Attributes and Enclosed Text
  3. HTML Structure
  4. Adding Title to the HTML Web Page
  5. Adding Paragraphs to the HTML Web Page
  6. Adding Bold Text to the HTML Web Page
  7. Displaying different sizes of heading on HTML Web Page
  8. Adding links to HTML Web Page
  9. Adding Ruler to HTML Web Page
  10. Adding Image to HTML Web Page
  11. Adding line breaks in the HTML Web Page
  12. Adding Paragraphs to the HTML Web Page
  13. Adding Italic Text to the HTML Web Page
  14. Adding Underlined Text to the HTML Web Page
  15. Adding Table to the HTML Web Page

Locators for Selenium


  1. What are Locators?
  2. Different types of Locators?
  3. Demonstrating ID Locator
  4. Demonstrating Name Locator
  5. Demonstrating Class Name Locator
  6. Demonstrating Link Text Locator
  7. Demonstrating CSS Selector Locator
  8. Demonstrating XPath Expression Locator
  9. Demonstrating DOM Locator
  10. Locators Priority
  11. About ID Locator in detail
  12. More details about Name, Class Name, and Link Text Locators

XPath Expression Locators in Detail


  1. What is an XPath?
  2. Hierarchy of HTML Source code
  3. Types of XPath Expressions
  4. Practice Absolute XPath Expressions in detail here
  5. Advantages and Disadvantages of Absolute XPath Expressions
  6. Practice Relative XPath Expressions in detail here (Part 1)
  7. Practice Relative XPath Expressions in detail here (Part 2)
  8. Practice Relative XPath Expressions in detail here (Part 3)
  9. Practice Relative XPath Expressions in detail here (Part 4)
  10. Practice Relative XPath Expressions in detail here (Part 5)
  11. Practice Relative XPath Expressions in detail here (Part 6)
  12. Practice Relative XPath Expressions in detail here (Part 7)
  13. Usage of Wild Cards in XPath Expressions
  14. Using XPath Expressions with HTML Tables
  15. XPath Functions
  16. Using text() XPath Function
  17. Using contains() XPath Function
  18. Using starts-with() XPath Function
  19. Using last() XPath Function
  20. Using position() XPath Function
  21. XPath Axes
  22. following XPath Axes
  23. preceding XPath Axes
  24. following-sibling XPath Axes
  25. preceding-sibling XPath Axes
  26. parent XPath Axes
  27. child XPath Axes
  28. ancestor XPath Axes
  29. descendant XPath Axes
  30. Advantages of Relative XPath Expressions over Absolute XPath Expressions

CSS Selectors Locators in Detail


  1. What is a CSS Selector?
  2. Types of CSS Selectors
  3. Practice Absolute CSS Selectors in detail here
  4. Practice Relative CSS Selectors in detail here (Part 1)
  5. Practice Relative CSS Selectors in detail here (Part 2)
  6. Practice Relative CSS Selectors in detail here (Part 3)
  7. Using first-child in CSS Selectors
  8. Using last-child in CSS Selectors
  9. Using nth-child in CSS Selectors
  10. Using comma and asterisk symbols in CSS Selectors
  11. Using starts with (^), ends with ($) and contains (*) in CSS Selectors
  12. Using not in CSS Selectors
  13. Using Follow Sibling (+) in CSS Selectors
  14. Using disabled, enabled and checked in CSS Selectors
  15. XPath Expressions are powerful than all locators including CSS Selectors
  16. CSS Selectors have the highest priority over XPath Expressions

Firebug and Firepath Alternatives


  1. Firebug got deprecated and discontinued by its developers
  2. Alternatives for Firebug and Firepath
  3. Installing Chropath Add-on on Chrome Browser
  4. Using Chropath Add-on in Chrome Browser
  5. Validating XPath Expressions and CSS Selectors using ChroPath Add-on in Chrome Browser
  6. Installing Chropath Add-on on Firefox Browser
  7. Using Chropath Add-on on Firefox Browser
  8. Validating XPath Expressions and CSS Selectors using ChroPath Add-on in Firefox Browser
  9. Installing, Using and Validating locators using ChroPath in Opera Browser
  10. Installing and using devtools-highlighter add-on in Firefox Browser
  11. Installing and using Try XPath Add-on in Firefox Browser
  12. Using the default Chrome Dev Tools for validating the XPath Expressions and CSS Selectors
  13. Installing and using XPath Finder Add-on in Chrome Browser
  14. Installing and using XPath Helper Add-on in Chrome Browser
  15. Installing and using Relative XPath Helper Add-on in Chrome Browser
  16. Installing and using MRI in Internet Explorer Browser
  17. Installing and using TruePath add-on in Chrome Browser
  18. Installing and using TruePath add-on in Firefox Browser
  19. Installing and using Ranorex Selocity add-on in Chrome Browser
  20. Using the default Chrome Dev Tools Copy options in Chrome Browser
  21. Using the default Firefox Dev Tools Copy options in Firefox Browser
  22. Validating the XPath Expressions and CSS Selectors in Chrome Console
  23. ChroPath in Chrome Browser is the best alternative for Firebug and Firepath
  24. Write XPath Expressions and CSS Selectors by yourself instead of auto-generating them

Happy Learning ?

Arun Motoori ( www.QAFox.com )

On a mission to contribute to the Software Testing Community in all possible ways.

For FREE Testing Tutorials & Videos

X
Open chat
Contact Us on Whatsapp