End-to-end JavaScript testing with Protractor
3.4 (50 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.
282 students enrolled
Wishlisted Wishlist

Please confirm that you want to add End-to-end JavaScript testing with Protractor to your Wishlist.

Add to Wishlist

End-to-end JavaScript testing with Protractor

Uncover practical testing working with JavaScript and Protractor on a real project
3.4 (50 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.
282 students enrolled
Last updated 5/2016
English
Current price: $10 Original price: $50 Discount: 80% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 4.5 hours on-demand video
  • 8 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Create End-To-End tests using Protractor
  • Will work with node js and npm
  • Use Protractor on real project
  • Create scalable test suites
  • Make smart project organisation
View Curriculum
Requirements
  • Familiar with basic JavaScript
Description

This is a practical course which familiarise you with a JavaScript End-to-End testing and Protractor framework. We will start new project from scratch then create and organise code base. We will be thinking how to write tests, how to build project architecture, what can be improved in order to test automation. 

Section 1 Introduction: in this section we have 2 introduction videos which covers course content and E2E testing theory.

In Section 2 we will setup all the necessary environment in order to work with Node.js/npm/ and Protractor we verify that Protractor was installed on your machine and explain typical errors during installation. 

Section 3 we'll analyse application under test, touch 'params' and start writing first tests for our project i.e login test etc.

Section 4 shows us what we can Improve in our test and we are going deeply in advanced Protractor concepts. Also, we'll put project under source control - Git

Section 5 will be all about code organisation and Page Object pattern implementation. We'll write more test there. 

Finally, Section 6 shows advanced option that you can use with Protractor like cloud integration, directConnect, multiCapabilities, dotenv. Guidelines and best practices. 

Who is the target audience?
  • This course is for everyone who is interested in Protractor and JavaScript testing. From QA to developers. This is practical introduction how to use Protractor and get 100% from it. You can start use it in your project right now.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
59 Lectures
04:20:14
+
Introduction
2 Lectures 14:38

What is End-to-End Testing?
06:44
+
Setup new project and working enviroment
6 Lectures 19:42

Initialising empty project using node

NPM init
02:12

Global and local scope

Install Protractor
02:54

Verify Installation
01:13

Create first test
07:10

Error explanation
05:07
+
Application under test
11 Lectures 44:20

We'll take a look on application under test which is the most popular e-commerc store for hand made products

Preview 01:33

Rename config file
00:58


Modify first test using params
01:24

Fix ignoreSynchronization issue
01:18

Fix expectation - test complete!
03:13

How to use Firebug and Firepath
03:10

Create login test
05:25

Add helper module
10:11

Fix expect statement - login test
02:07

Create user registration test
13:55
+
Improving Tests
11 Lectures 32:28
Put under git
06:43

Fix ssh error
01:46

beforeEach and afterEach
03:21

Commit beforeEach and afterEach
00:57

Use npm scripts
03:44

Different path to Protractor
02:51

Add faker to the project
05:21

Working with 'Faker' library
03:16

Add readme.md
01:38

Add reference to homepage
01:08

Section summary
01:43
+
Page object pattern and more specs
17 Lectures 01:31:03
New cart spec
07:48

Run all tests
01:21

Add changes to git
01:02

Create search spec
10:07

Organise project structure
02:16

Fixing path after changes
03:57

How to run tests by suite
02:51

Page Object explanation
04:01

Implement Page Object
07:31

Avoid hardcoded values
02:14

Home page refactor
11:27

Creating functions
03:22

New login function
07:41

More tests and errors
15:01

Fixes and erros explanation
03:39

Move faker code to PO
05:34

Recap
01:11
+
Bonus topics and advanced protractor features
12 Lectures 58:03
Direct connect to the Chrome
05:31

Guidelines and best practices
06:59

Multi capabilities
04:37

Cloud Integration
05:09

Run tests in the cloud and dist
07:17

Install dotenv
01:10

Promises
11:26

Module exports
03:41

Fix failing suite
05:23

Extended suite
04:26

Fix error
01:11

Section Summary and next steps
01:13
About the Instructor
Oleksandr Hrishchuk
3.4 Average rating
50 Reviews
282 Students
1 Course
Software Engineer

Software Engineer with rich experience in Software Testing. 

I have a rich background QA and Software Testing which I was doing professionally for about 5 years before switching to full-stack software development position with React and Node.js. That position gives me an opportunity to uncover my natural curiosity and apply previous experience for building great modern software. Always eager to learn new things, share knowledge and mentor other Engineers.

For the moment I’m working with JavaScriptES6, webpack, npm scripts, Babel and React with Redux based on Node.js/Express serverDevelop React Native app for iOS and Android.