
Welcome to the Selenium Automation
Install the JDK and Eclipse, download Selenium Java bindings and standalone server, and configure browser drivers to run scripts locally or on a grid.
Learn to build a basic Selenium WebDriver program in Java that sets up ChromeDriver, opens google.com, gets the title with driver.getTitle(), and compares it to the expected value.
learn how to locate a web element by id in selenium. type text into google's search box using sendKeys and press enter to search.
Learn how WebDriverManager automatically downloads the correct browser driver for Selenium tests, reducing manual setup and driver version mismatch by using a dependency and a setup call.
Learn how to locate web elements with XPath in Selenium using absolute and attribute-based paths, composing expressions with id, name, and double slashes to automate element selection.
Explore the JavaScript executor interface in Selenium to execute scripts that interact with hard-to-find elements, using executeScript with the driver.
Learn to automate selecting options from a drop-down menu in Selenium using Java by locating the select element, using the Select class, and choosing by index.
Learn how to upload a file in Selenium by integrating AutoIt to handle the Windows file dialog, including setup and running the AutoIt script.
Learn how to capture and save a screenshot in Selenium by casting the driver to the take screenshot interface and using getScreenshotAs, then copying the source to a destination file.
Demonstrates casting a Selenium WebDriver to the TakesScreenshot interface to call screenshot methods, with ChromeDriver or RemoteWebDriver implementations providing the take screenshot capability.
Explain how implicit wait works in Selenium and how driver.manage.timeout.implicit wait makes the script wait for elements before throwing an exception, outlining the architecture with WebDriver and ChromeDriver.
Learn how explicit wait in selenium assigns per-element wait times using webdriver wait and expected conditions. This approach handles dynamic pages by waiting for element visibility instead of implicit timeout.
Explore the architecture of explicit wait in selenium, including WebDriverWait, until, and ExpectedConditions, and learn how to customize it with a custom expected condition for dynamic pages.
Learn how fluent wait in Selenium for Java provides configurable timeouts and polling intervals, with ignored exceptions and custom until conditions, compared to implicit and explicit waits.
Learn to use the selenium actions class to simulate keyboard shortcuts and mouse actions, including typing with shift and dragging and dropping elements, with build and perform steps.
Learn to access a table element with Selenium WebDriver in Java, using XPath to traverse table, tbody, tr, and td, and print the cell text, including nested tables.
Learn how to handle alert popups in Selenium WebDriver for Java, including switching to alerts, reading text, and accepting or dismissing prompts.
Switch to iframes in selenium to access elements inside frames. Locate elements by name or id, type text with send keys, and switch back to the main window.
Explore handling tabs and child popups in Selenium WebDriver for Java by listing window handles, switching to child windows, printing titles, and closing them to return to the parent.
Learn to handle mouse events in Selenium using the Actions class, hover over a menu to reveal links, then click the login or other items.
Install and configure TestNG in Eclipse, create a Java project, annotate methods with @Test, and run TestNG tests to execute multiple classes together.
Learn how selenium assertions compare actual and expected results using hard assertions like assert equals and verify title. Recognize that a failed assertion terminates the test case.
Compare hard and soft assertions in Selenium. See how soft assertions let you continue testing multiple links and report all failures at the end.
Learn advanced XPath techniques in Selenium, including single attribute and multi attribute locators, contains, text, starts with, and following or preceding axes to reliably identify web elements.
Learn to read and load Java property files to supply environment URLs, locators, and messages for Selenium tests across dev, test, and prod.
Learn how to run selenium 3 scripts on firefox with the gecko driver, set the webdriver.gecko.driver path, and manage browser actions with driver.get and driver.close.
Discover headless browser testing with HtmlUnit driver, learning its speed and no-ui setup, using it for non-UI tasks while retaining real browsers for UI testing to mirror user experience.
Verify all links on a webpage using Selenium in Java by collecting anchors, iterating them, and checking HTTP response codes for broken links.
Store a global variable in the Java system properties using setProperty and getProperty, so a key-value pair persists during runtime and can be accessed across Java files in Selenium code.
Learn to debug Selenium tests with the debugger panel, using breakpoints and step over to inspect variables and locate issues.
Attach JavaDoc to your Selenium project and install a decompiler to view command details and understand how Selenium commands work.
Explore Selenium 4 new features in Java bootcamp, including improved WebDriver communication, multi-window and new tab support, enhanced element handling, and clearer documentation for test automation.
Discover how to take a screenshot of a group of elements in Selenium 4 by locating a parent container (like a div) and capturing multiple elements together for UI verification.
Learn to take a screenshot of a specific web element using Selenium 4, including element-level screenshot methods and setup with driver manager and Chrome driver.
Learn how Selenium 4 retrieves an element’s size and position with getSize, getLocation, or getRect to obtain x, y, width, and height for reliable interactions.
Create and manage multiple browser windows in Selenium 4 to run parallel sessions, switching between windows with window handles and performing user and admin actions on the same site.
Use WebDriverManager to automatically download the correct browser driver (Chrome or Firefox) for Selenium tests, updating drivers as browsers evolve, via a simple dependency and setup call.
Selenium 4 relative locators help you reliably identify dynamic elements by using near, left of, and other relative strategies to interact with web pages whose attributes change.
Learn how Selenium 4 uses DevTools to ignore certificate errors and bypass expired SSL certificates, enabling testing on untrusted websites.
Explore Selenium 4 DevTools to emulate a 2g network and test your site under low bandwidth by configuring network conditions, latency, and bandwidth limits.
Learn to emulate geolocation in Selenium 4 using CDP commands, updating latitude and longitude to test location-based behavior.
Learn to emulate geolocation in Selenium tests by using DevTools to set geo location, latitude, longitude, and accuracy, enabling region-based testing across multiple locations.
Learn to emulate offline network conditions in automated tests using DevTools with Selenium WebDriver in Java.
Interception of web network traffic using selenium devtools to block images and css assets, observe how the application behaves, and validate the network impact on the application.
Learn to send an email from Java Selenium tests after all tests finish, reporting pass or fail using the common-email jar and Gmail SMTP with SSL, port 465.
Learn to connect selenium tests to a database using jdbc by loading the driver, using driver manager get connection, creating a statement, executing a query, and processing the result set.
Configure log4j in selenium scripts to log to both console and file using a properties file, defining root logger, appenders, and layout with logger.info messages.
Learn how to bypass SSL and untrusted certificate errors in Selenium WebDriver for Java by configuring Chrome options to accept insecure certificates, enabling automation tests on sites with invalid certs.
Learn an alternative way to bypass SSL certificate prompts in IE and Edge by using JavaScript to click a hidden go onto the web page link, avoiding browser option limitations.
Learn to manage cookies in selenium for authentication and session continuity by saving cookies to a file and reloading them across sessions with driver.manage().getCookie(s) and addCookie.
Explore selenium architecture, including the Jason Wright protocol, the selenium server, and browser drivers. See how driver.get becomes an adjacent payload sent via the rest api to the browser.
Learn how the Document Object Model is a cross-platform API that represents a web page as a tree, and how Selenium uses it to interact and handle refreshes.
Discover visual testing with Applitools in Selenium projects for Java, using Eyes Open, checkpoints, and image comparisons to catch UI shifts.
Read data from an Excel file in Selenium using Java by loading the jar and creating a workbook from a file input stream, then read rows and cells.
Discover how to write to an Excel file with Selenium in Java by creating a workbook and sheet, setting cell values, and saving via a file output stream.
Design a Selenium framework from scratch with the page object model, including login and home pages, locators, a base class, page and test classes, plus config and data utilities.
Explore the devops pipeline and its tools, including request management, defect management, test case management, artifact repositories, and orchestration with Jenkins or Bamboo, plus code analysis for quality.
Learn to deploy a Selenium framework jar to a Nexus artifact repository, and configure snapshot, release, central, and group repositories for seamless binary distribution.
Learn to use SonarQube and SonarLint to analyze selenium code in java, enforce best practices, and improve quality via Jenkins integration and centralized reports.
Install and configure TestNG in eclipse, create a new java project with a test class and @Test methods, and run tests via TestNG or the generated excel suite.
Explore TestNG annotations such as before method and after method to streamline setup and teardown in Selenium WebDriver tests, including browser initialization and Google navigation.
Learn how to control test execution order in TestNG by using the priority attribute on test methods, with zero as default and negative numbers running earlier.
Learn to organize test cases with TestNG groups to run smoke or regression subsets, control execution via include name, and view results in default reports.
Learn how to set dependencies between test methods in TestNG using dependsOnMethods, ensuring a method runs only after its prerequisite method succeeds.
Learn how to use the invocation count attribute in TestNG to rerun test cases, as shown with z three times and y two times, and view results in reports.
Learn how TestNG data providers run a single test method multiple times with different inputs, using a two-dimensional data set—hardcoded or Excel sourced.
Learn how to implement cross browser testing and parallel execution in TestNG by parameterizing the browser, configuring Chrome and Gecko drivers, and running tests on Chrome and Firefox concurrently.
Discover how to use listeners in TestNG to customize test behavior, implement a simple listener, override methods, and print start and failure messages to the console. Apply suite level listeners.
Learn to run separate test suites, regression and smoke, by configuring distinct TestNG.xml files in Eclipse with run configurations, then execute via Jenkins or Maven parameters.
Learn how to run and read failed test cases using xml report files, including manual and automated approaches with a test engine and runner in Selenium WebDriver with Java.
learn to rerun failed selenium tests with a retry analyzer in TestNG, implementing IRetryAnalyzer and a suit-wide listener to retry up to two times.
Learn to create custom reports in TestNG for Selenium WebDriver tests, with and without an IReporter listener, by building a custom report file and updating results after each test.
Have a Passion of learning Selenium Webderiverbut have no coding knowledge ? I will fulfill your wish with my easy teaching
This is a full length series which will teach you each and everything you needed in Selenium Webderiver.After going through this series you will able to write any code in Selenium Webderiver and can write from very basic to advance program in Selenium Webderiver.You can also go through the interview series which will help you to crack the interview.
This Course includes real time projects with practical Solutions for the Robust Selenium Webderiver Framework building
We assume that students have no experience in automation / coding and start every topic from scratch and basics.
Examples are taken from REAL TIME HOSTED WEB APPLICATIONS to understand how different components can be automated.
Other courses i offer on udemy
Selenium Webderiver | Selenium Testing Framework | Appium | REST Assured | RESTful API | RESTful Web Services | Devops | Jenkins | Apache Maven | Python | Docker | Jmeter | Coding Interviewes