Introduction to Selenium and Selenium Web Testing

Learn to Analyze Web Applications, Test Web Page Elements, Perform Unit Testing, Work with Selenium WebDriver API and More

TT3610

Introductory

3 Days

Course Overview

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.

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, you should have some 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.

Course Objectives

Students who attend Introduction to Selenium will leave the course armed with the skills required to recognize how to test web applications for sufficiency.  This course uses Selenium and the WebDriver interface to design and implement tests.  The student will 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 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

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional testing, Selenium, Cucumber, Gherkin, Python, TDD, BDD, programming, testing tools, test automation, QA, services, security and other related topics that may be blended with this course for a track that best suits your needs. Our team will collaborate with you to understand your needs and will target the course to focus on your specific learning objectives and goals.

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

Please see the Related Courses tab for specific Pre-Requisite courses, Related Courses that offer similar skills or topics, and next-step Learning Path recommendations.

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We will work with you to tune this course and level of coverage to target the skills you need most.

Session: Selenium Basics

Lesson: Introduction to Selenium

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

Lesson: Using Katalon Recorder

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

Lesson: Creating and Running a Manual Test

  • Testing planning and Test PlansUse Katalon Recorder to create and run a manual test
  • Understand the Katalon Recorder 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
  • Verify vs Asserting
  • Delayed exception handling
  • 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

Course Materials

All course software (limited versions, for course use only), courseware files, labs and solutions, data sets and resources (as applicable) are provided for you in our “easy access / no install required” high-speed remote lab environment.  In most cases, we can also offer local (non-cloud) set up as an alternative. Either way, our dedicated live tech team works with every student to ensure everyone is set up with working access and ready to go prior to every course start date, ensuring a smooth delivery and great hands-on experience.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Attend a Course

Please see the current upcoming available open enrollment course dates posted below. Please feel free to Register Online below, or call 844-475-4559 toll free to connect with our Registrar for assistance. If you need additional date options, please contact us for scheduling.

Course Title Days Date Time Price
Introduction to Selenium and Selenium Web Testing 3 Days Jun 9 to Jun 11 10:00 AM to 06:00 PM EST $2,195.00 Enroll
Introduction to Selenium and Selenium Web Testing 3 Days Jun 21 to Jun 25 09:00 AM to 01:00 PM EST $2,195.00 Enroll
Introduction to Selenium and Selenium Web Testing 3 Days Jul 12 to Jul 16 02:00 PM to 06:00 PM EST $2,195.00 Enroll
Introduction to Selenium and Selenium Web Testing 3 Days Jul 28 to Jul 30 10:00 AM to 06:00 PM EST $2,195.00 Enroll
Introduction to Selenium and Selenium Web Testing 3 Days Aug 9 to Aug 13 09:00 AM to 01:00 PM EST $2,195.00 Enroll

New Site, BIG Savings!
We're celebrating the launch of our lonnngggg awaited new site with with *50% off all 2021 Public Classes* booked by April 30!  Check out our Current Offers for Individuals, Teams and Organizations to Learn for Less!

See our latest Offers and Promotions

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More