Testing Automation with Protractor
What you'll learn
- How to install and configure Protractor
- How to write tests for different scenarios of a non-angular web application
- How to focus on what's more important first
- How to organize tests' pre-conditions
- How to protect sensitive information
- How to use a simplified version of the Page Objects pattern
- How to use other open-source libraries to help you write tests
- How to test file uploading
- How to deal with alerts
- How to run cross-browser testing in both headful and headless modes
- How to improve the test report on the terminal for CI
- How to report test results as an HTML page
- A mechanism for re-running tests to prove they're not flakey
- A feature to allow you to demo the tests you wrote
Requirements
- Be able to read and write JavaScript code
- Have nodejs, npm, and git installed on your computer
- Have Google Chrome and Mozilla Firefox browsers installed on your computer
Description
Welcome to testing automation with Protractor!
It's great to have you here. I'm pretty sure you're gonna love this course.
Web applications are always changing.
But changes here sometimes break things there, and vice-versa.
Automated tests can catch failures much faster than humans, and when well-architected, they serve as a safety net to push code to production when we see them all green.
Learn how to write end-to-end tests with the Protractor framework to test any kind of web application (even non-angular ones).
In this course, you'll learn:
How to install and configure Protractor
How to write tests for different scenarios of a non-angular web application
How to focus on what's more important first
Most important features
Making it work first and refactoring later
How to organize tests' pre-conditions
How to protect sensitive information
How to use a simplified version of the Page Objects pattern
How to use other open-source libraries to help you write tests
How to test file uploading
How to deal with alerts
How to run cross-browser testing in both headful and headless modes
How to improve the test report on the terminal for CI
How to report test results as an HTML page
A mechanism for re-running tests to prove they're not flakey
A feature to allow you to demo the tests you wrote
Have a great testing journey!
Who this course is for:
- QAs
- Testers
- Software developers
- Web developers
- CS students
- Anyone interested about end-to-end testing in JavaScript
Course content
- Preview03:50
- 01:10Protractor's installation
- 01:20Protractor's installation - exercise
- 02:34Configuring Protractor
- 02:52Configuring Protractor - exercise
- 01:20Configuring Protractor - extra credit 1
- 02:17Configuring Protractor - extra credit 2
- 01:06Configuring Protractor - extra credit 3
- 00:40Creating a test file
- 01:05Creating a test file - exercise
- 01:17Writing your first test
- Preview00:47
- Preview01:12
- 06:55Writing your first test - extra credit 2
- 03:42Writing your first test - extra credit 3
- 03:10Writing your first test - extra credit 4
- 02:42Meet the protractor-helper library
- 04:07Meet the protractor-helper library - exercise
- 01:49Protecting sensitive information
- 02:00Protecting sensitive information - exercise
- 00:57Increasing the test coverage
- 04:43Increasing the test coverage - exercise
- 00:58Testing alternative paths
- 08:26Testing alternative paths - exercise
- Preview05:46
- 02:17Testing alternative paths - extra credit 2
- 03:26Meet the Page Objects pattern
- 07:15Meet the Page Objects pattern - exercise
- 00:43Cross-browser testing
- 01:08Cross-browser testing - exercise
- 01:23Headless testing
- 11:16Headless testing - exercise
- 03:33Headless testing - extra credit 1
- 02:01Headless testing - extra credit 2
- 01:04Improving the test report on terminal
- Preview03:32
- 01:41HTML test report
- 08:17HTML test report - exercise
- 00:55Testing CRUD operations
- 10:49Testing CRUD operations - exercise
- 01:37Testing CRUD operations - extra credit 1
- 14:09Testing CRUD operations - extra credit 2
- 02:27A mechanism to ensure your tests are flakiness-free
- 01:58A mechanism to ensure your tests are flakiness-free - exercise
- 01:20Tests demonstrations
- 02:58Tests demonstrations - exercise
- 02:15Congratulations!
Instructor
Hi, I'm Walmyr Filho. I'm a software engineer that loves testing. I'm also a clean coder, blogger, YouTuber, writer, online teacher, mentor, speaker, an active member of the testing automation and JavaScript communities, and a fan of good music, tattoos, and skateboarding.
I've been working with software development focused on software testing since 2004 and since 2009 explicitly working with test automation.
Want to know more about me? Visit my website.