Creating End to End Tests With Cucumber & Selenium WebDriver

Write and distribute end to end tests for web applications

Replicate a user’s journey through a web application in a end to end test

Inspect web pages to identify elements to reference as part of a end to end test

Use regular expressions to validate data presented by a web application

Requirements

  • A good knowledge of web browsers and a basic level of familiarity with installing software

Description

Testing is a critical to creating and maintaining quality software products. End to end testing gives you a high degree of confidence users of your web application will have the experience that you designed, but how do you actually write end to end tests? 

By completing this course you will learn the steps required to write end to end tests with Cucumber and Selenium WebDriver, with no coding required. Using free and open source technologies, anyone can start writing end to end tests in under an hour!

In this course you will learn how to replicate a user’s journey through your web application using “Given, When, Then” statements, how to inspect a web application to identify the elements that you need to reference in a test, how to use specialized editors to reduce the time it takes to write tests, and get tips on best practices.

Who this course is for:

  • This course is for web application testers and developers who want to write end to end tests

Course content

9 sections • 26 lectures • 51m total lengthExpand all sections

Jumping Into Iridium1 lecture • 2min

  • Running Your First Test With iridium01:53

The Iridium Ecosystem7 lectures • 6min

  • Iridium Ecosystem Overview00:17
  • What is Java?00:29
  • What is Java Web Start?02:09
  • What is Gherkin?00:55
  • What is Cucumber?00:44
  • What is Selenium WebDriver?00:35
  • What is Iridium?01:08
  • The Iridium Ecosystem3 questions

Installing Prerequisites2 lectures • 3min

  • Prerequisites Overview00:12
  • Installing Java, Chrome and Atom02:31

Getting Started With Test Writing4 lectures • 5min

  • Getting Started Overview00:12
  • What is TicketMonster?00:31
  • New Ticket Monster URL00:11
  • Writing and Launching a Simple Test03:55

Identifying Elements in a Web Application3 lectures • 5min

  • Identifying Elements Overview00:16
  • What Are Developer Tools?01:32
  • What is HTML and CSS?03:24
  • Identifying Elements in a Web Application2 questions

Aliases2 lectures • 2min

  • Aliases Overview00:25
  • Using Aliases in a Test Script01:37
  • Using Aliases1 question

Completing the Test2 lectures • 11min

  • Completing the Test Overview00:23
  • Completing the Test10:52

Adding Verifications3 lectures • 11min

  • Verifying Data Overview00:25
  • What are Regular Expressions?03:50
  • Verifying Data in a Web Application06:36

Running Iridium From the Command Line2 lectures • 6min

  • Command Line Overview00:20
  • Running Iridium in PowerShell and Bash05:42