Introduction to Selenium & Selenium Web Testing

Introduction to Selenium is a hands-on web testing course, essential for experienced web developers and test engineers who need to verify web applications. This course introduces the student to the...

Read More
$1,995 USD GSA  $1,935.70
Course Code TT3610
Duration 3 days
Available Formats Classroom, Virtual
7095 Reviews star_rate star_rate star_rate star_rate star_half
Course Image

Introduction to Selenium is a hands-on web testing course, essential for experienced web developers and test engineers who need to verify web applications. This course introduces the student to the concepts and techniques of testing Web Application with the Selenium and Java. This hands-on class focuses on practical skills and best practices to ensure the student learns the ins and outs of Web Application testing with Selenium and Java. Selenium provides mechanisms for interacting with web pages through browsers, including locating and interacting with specific features within a web interface. A tool such as Selenium IDE or Katalon can be used to perform the testing in a relatively manual fashion. Selenium also comes with WebDriver, which provides a programmatic interface (API) for controlling and managing Selenium tests and interactions. WebDriver provides a mechanism for capturing and repeating tests with a web interface. In order to use WebDriver, developers must work with a programming language such as Java in order to control and manage the testing. This course focuses on using WebDriver and Java to control and manage the Selenium tests. As such, incoming students must know Java basics in order to design and implement WebDriver-based tests. There is no training on Java in this course. The materials progress through an introduction of JUnit and how Java and JUnit are used in conjunction with Selenium. That lesson is not intended to replace or provide the basic Java knowledge that is a pre-requisite for this course.

Skills Gained

Working in a hands-on environment led by our expert practitioner students will:

  • Understand web page testing needs and how Selenium meets those needs
  • Analyze a web application from a functional and testing perspective
  • Design, code, and run manual tests using the Katalon Recorder
  • Use Selenium constructs to locate elements on a web page
  • Test web page forms and the elements in those forms
  • Use test suites to organize and manage tests
  • Review Java constructs needed to by testers in working with WebDriver
  • Design code and run automated Selenium tests using the Java WebDriver API
  • Use the WebDriver API to test advanced web features such as delayed responses and Ajax
  • Using a combination of JUnit 5 features and WebDriver to consume streams of data for testing
  • Focus on Best Practices for Selenium testing using the Java WebDriver API

Who Can Benefit

This is an introductory -level Selenium course, designed for experienced web developers that are familiar with Java, who wish to get up and running on testing web applications. Ideally students should have approximately 6 months to a year of web development working knowledge.

  • NOTE: For some of the labs, attendees should have some familiarity with basic Java syntax prior to attending this class. Basic Java fundamentals are NOT covered this course. For attendees light on Java skills, code may be copied and pasted to complete those exercises.

Prerequisites

We recommend attendees have the skills in the course listed below, or attend this course as a pre-requisite:

  • TT2190: Basic Java Primer for Selenium Users

Course Details

Session: Selenium Basics

Lesson: Introduction to Selenium

  • Selenium Concepts and Terminology
  • Manual Testing using Selenium and the Katalon Recorder
  • Automated Testing using Selenium WebDriver
  • Exercise: Running the Web Application

Lesson: Using the Katalon Recorder

  • Start Katalon Recorder
  • Understand the components of Katalon Recorder
  • Use Web Developer Inspector to inspect elements in a web page
  • Exercise: Analyzing the Web Application

Lesson: Creating and Running a Manual Test

  • Testing planning and Test Plans
  • Use Katalon Recorder to create and run a manual test
  • Understand the Katalon Recorder components
  • Page Transitions and Globbing
  • Exercise: Creating and Running a Manual Test
  • Exercise: Testing Alerts

Session: Testing with Java and Selenium WebDriver

Lesson: JUnit 5 for Selenium

  • Aspects of JUnit that are relevant for Selenium testing
  • Understand the basics of testing with JUnit constructs
  • Working with Java and JUnit for managing and running tests
  • Demo: JUnit
  • Exercise: Reapply JUnit
  • Walkthrough: Using JUnit with Selenium

Lesson: Selenium WebDriver

  • Working with WebDriver in Java
  • Finding Spots on Web Pages
  • Working with different browsers
  • Built-In Locators
  • Exercise: Creating and Running a WebDriver Test
  • Exercise: Testing with Other Browsers
  • Exercise: Working with WebDriver Locators
  • Exercise: Adding WebDriver Tests

Lesson: WebDriver Deep Dive

  • WebDriver Commands for working with forms
  • Working with complex form components
  • Taking screenshots
  • Working with alerts
  • Exercise: Testing Forms using WebDriver
  • Exercise: Screenshots

Lesson: Advanced WebDriver

  • Use WebDriver to work with windows, tabs and iframes
  • Utilize Actions class for mouse and keyboard actions
  • Testing file uploads and downloads
  • Testing AJAX elements
  • Waiting for events to happen
  • Feeding data sets into a testing sequence
  • Exercise: Testing Wait Styles

Session: Selenium Practices and Processes

Lesson: Selenium Best Practices

  • Preparation
  • Managing Names
  • Multiple Browser Testing
  • High Quality Tests and Test Plans
  • Using Whitespace
  • Efficient Operations
  • Establish Selenium Standards

Lesson: Testing Strategies and Patterns

  • Types of web application tests
  • Strategies for locating elements
  • Wrapping Selenium calls
  • User interface maps
  • Exercise: Using Delayed Exceptions
  • Exercise: Automated Running of Multiple Test Cses
  • Exercise: Testing the Bank Web Application

Time Permitting: More Manual Testing with Katalon

Lesson: Selenium Locators

  • Finding Spots on Web Pages
  • Built-In Locators
  • Find by HTML Features
  • Find using CSS
  • Find using XPath and the DOM
  • Exercise: Working with Locators

Lesson: Selenese

  • Selenese Overview
  • Selenese Commands
  • Action Commands
  • Accessor Commands
  • Assertion Commands
  • Exercise: Working with Selenese

Lesson: Forms

  • Selenese Commands for Working with Forms
  • Form Actions
  • Text Form Actions
  • Keys
  • Button Form Actions
  • Other Actions
  • Exercise: Testing Form
Contact Us 1-800-803-3948
Contact Us
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward