651-905-3729 Microsoft Silver Learning Partner EC Counsel Reseller compTIA Authorized Partner

Introduction to Selenium and Selenium Web Testing

3 Day

Description

NOTE: This course is only available by customer request. If you are interested in taking this course, please call 651-905-3729 or submit a request for a date.

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 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.

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 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. 

To participate in the hands-on labs, incoming students should have familiarity with basic Java syntax. Students without basic Java background are welcome to follow along with the labs and cut and paste code or lab solutions as needed.

Throughout the course you’ll work with a sample Web Application that requires several testing scenarios. Working in a hands-on learning environment, guided by our expert team, attendees will learn to:

  • 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 Selenium IDE
  • Use Selenium constructs to locate elements on a web page
  • Test web page forms and the elements in those forms
  • 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

 

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Introduction to Selenium and Selenium Web Testing class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

Session: Selenium Basics

Lesson: Introduction to Selenium

  • Introduce Selenium
  • Selenium Concepts and Terminology
  • Manual Testing using Selenium
  • Automated Testing using Selenium WebDriver
  • Tutorial: Selenium Lottery Application
  • Lab: Analyzing the Web Application

Lesson: Using The Selenium IDE

  • Start the Selenium IDE
  • Understand the components of the Selenium IDE
  • Use Web Developer Inspector to inspect elements in a web page

Lesson: Creating and Running a Manual Test

  • Testing planning and Test Plans
  • Use Selenium IDE to create and run a manual test
  • Understand the Selenium IDE components
  • Page Transitions and Globbing
  • Lab: Creating and Running a Manual Test
  • Lab: 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
  • Tutorial: Setup JUnit 5 Project library in IntelliJ
  • Lab: Demo: Using the JUnit Framework with Selenium

Lesson: Selenium WebDriver

  • Working with WebDriver in Java
  • Finding Spots on Web Pages
  • Working with different browsers
  • Built-In Locators
  • Lab: Testing with Other Browsers
  • Lab: Working with WebDriver Locators
  • Lab: Adding WebDriver Tests

Lesson: WebDriver Deep Dive

  • WebDriver Commands for working with forms
  • Working with complex form components
  • Taking screenshots
  • Working with alerts
  • Lab: Testing Forms with WebDriver
  • Lab: 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
  • Lab: Testing Wait Styles

Session: Selenium Best 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
  • Lab: Using Delayed Exceptions
  • Lab: Automated Running of Multiple Test Cases

Session: Next Steps with Selenium

Lesson: Page Object Model (POM)

  • Need for POM
  • What is POM
  • Implementing POM
  • Using Object Repositories
  • Page Factory
  • Lab: Building Page Object Models
  • Lab: Build an Object Repository
  • Lab: Using PageFactory

Optional / Time Permitting: Testing with the Katalon Recorder and Selenium

Lesson: Selenium Locators

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

Lesson: Selenese

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

Lesson: Forms

  • Selenese Commands for Working with Forms
  • Form Actions
  • Text Form Actions
  • Keys
  • Button Form Actions
  • Other Actions
  • Lab: Testing Forms Using Katalon Recorder

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Introduction to Selenium and Selenium Web Testing class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

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.

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

  • Basic Java Primer for Non-Developers (QA, testers, etc) – 2 days

 

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Introduction to Selenium and Selenium Web Testing class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date