O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Selenium WebDriver with Java - Basics to Advanced& Interview

Video Description

Join with us-"Top Ranked #1 Master Selenium java course - 30,000+ students learning together with great collaboration

About This Video

  • Course includes real-time projects with practical Solutions for the Robust Selenium Framework building
  • Examples are taken from REAL TIME HOSTED WEB APPLICATIONS to understand how different components can be automated, that will give you an idea of industry level framework and give you confidence.
  • On course completion, You will be Mastered in Selenium Automation Testing and can implement Successfully

In Detail

This course covers core Java Basics + Selenium Webdriver + Advanced Selenium + Interview Preparation +Framework design( TestNG, ANT, Pageobject, Maven, Jenkins, Excel Datadriven,Cucumber,log4j) + Selenium Grid + Database Testing + Performance Testing on Selenium scripts + Mobile testing Basics. All the topics were taught from basic to advanced level with a lot of tricks and tips which makes users to get perfection on the things. On course completion, you will be mastered in Selenium Automation Testing and can implement successfully it in your workplace. We assume that students have no experience in automation/coding and start every topic from scratch and basics. At the end of this course, you can pick any web application over the internet and can automate it whatever the way you want.

Table of Contents

  1. Chapter 1 : Selenium Introduction
    1. Course FAQ's - (Must Watch Lecture) 00:07:02
    2. Selenium History 00:07:03
  2. Chapter 2 : Complete Installation Guide for java and Selenium Learning
    1. Java Installation 00:12:17
    2. Eclipse Installation, configuration 00:07:33
    3. Selenium Project creation with Class files 00:07:39
    4. Downloading and configuring Selenium 00:08:41
  3. Chapter 3 : Brush up Java Concepts for Selenium Automation
    1. How to run tests in Google Chrome 00:23:47
    2. How to run tests in Firefox and IE 00:12:32
    3. Troubleshooting errors on browser invocation code 00:05:03
    4. Brush up basic java concepts -1 00:08:35
    5. Brush up basic Java concepts -2 00:08:32
    6. Brush up basic java concepts -3 00:17:53
  4. Chapter 4 : Configuring Selenium and Running Tests on All Browsers
    1. Basic Methods of Webdriver 00:08:48
    2. Webdriver browser methods - 2 00:09:46
  5. Chapter 5 : Locator Techniques& Tools used to identify Objects
    1. Importance of Locator Identifiers in Selenium 00:12:06
    2. Identifying locators (id, name, linkText) with developer tools -1 00:11:13
    3. Identifying locators (className) with developer tools -2 00:14:16
    4. Identifying xpath in chrome and Firefox Browsers 00:11:57
    5. Identifying CSS locators with chrome and Firefox Add-ons 00:13:12
    6. Validating the accuracy of xpath and CSS from browser add-ons 00:11:41
    7. Practise exercises on locators learnt from the previous lectures 00:07:07
    8. Generating customized xpath from html attributes 00:14:48
    9. Generating customized CSS from html attributes 00:18:17
    10. Practise exercises with Xpath and CSS with regular expressions 00:16:52
  6. Chapter 6 : 15 Popular Interview Questions on Selenium Basics
    1. Identify Xpath with Parent Child Traverse relationship 00:12:55
    2. Surprise!! Use chropath plugin to get Xpath and CSS 00:13:14
    3. Difference between Relative and absolute xpath? 00:11:19
    4. How to identify siblings and traverse back to parent nodes with xpath? 00:11:48
    5. Identifying objects with Text using xpath locators 00:08:00
    6. CSS Selectors locators 00:15:25
    7. Tricks and tips in identifying objects -INTERVIEW preparation 00:10:00
  7. Chapter 7 : Selenium Webdriver->Techniques to automate Web elements
    1. Handling Static dropdowns with Select webdriver API 00:13:28
    2. Handle Dynamic dropdowns with Webdriver API 00:17:33
    3. Handling Checkboxes with webdriver API 00:07:54
    4. Handling Radiobuttons with Customized xpath 00:12:29
    5. Handling Radiobutton dynamically- real time examples 00:15:54
    6. Types of Alerts present and Methods to handle them 00:07:21
    7. Handling Java Alerts using Webdriver API 00:08:14
    8. Web Elements Validation -1 00:07:53
    9. Web Elements Validation – 2 00:10:12
    10. Web Elements Validation -3 00:09:38
    11. End to End Practise Exercise – 1 00:08:33
    12. End to End Practise Continued. 00:10:04
    13. INTERVIEW QUESTIONS 00:08:28
  8. Chapter 8 : Synchronization usage in Selenium webdriver
    1. What is implicit wait? Explain with real time scenario 00:11:45
    2. What is explicit wait? Explain with real time scenario 00:12:18
    3. Practical examples on Implicit wait 00:12:56
    4. Practical examples on explicit waits 00:13:52
  9. Chapter 9 : Techniques to automate Ajax calls, Child Windows and Iframes
    1. Handling Ajax/Mouse Interactions 00:11:09
    2. Actions class-real time example 00:11:28
    3. Handling Multiple Windows 00:06:50
    4. Window Handle concepts-real time example 00:10:01
    5. Live Example on working with Child windows 00:04:47
    6. How to handle Frames? 00:11:00
    7. Frames Techniques-real time example 00:14:10
    8. INTERVIEW QUESTIONS 00:07:07
  10. Chapter 10 : Real Time Exercises (end to end Programming)
    1. Practise Exercise- print the links count in the Page 00:12:33
    2. Exercise 1.1-Limiting Webdriver scope 00:13:32
    3. How to open the links in Separate Tabs - Optimized solution 00:09:03
    4. Getting the Titles of child tabs with optimized while loop 00:13:46
    5. Handling calendar UI in Travel websites 00:14:56
    6. Generic method to handle calendar with month and date 00:17:03
    7. Solved example on calendar methods 00:05:23
  11. Chapter 11 : Practical problems and Methods to Handle them with Selenium
    1. Problem – Description 00:08:03
    2. Identifying frames from Html view 00:09:28
    3. Element Hidden or Invisible-How to validate 00:09:37
    4. Writing Generic functions to Identify Frames/Windows 00:10:35
    5. Example Demonstrating Multiple Frames 00:08:53
    6. Handling Auto suggestive dropdown options 00:17:32
    7. Importance of Javascript Executor 00:15:46
    8. End to end Practise exercise 00:16:40
  12. Chapter 12 : Famous INTERVIEW QESTIONS
    1. How to handle table Grids in webpage 00:10:32
    2. Techniques used for table grid-Real time example 00:16:32
    3. Practise exercises on Tables – 1 00:09:53
    4. Practise exercises on Tables – 2 00:11:57
    5. Handling HTTPS certifications 00:11:54
    6. Maximizing window and deleting cookies 00:07:23
    7. How to take Screenshots in Selenium 00:12:27
    8. Killing the Process and Cookies using Selenium 00:04:37
    9. Customized way of identifying locators – 1 00:09:27
    10. Customized way of identifying locators – 2 00:09:31
  13. Chapter 13 : Cross Browser Testing with Selenium Grid
    1. Introduction to Grid 00:10:57
    2. Registering Hub with nodes for execution. 00:12:28
    3. Registering nodes with Browser drivers 00:11:25
    4. Desiredcapabilities and RemoteWebdriver importance 00:16:22
    5. Cross browser testing rules-Grid Program 00:07:56
  14. Chapter 14 : Framework Learning Plan=Must Watch Lecture
    1. Framework Learning Plan Must Watch Lecture 00:10:05
  15. Chapter 15 : Framework Part -1 – TestNG
    1. Why TestNG and Its Advantages 00:09:01
    2. Running testcases in TestNG without Java compiler 00:08:54
    3. Importance of xml file in Testng configuration 00:12:40
    4. Prioritizing the Test cases with TestNG 00:12:08
    5. Include and Exclude Mechanism to control Test cases 00:12:14
    6. Executing the Test cases at Package level with regex 00:11:47
    7. TestNg Annotations part – 1 00:12:32
    8. TestNG Annotations part – 2 00:12:42
    9. Usage of Groups functionality in TestNG 00:15:02
    10. Annotations helper attributes with examples 00:11:24
    11. Parameterising from TestNG xml file 00:13:34
    12. DataProvider Annotation -Parameterizing Test cases – 1 00:14:44
    13. DataProvider Annotation -Parameterizing Test cases-2 00:08:32
    14. Listeners Interface in TestNG framework 00:15:34
    15. Running Tests in parallel and generating Reports 00:12:39
  16. Chapter 16 : Framework Part -2 -Global Environmental variables Setup& Reusable Components
    1. Why we should not hard code the data? 00:06:34
    2. How to write Global parameters with java code 00:10:22
    3. Data driving parameterization from Properties file 00:10:11
    4. How to deal with Reusable Components 00:06:37
  17. Chapter 17 : Framework Part -3- Maven- Build Management tool
    1. Importance of Maven in Framework development 00:10:58
    2. Installing and configuring Maven 00:11:05
    3. Understanding Terminologies of Maven 00:15:54
    4. Creating Maven Project and importing into eclipse 00:11:05
    5. Understanding POM.xml file and its dependencies 00:13:10
    6. Importance of surefirePlugin in executing Tests 00:13:09
    7. Integration of Testing with Maven 00:12:29
    8. Switching the Tests with Maven profiling 00:10:41
  18. Chapter 18 : Framework Part -4- Jenkins- Continuous Integration Tool
    1. Importance of Jenkins in Test frameworks 00:10:42
    2. Install and configure Jenkins 00:10:46
    3. Configuring Jenkin Settings and Workspace 00:12:19
  19. Chapter 19 : Framework Part -5 - TestNG Reports for Jenkin Jobs
    1. Testing Reporting Plugin into Jenkin jobs 00:17:13
  20. Chapter 20 : Framework Part 6-Excel Data Driven Testing Utilities
    1. What is Apace POI API & Download Instructions? 00:10:09
    2. Strategy to Access Excel Data 00:15:18
    3. Getting rows and its cells from Sheet 00:15:16
    4. Retrieving Data from Excel based on condition 00:08:48
    5. Practise Exercise- Excel Driven testing -1 00:11:46
    6. Practise Exercise- Excel Driven testing -2 00:10:59
    7. Practise Exercise- Excel Driven testing -3 00:10:00
  21. Chapter 21 : Framework Part -7- Logging Framework - log4j
    1. What is log4j? Its usage in Selenium framework 00:09:02
    2. Importing log4j into Eclipse project 00:14:29
    3. Importance of log4j xml file 00:10:53
    4. Understanding the xml file to control logging in Testcase 00:14:52
    5. Testcase logging with log4j example-1 00:16:29
    6. Testcase logging with log4j example continued... 00:06:35
  22. Chapter 22 : Framework Part -8 - Pageobject Pattern & page Factory
    1. What is Page object model? 00:03:41
    2. Creating Page object Constructor in classes 00:06:58
    3. Object repository Mechanism 00:08:24
    4. Practical Exercise explaining Pageobject Model 00:12:46
    5. Page object Factory and its advantages 00:13:38
    6. Page factory annotations FindBy 00:12:56
    7. Practical Example explaining Page factory Model 00:02:13
  23. Chapter 23 : Framework building from scratch- Real time Project
    1. End to end framework Agenda- Must Watch 00:05:38
    2. Create Maven Test project with eclipse integration 00:12:13
    3. Configure Framework dependencies in POM.xml 00:17:08
    4. Design base Test with global variables setup 00:19:00
    5. Implement Pageobject Mechanism to drive tests 00:18:32
    6. Create multiple tests with centralized data 00:14:12
    7. Parameterizing the Tests with multiple data with TestNG 00:14:44
    8. Asserting the Test cases with validations 00:15:53
    9. Adding Tests to Suite in framework guidelines 00:14:52
    10. Converting Framework into Testing and configuring TestNG xml file 00:09:11
    11. Configuring Tests with setup and Teardown in TestNG framework 00:10:22
    12. Integrating Log4j logging API into Framework 00:15:13
    13. Fixing the framework issues by tweaking TestNG xml file 00:10:44
    14. Screenshots on failure- TestNG Listeners 00:16:59
    15. Excellent HTML reports on Test Execution 00:15:28
  24. Chapter 24 : Java OOPS Basics for Selenium
    1. Java first program basics 00:08:35
    2. Java program principles 00:08:32
    3. Classes, objects in Java 00:17:53
    4. Strings in Java 00:15:54
    5. Strings practise exercises 00:09:23
    6. Coding Basics-1 00:10:38
    7. Coding Basics-2 00:10:21
    8. Inheritance Concepts 00:10:00
    9. Practical usage of Inheritance 00:09:20
    10. Interface Concepts 00:10:20
    11. Practical Usage of Interface 00:08:07
    12. Runtime Polymorphism 00:08:05
    13. Introduction to Arrays 00:08:57
    14. Single dimensional and Multidimensional arrays usage 00:12:37
    15. Examples of Arrays 00:07:47
    16. Array interview questions 00:12:47
    17. Programming example 00:18:30
    18. Reverse string -Interview question 00:09:23
    19. Date class concepts 00:10:48
    20. Working with calendar objects in java 00:06:23
    21. Access modifiers basics 00:04:05
    22. How constructor play a crucial role 00:07:13
    23. Types of constructors and their usage 00:09:58
    24. What is super keyword? 00:06:47
    25. Super keyword practical usage 00:05:35
    26. Importance of this keyword 00:06:10
    27. Final keyword in Java 00:08:28
    28. Packages and their usage in OOPS 00:06:32
    29. Types of packages and how they will help in real time 00:08:38
    30. Importance of access modifiers 00:07:39
    31. Difference between public and private modifiers-With Examples 00:10:55
    32. Different kind of exceptions 00:09:41
    33. Try catch Mechanism to handle exceptions 00:07:08
    34. Importance of finally block in java 00:06:11
  25. Chapter 25 : Advanced Java- Collections API
    1. What are Java Collections? 00:06:12
    2. Implementation of Arrays List 00:11:28
    3. Examples of ArrayList 00:05:24
    4. Implementation of Set interface 00:08:26
    5. Examples of HashSet using Iterator 00:08:38
    6. Implementation of Map interface 00:16:57
    7. Difference between HashMap and HashTable (Interview) 00:05:32
    8. Practise Exercise: Printing unique number- Amazon interview ques 00:17:41
  26. Chapter 26 : Cucumber Behaviour Driven Data –Framework
    1. Cucumber Framework Design Plan 00:03:52
    2. Template in writing Business requirements 00:06:23
    3. QA role in BDD 00:08:48
    4. Template in writing testcases for Business Scenarios 00:06:37
    5. Advantages of BDD, Why it is getting popular 00:08:04
    6. cucumber project template 00:11:33
    7. Understanding cucumber dependencies 00:11:38
    8. Understanding Cucumber Framework terminologies 00:15:22
    9. Mapping step definition to feature file 00:11:08
    10. TidyGherkin plugin to generate step definations 00:09:28
    11. Running tests with TestRunner 00:14:01
    12. Importance of Regular expressions in feature files 00:13:05
    13. Reusing functions with variable Data 00:14:06
    14. Adding cucumber knowledge to Existing framework 00:10:23
    15. Create Selenium Feature files with Step definition Implementation 00:19:34
    16. Add page objects and handle dynamic popups in home page 00:17:23
    17. Parameterizing Selenium tests with Cucumber 00:14:34
    18. Integrate Cucumber with TestNG and Maven 00:14:17