Tutorial hub

Selenium Tutorials

Selenium WebDriver and automation testing notes for practical QA preparation.

Learning path

32 lessons and references

Browse the curated chapter list and continue directly into the topic you want to study.

Action Class in Selenium This class performs operations on keyboard and mouse events. Like refresh, double click, mouse over etc. It exists in the package ‘org.openqa.selenium.interactions’. Apache Tomcat Webserver Apache Tomcat version 8.5 includes many features that make it a useful platform for developing and deploying web applications and web services. Assertion in TestNG (Selenium) An assertion is used to compare the actual result and excpected results. Assertion is considered to be met if actual result of an application matches with expected result. Continuous Integration– Jenkins in Selenium Jenkins is cross-platform and can be used on Windows, Linux, Mac OS and Solaris environments. Jenkins is written in Java. Cucumber in Selenium Cucumber is testing approach which supports Behavior Driven Development (BDD). It explains the behavior of application in simple English text using Gherkin language. Dynamic XPath in Selenium Dynamic XPath is also called as custom XPath and it is one way to locate element uniquely. XPath is defined as XML path. Eclipse Configuration When you start the eclipse for the first time, it will open Workspace Launcher as the startup window which shows the location of the workspace folder. Excel Sheet Operations in Selenium Excel sheets are used for storing test data. We can read and write on Excel file with the help of Java IO package and Apache POI library. Exploring TestNG xml File in Selenium In TestNG Framework, we need to create Testng xml file to create and handle multiple test classes. Handling Emails in Selenium Email code is required for anything when we want to send someone our content be it our test case results or anything of the sorts. Handling Web Tables in Selenium This requires some knowledge of HTML table. The table is the main tag where we have rows <tr>, and one row can have many columns <td>. Html & CSS working in Selenium HTML is the standard markup language for creating Web pages. And CSS describes how HTML elements are to be displayed on screen, paper, or in other media. Integration of Maven/TestNG/Jenkin/Selenium In this chapter, we will learn how to integrate Maven/TestNG/Jenkin/Selenium together. But we need to have knowledge of Maven, TestNG, Jenkins and Selenium. Introduction to Selenium Selenium is one of the most widely used open source Web UI automation testing suite. It was developed by Jason Huggins in 2004 as an internal tool at Thought Works. Java Database Connectivity (JDBC) To use Selenium Webdriver for Database Verification you need to use the JDBC. JDBC (Java Database Connectivity) is a SQL level API that allows you to execute SQL statements. Javascript working in Selenium Javascript is a client side scripting language. Java script follows DOM. We can do validations with the help of javascript. Keyword Framework in Selenium Read this tutorial chapter from The Kiran Academy learning library. Listeners for TestNG in Selenium Listener is defined as interface that modifies the default TestNG Listeners in Selenium Listener is defined as interface that modifies the default TestNG Locators in Selenium Locators find and match the elements that it needs to interact with. It tells Selenium IDE which GUI elements (TextBox, Button, etc) it needs to operate on. Log4j in Selenium log4j controls logging behavior by editing a configuration file only without touching the application binary. It is used to store Selenium Automation flow logs. Maven use in Selenium Maven is a powerful project management tool that is based on POM (project object model). It is used for projects build, dependency and documentation. Miscellaneous Selenium Scenarios Miscellaneous Selenium Scenarios includes Alerts and Popup, Frames, Screen Shot, Handling Dropdown, SSL certificate, Profile of WebDriver,etc. MySQL Queries in Selenium MySQL Queries on Database level and Table level with examples insert statement, select statement, update statement, delete statement, use database, keys, joins etc. Page Object Model(POM) in Selenium Page Object Model(POM) is used to create Object Repository for web UI elements. For each web page in application, there should be corresponding page class. Parameterization to Test Cases in Selenium To pass multiple data to the application at runtime, we need to parameterize our test scripts. This concept is called Data Driven Testing. Properties File in Selenium In Selenium properties files are mainly used to store GUI locators/elements, and also Global fields like database configuration details. Reports Generation in TestNG Selenium Report generation is very important when you are doing the Automation Testing as well as for Manual Testing. Report helps to know what is the status of project. Robot class & Auto IT in Selenium Robot Class simulates Keyboard and Mouse Event. AutoIt v3 uses combination of mouse movement, keystrokes and window control manipulation to automate a task. Selenium Grid Selenium Grid is a part of the Selenium Suite that specializes in running multiple tests across different browsers, operating systems, and machines in parallel. Synchronizing Test with Wait in Selenium In Selenium, TestNG working in Selenium TestNG is for writing test cases and getting reports in selenium. We can integrate testNG with various other in built frameworks like Maven, Jenkins Etc.

Learn with mentors in Pune, Nagpur or live online.

Go beyond self-study with classroom and live online training, project practice, mock interviews and placement support.

Talk to Counsellor