Selenium Java Automation Tutorial

The following are the different contents in our Selenium Test Automation Tutorial:

  • Introduction to Selenium
  • HTML Basics for Selenium
  • Locators for Selenium
  • XPath Expression Locators in Detail
  • CSS Selectors Locators in Detail
  • Firebug and Firepath Alternatives
  • New Selenium IDE
  • Java for Selenium (Includes Eclipse IDE)
  • Selenium WebDriver Commands
  • Selenium Java Interview Questions
  • And many more

Introduction to Selenium


  1. What is Selenium?

  2. What are the prerequisites required for learning Selenium?
  3. What are the different components or tools of Selenium?
  4. Selenium is an Open Source and Free Test Automation Tool
  5. What types of Applications that Selenium can and cannot Automate?
  6. What are the different browsers supported by Selenium?
  7. What are the different programming languages supported by Selenium?
  8. What are the different operating systems supported by Selenium?
  9. What is SeleniumHQ?
  10. What are the different versions of Selenium?
  11. The History of Selenium
  12. How Selenium got its Name?
  13. What types of Testing can be automated using Selenium?
  14. 15 Advantages or Benefits of using Selenium Test Automation Tool
  15. 20 Disadvantages of limitations of using Selenium

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

New Selenium IDE


  1. What is Selenium IDE?
  2. Installing Selenium IDE in Chrome Browser
  3. Launching Selenium IDE in Chrome Browser
  4. Record and Playback using Selenium IDE in Chrome Browser
  5. Install, Launch, Record, and Playback using Selenium IDE in Firefox Browser
  6. New Selenium IDE – Features Walkthrough
  7. New Selenium IDE – Locating Strategies
  8. New Selenium IDE – Commands (Selenese)
  9. New Selenium IDE – Exploring Other Features
  10. Selenium IDE – Older versus Latest Versions
  11. New Features in Latest Selenium IDE Version

Java for Selenium (Includes Eclipse IDE)


Java plays an important role in Selenium Automation and hence we need to learn it in detail. I have created a detailed ‘Java for Testers’ Tutorial, where I have explained the Java concepts from scratch to the advanced level required for Selenium.

Go through the detailed ‘Java for Testers’ Tutorial at the below link before moving further:

  1. Java for Testers Tutorial
  2. About this Tutorial
  3. What is Java?
  4. Installing and Configuring Java
  5. Installing and Launching Eclipse IDE
  6. Create a Java Project in Eclipse IDE
  7. Understanding Java Programs
  8. Compiler errors
  9. Print Statements
  10. Java for Testers Tutorial

Selenium WebDriver Contents


  1. What is Selenium WebDriver?

 


Selenium Java Interview Questions


  1. 650 Selenium Java Interview Questions answered so far here
  2. More interview questions and answers coming soon.

 

Happy Learning ?

Arun Motoori ( www.QAFox.com )

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