This is public repository for Selenium Learners at TestLeaf

Overview

Selenium WebDriver Course for March 2021 Online Learners

This is public repository for Selenium Learners at TestLeaf.

Week1 - Core Java Basics

  • How Java works?
  • Introduction to Class, Members of Class - Methods, Variables
  • Get started with Primitive Data Types
  • Declaration and assignment variables
  • Operators (Arithmetic and Comparison)
  • Anatomy of if, if-else statements
  • Anatomy of loops - for, foreach, while, do while
  • Introduction to String class and its methods
  • Get started with Arrays
  • Solving basic String and Array Problems

Week 2 - Get Started with Selenium WebDriver

  • How Selenium Works Internally?
  • Basic code to launch browser, load URL, Set timeouts and Maximize browser
  • 8 old locators and its strategy of when to use and when not to use
  • Browser Methods like get, findElement(s), close, manage, getTitle etc
  • WebElement Methods like clear, sendKeys, click, getText, getAttibute etc
  • Exceptions - NoSuchElement, StaleElementReference etc
  • How to handle dropdowns, checkbox, radiobutton, web table / calendar etc?
  • XPath build syntax and patters - Absolute, Relative (Attribute, Text) with Exact and Partial matches
  • XPath Patterns - Axes, Collection based indices, Functions
  • Implicit and Explicit Waits
  • Webdriver Snapshot methods for visible area and webelement - Base64 and File
  • Assignments Review

Week 3 - Java OOPS, Collection and WebDriverWait

  • Java OOPS pillars
  • Abstraction - Java Concept, Real time example and Selenium Implementation
  • Inheritance, Polymorphism, Encapsulation
  • WebDriverWait, Expectedconditions, TimeOutExceptions
  • RedBus automation example with Disable Notification, Click Intercepted Exception
  • Java Collection - List, Set, Map
  • Problem Solving - Duplicate values in array, Unique characters in String, Count of characters and Two Sum
  • Assignment Review

Week 4 - Target Locators and Actions

  • SwitchTo - RemoteTargetLocator
  • Alert - accept, dismiss, getText, sendKeys, Exceptions
  • Frame - method overloading (int,String, WebElement), Exception
  • DefaultContent, ParentFrame - Switch back from frame
  • Window - getWindowHandles, getWindowHandle, Exception
  • Switch to Window Options - Set to List, Iterator
  • close vs quit
  • ActiveElement & New Window feature in Selenium 4.0
  • Actions class methods - dragAndDrop, dragAndDropBy, moveToElement, pause, perform
  • Other Actions class - clickAndHold, keyDown, release
  • Exception Handling - try/catch, throw, throws, finally
  • End to End testcase for retail website

Week 5 - TestNg (Test Runner Framework)

  • TestNg Basics
  • Annotations and its hierarchy
  • TestNg XML design
  • @Test Annotation and its attributes
  • Dependency Injection
  • Test Report using TestNg
  • Parameterization - @Parameter and @DataProvider
  • Read Excel using Apache POI Java API
  • Integrate excel data automation with TestNg (Apache POI + Data Provider)
  • Build OOPS concepts into TestNg implementation
  • Convert existing plain testcases to TestNg implementation
  • Run sequential, parallel - with logs and reports
  • Listeners - ISuite, ITest and Retry Implementations

Week 6 - Cucumber Basics to Advanced (BDD Framework)

  • Cucumber and BDD, TDD Basics
  • Create Feature File with simple scenario
  • Cucumber - Gherkin Keywords
  • Integration with Step Definitions
  • Scenario Outline with Examples and with Background
  • CucumberOptions - Glue, MonoChrome, Report, Hooks
  • Create Runner File with TestNG
  • Cucumber Hooks and Java OOPS integration
  • Convert existing TestNg testcases to BDD implemntation
  • Run Feature files from TestNg XML
You might also like...

A sample repo to help you capture JavaScript exception for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

A sample repo to help you capture JavaScript exception for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to capture JavaScript exception for automation test in Java-selenium on LambdaTest Prerequisites Install and set environment variable for java. Wi

Jul 13, 2022

A sample repo to help you find an element by text for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

A sample repo to help you find an element by text for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to find an element by text for automation test in Java-selenium on LambdaTest Prerequisites Install and set environment variable for java. Windows

Jul 13, 2022

A sample repo to help you emulate network conditions in Java-selenium automation test on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

A sample repo to help you emulate network conditions in Java-selenium automation test on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to emulate network conditions in Java-selenium automation test on LambdaTest Prerequisites Install and set environment variable for java. Windows

Jul 13, 2022

This repository contains example codes which will help you to know how to use selenium webdriver.

❓ What is this Repository about? This repo has example codes with Selenium 4 features. Websites used for testing are: automationpractice.com, saucedem

Dec 30, 2022

This repository includes selenium web driver tests examples using spring boot application.

This repository includes selenium web driver tests examples using spring boot application.

Selenium Web Driver Tests This repository includes selenium tests examples using custom spring boot application. Overview Run tests Additional Informa

Nov 27, 2022

This repository includes selenium tests examples using cucumber-jvm framework.

Cucumber Selenium Tests This repository includes cucumber selenium tests examples using wikipedia.org. Run tests To run tests on your local machine, y

Nov 27, 2022

Fast and stable sort algorithm that uses O(1) memory. Public domain.

WikiSort WikiSort is an implementation of "block merge sort", which is a stable merge sort based on the work described in "Ratio based stable in-place

Jan 1, 2023

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.

VanillaGradle is a toolchain for Minecraft: Java Edition that provides a workspace to interact with the game using official mappings provided by Mojan

Nov 22, 2022

This service checks the Co-WIN public API at a specific interval and send update to users specified telegram bot.

COVID VACCINE TELEGRAM BOT USING SPRING BOOT This application is a covid vaccine slot notifier via telegram bot. This application uses public CO-WIN A

Oct 4, 2022

old leak now public

binscure Usage: Import your build.gradle into Intellij as a "New Project from existing sources" If you get a Java Home error, meaning that your Java

Dec 2, 2022

Mint 0.1.1 public release, HWID System removed. Feel free to use. (Note: for all of u thinking its ratted; its not.)

Mint By: zPrestige_ | ! zPrestige_#1514 | git Kambing | dragonhacker32_#3091 | git FB | FB#7334 | git ZenovJB | Zenov#0603 | git Support no support No

Dec 2, 2022

Lightweight service-based PubSub, RPC and public APIs in Java

kite - service-based RPC, public APIs and PubSub in Java kite is a collection of reactive application messaging libraries that aim at providing high l

Feb 17, 2022

Public documentation for Visual Studio Code

Public documentation for Visual Studio Code

Visual Studio Code Documentation You've found the Visual Studio Code documentation GitHub repository, which contains the content for the Visual Studio

Jan 8, 2023

A public bot for Discord servers 🥶

Public sample bot for Discord servers 😎 Bot is written in Java 16, currently there is only verification in the bot, but if someone knows at least the

Jul 7, 2022

A public, stripped down workspace of the Project Unity mod, a mega-collaboration Mindustry mod

A public, stripped down workspace of the Project Unity mod, a mega-collaboration Mindustry mod

A public, stripped down workspace of the Project Unity mod, a mega-collaboration Mindustry mod. Not intended to be played yet; this is purely for code publicity and healthy competition reasons.

Jan 1, 2023

An app to manage the libraray at school or in public.

MyCalc Intro An app to manage the libraray at school or in public. Written 100% in Java, no permission needed. Finished in about 1 month by Nguyen Huy

Jan 16, 2022

Onepop is an utlity client previously paid, but now public and open source

Onepop is an utlity client previously paid, but now public and open source

onepop Onepop is an utlity client previously paid, but now public and open source, the client license is the GNU General Public License v3.0. The clie

Dec 30, 2022

Download or repost public instagram posts easily by selecting "Copy Link" in Instagram.

Download or repost public instagram posts easily by selecting

Insta Save and Repost Description Download or repost public instagram posts easily by selecting "Copy Link" in Instagram. Screenshots Features Downloa

Jan 21, 2022

Java & Spring based cryptocurrency trading robot (RPA) that uses the public Binance API

Santini Santini is a Java & Spring based cryptocurrency trading bot that uses the public Binance API. It is run by providing it with API keys generate

Apr 19, 2022
Owner
TestLeaf
TestLeaf
jQuery-like cross-driver interface in Java for Selenium WebDriver

seleniumQuery Feature-rich jQuery-like Java interface for Selenium WebDriver seleniumQuery is a feature-rich cross-driver Java library that brings a j

null 69 Nov 27, 2022
Automated driver management for Selenium WebDriver

WebDriverManager is a library which allows to automate the management of the drivers (e.g. chromedriver, geckodriver, etc.) required by Selenium WebDr

Boni García 2.2k Dec 30, 2022
The public release repository for SUSTech SQL (CS307) course project 2.

CS307 Spring 2021 Database Project 2 1. Source code Download link: For java: https://github.com/NewbieOrange/SUSTech-SQL-Project2-Public For python: h

null 16 Dec 26, 2022
Public course repository for ENSF 409, WS 2022.

ENSF409 This is an instructional project for the course ENSF 409 at the Schulich School of Engineering at the University of Calgary. It is not a free/

null 14 May 19, 2022
A FREE Selenium course that takes you step-by-step through building a custom Selenium Framework from scratch.

Selenium For Everyone The book and code repo for the FREE Selenium For Everyone book by Kevin Thomas. FREE Book Download Chapter 1: Getting Started Th

Kevin Thomas 5 May 10, 2022
A sample repo to help you handle basic auth for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to handle basic auth for automation test in Java-selenium on LambdaTest Prerequisites Install and set environment variable for java. Windows - htt

null 12 Jul 13, 2022
A sample repo to help you clear browser cache with Selenium 4 Java on LambdaTest cloud. Run your Java Selenium tests on LambdaTest platform.

How to clear browser cache with Selenium 4 Java on LambdaTest cloud Prerequisites Install and set environment variable for java. Windows - https://www

null 12 Jul 13, 2022
A sample repo to help you run automation test in incognito mode in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to run automation test in incognito mode in Java-selenium on LambdaTest Prerequisites Install and set environment variable for java. Windows - htt

null 12 Jul 13, 2022
A sample repo to help you handle cookies for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to handle cookies for automation test in Java-selenium on LambdaTest Prerequisites Install and set environment variable for java. Windows - https:

null 13 Jul 13, 2022
A sample repo to help you set geolocation for automation test in Java-selenium on LambdaTest. Run your Java Selenium tests on LambdaTest platform.

How to set geolocation for automation test in Java-selenium on LambdaTest Prerequisites Install and set environment variable for java. Windows - https

null 12 Jul 13, 2022