Creating End to End Tests With Cucumber and WebDriver
4.2 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
47 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Creating End to End Tests With Cucumber and WebDriver to your Wishlist.

Add to Wishlist

Creating End to End Tests With Cucumber and WebDriver

Learn how to write automated end to end tests using Selenium WebDriver and Cucumbe in under an hour
4.2 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
47 students enrolled
Created by Matthew Casperson
Last updated 2/2017
English
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 1 hour on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • 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
View Curriculum
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 is the target audience?
  • This course is for web application testers and developers who want to write end to end tests
Students Who Viewed This Course Also Viewed
Curriculum For This Course
+
Jumping Into Iridium
1 Lecture 01:53

In this lecture we dive straight in and launch a test. This is a great demonstration of how easy it is to run end to end tests, and gives students an idea of what they will be able to achieve by the end of the course.

Preview 01:53
+
The Iridium Ecosystem
7 Lectures 06:17

Before we can begin writing end to end tests it is important to understand the technologies that are used and how they interact. This section introduces each of the technologies that make up end to end tests, which are: Java, Java Web Start, Gherkin, Cucumber, Selenium WebDriver and Iridium.

Preview 00:17

This lecture talks about Java and how it is used by Iridium to power the testing process.

Preview 00:29

Java Web Start allows test writers to distribute their tests with ease. In this lecture students will see what web start is and how it works.

Preview 02:09

In this lecture we will explore how Gherkin allows tests writers to create tests that can be read by anyone.

Preview 00:55

In this lecture students will learn what Cucumber is, and how it relates to Gherkin and Selenium WebDriver.

Preview 00:44

In this lecture students will learn what Selenium WebDriver is, and how it relates to Cucumber.

Preview 00:35

In this final lecture students will learn how Gherkin, Cucumber and Selenium WebDriver are brought together with Iridium to produce a single solution that allows test writers to focus on writing end to end tests.

Preview 01:08

The Iridium Ecosystem
3 questions
+
Installing Prerequisites
2 Lectures 02:43

Iridium has a number of prerequisites applications that need to be installed before students can start writing tests. This section will show you where to download these applications, and how to configure them.

Preview 00:12

In this lecture students will learn where to download and how to configure Chrome, Java 8 and Atom.

Preview 02:31
+
Getting Started With Test Writing
3 Lectures 04:38

It's time to start writing tests! In this section students will replicate the steps that were demonstrated in the first video on the demo website TicketMonster.

Preview 00:12

What is TicketMonster, and why was it chosen to to demonstrate end to end tests? This lecture will answer these questions.

Preview 00:31

At this point students have learned enough theory to write and launch their first test. In this lecture students will complete the process of writing a test, creating a web start file, and launching the test against a live web application.

Preview 03:55
+
Identifying Elements in a Web Application
3 Lectures 05:12

Being able to identify an element within a web application is critical to writing end to end tests. This section introduces browser developer tools, HTML and CSS, and discusses how these concepts are used when writing tests.

Identifying Elements Overview
00:16

This lecture introduces the Chrome developer tools, which are provided as part of the Chrome web browser to support developers and testers.

What Are Developer Tools?
01:32

HTML and CSS are critical concepts to understand before writing complex end to end tests. This lecture looks at what HTML and CSS are, and how students will inspect the HTML and CSS of a web application using the Chrome developer tools.

What is HTML and CSS?
03:24

Identifying Elements in a Web Application
2 questions
+
Aliases
2 Lectures 02:02

Aliases are an important feature of Chrome which allow testers to write tests that are easy to read and maintain.

Aliases Overview
00:25

In this lecture students will learn how to add aliases to their test scripts, and see why using aliases is so important.

Using Aliases in a Test Script
01:37

Using Aliases
1 question
+
Completing the Test
2 Lectures 11:15

It is time to replicate a complete journey through TicketMonster!

Completing the Test Overview
00:23

In this lecture students will replicate a complete end to end journey through a web application.

Completing the Test
10:52
+
Adding Verifications
3 Lectures 10:51

Replicating a end user's actions is only half the story. In this lecture we will look at using Iridium to verify data generated by a web application.

Verifying Data Overview
00:25

Regular expressions are a powerful tool for matching text. In this lecture students will learn the basics of regular expressions, and learn how to use free online tools for experimenting with matching text using regular expressions.

What are Regular Expressions?
03:50

This lecture will wrap up the end to end test by adding verification of the data generated by the TicketMonster web application.

Verifying Data in a Web Application
06:36
+
Running Iridium From the Command Line
2 Lectures 06:02

This lecture introduces a new way to launch Iridium using the command line.

Command Line Overview
00:20

In this lecture we'll look at how to build up a command that can be used to run Iridium in both PowerShell and Bash.

Running Iridium in PowerShell and Bash
05:42
About the Instructor
Matthew Casperson
4.2 Average rating
13 Reviews
47 Students
1 Course
Lead developer on Iridium - http://iridiumtester.com

I have loved technology since my first Commodore 64, and that passion remains to this day. By day you'll find me integrating enterprise platforms with Camel, securing applications against common exploits, exposing services via RESTful interfaces, migrating infrastructure to the cloud, training my fellow developers, and refactoring legacy code. By night I'm playing with bleeding edge open source projects and contributing to the popular online developer portal DZone, and probably studying for my next exam to ensure that I am always on top of my game.

I am a 5 star published author, and have written code that Red Hat felt was worthy of being submitted for a patent. CEOs endorse my development skills.

Although I call myself a developer, I am quite comfortable administering a Linux server, managing a MySQL database, deploying infrastructure with Ansible, reconfiguring a firewall or just doing what needs to be done to get job finished.

To ensure that I am learning the industry's best practices, I push myself to gain certification in technologies that I rely on. Since 2012 I have completed one or more certifications a year, with Oracle proudly telling me "You are among the elite 1% of certified Java professionals who have gone on to achieve the Java Enterprise Architect certification."