Learn Protractor (Angular Automation Tool) from Scratch

Video Description

Step by Step Protractor Tutorial in building scripts till framework level along with Node.js+Javascript+Jasmine basics

About This Video

  • Learn to design Protractor frameworks from scratch using Jasmine unit testing techniques.
  • Master the Protractor API and automate any Angular/non-Angular apps.

In Detail

This course will take you on a journey to master the Protractor API and automate any Angular/non-Angular Apps. You'll explore Protractor frameworks in depth and learn to design one from scratch using Jasmine testing techniques.

Publisher Resources

Download Example Code

Table of Contents

  1. Chapter 1 : Introduction
    1. Understand the importance of Protractor 00:13:20
    2. Why Node.js? Install Node 00:12:17
    3. Install Protractor with Webdriver plugin 00:10:35
  2. Chapter 2 : Getting started with Protractor
    1. Install JavaScript Eclipse Tool for Protractor tests 00:13:12
    2. Introduction to Jasmine and its terminologies 00:17:43
    3. Importance of Configuration file in protractor framework 00:10:04
    4. Creating Protractor TestRunner file to run the scripts 00:15:39
    5. Install Angular JS plugin and convert to intern project 00:05:34
  3. Chapter 3 : Deeper Understanding of Protractor Promises and its working mechanism
    1. JavaScript Asynchronus and its problem with Protractor 00:09:08
    2. Importance of Promises and how its solves Asynchronous issue 00:15:28
    3. Understand how protractor inbuilt takes care of promise 00:11:22
  4. Chapter 4 : JavaScript Basics
    1. Basics of JavaScript 00:08:08
    2. JS conditional statements -If else 00:07:39
    3. JavaScript loops - for with example 00:09:59
    4. JavaScript while and do while -example 00:11:18
    5. Understand JS functions and its usage 00:05:58
    6. Importance of JavaScript arrays with example 00:19:23
    7. JavaScript String functions with examples 00:12:42
  5. Chapter 5 : Getting Started with Protractor Tests
    1. Understand Global variables of Protractor 00:12:25
    2. Usage of Protractor locators - 1 00:18:54
    3. Usage of Protractor locators - 2 00:21:21
    4. Jasmine assertions to validate Protractor tests 00:09:47
    5. Running Protractor tests on Firefox and Internet Explorer 00:14:29
    6. Running Protractor tests on Non Angualr Sites 00:06:13
  6. Chapter 6 : Deep dive into Protractor Core API
    1. Importance of chain locators with example 00:17:20
    2. Chain locators to identify Child elements-Example 00:07:34
    3. Getting the list of Elements with All method in Protractor 00:19:20
    4. Practise exercises on All and chain locators 00:07:26
    5. Handling list of dropdown options with example 00:15:55
  7. Chapter 7 : Advanced Concepts of Protractor
    1. Actions and its importance in the Angular UI 00:13:12
    2. Examples of handling Autocomplete dropdowns with Actions 00:16:15
    3. Handling child windows with Protractor 00:08:20
    4. Examples on validating child windows with Switch Mechanism 00:07:10
    5. Handling Java Alerts with Protractor 00:14:57
    6. What are Frames? Methods to handle in Protractor 00:13:16
    7. Handling synchronization with Protractor 00:21:23
  8. Chapter 8 : Practise project to develop Protractor tests
    1. Demo project walkthrough 00:06:56
    2. Submission of Forms with various Protractor locators 00:19:03
    3. Validating Angular error messages - example 00:11:47
    4. Handling dynamic sections with Protractor 00:18:50
    5. Practice Exercises on selecting items to cart- 00:14:37
    6. String functions to extract count of cart items 00:11:53
  9. Chapter 9 : Protractor Framework building from Scratch - 1
    1. What are JavaScript objects and importance of it 00:12:28
    2. Accessing the java objects from another JS file 00:13:18
    3. Page object Mechanism for Protractor tests 00:12:04
    4. Driving the Page objects with setup&TearDown methods 00:11:15
    5. OnPrepare functionality in Configuration file for preloading the data 00:06:48
    6. Understanding the importance of Package.json file 00:10:00
    7. Package.json configuration properties -1 00:09:44
    8. Defining Scripts configuration in Package.json to eliminate eclipse testRunner 00:13:26
    9. npm commands to trigger Test Suites 00:09:23
  10. Chapter 10 : Protractor Framework building from Scratch - 2
    1. Introduction to Datadrive testing with Jasmine 00:11:05
    2. jasmine Dataprovider format in defining the data 00:10:37
    3. Eliminating data hardcoding in the scripts with Jasmine Dataprovider 00:14:02
    4. Generating excellent client reports for Protractor tests 00:11:07
    5. Tags configuration to control test scripts execution 00:20:08
  11. Chapter 11 : Protractor Framework building from Scratch - 3
    1. Introduction to Jenkins 00:13:07
    2. Configuring Jenkins job with protractor tests 00:10:12
    3. Scheduling Protractor Jenkin job for continuous Integration 00:12:40
  12. Chapter 12 : Understanding Version Control System GIT (Bonus Section)
    1. Introduction to GIT 00:08:41
    2. Importance of Github and its uses 00:09:06
    3. Creating Git config and repositories 00:08:40
    4. How to push code to remote repository 00:01:41
    5. Understanding Staging and commit in git 00:11:35
    6. Add remote repository and push the committed code 00:08:54
    7. End to end working example on Git commands -1 00:15:49
    8. End to end working example on Git commands -2 00:06:15
    9. Importance of Branching in GIT 00:24:55
    10. How to resolve Merge conflicts with GIT 00:14:18

Product Information

  • Title: Learn Protractor (Angular Automation Tool) from Scratch
  • Author(s): Rahul Shetty
  • Release date: August 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789613261