Protractor: End to End testing framework for AngularJS Apps
What is Protractor?
The Protractor is an automation testing tool for web applications testing; combining powerful technologies such as Jasmine, Selenium Webdriver, Node.js etc.
The Protractor testing tool is an end to end behavior-driven testing framework designed keeping Angular JS applications in mind. Even though that might sound like Protractor won’t work with non-angular JS applications, it does.
It works with both Angular and non-Angular JS applications equally well
Requirements
- Basic understanding of Javascripting
Course Content:
Course introduction
- Introduction to Protractor course
- Pre-requisites
- Installing JDK and Node.JS
- Installing Protractor on Windows
- Troubleshooting with Python installation error
- Installing Python
- Troubleshooting with Visual studio installation error
- Running the first Protractor Test
- Installing Eclipse and Turn plugin
- Understanding the Conf.js file
- Understanding Describe and It blocks and writing test cases
- Handling Dropdown list
- Adding validations using Jasmine Expect
- Handling Dropdown list - code
- WebStorm Installation and integrating Protractor runner
- Autosuggestions
- Introduction to Jasmine and basic features
- BeforeEach and AfterEach
- Expect toBe and not toBe
- Expect toEqual, toMatch and not toEqual
- Creating Test Suites and running selective / all test cases
- Creating Test Suites and running selective / all test cases - code
- About AngularJS Locators
- By Model, By ClassName, By ButtonText
- By Model, By ClassName, By ButtonText - Code
- By Binding, By ID
- By Binding, By ID - Code
- By Repeater
- By Repeater - Code
- By addLocators
- By addLocators - code
- Select Wrapper class
- Select Wrapper class - Code
- Generating Logs - winston NPM
- Generating Logs - winston NPM - Code
- Generating Allure Reports
- Installing Maven and Generating HTML Reports
- Sending Emails
- Sending Emails - Code
- Understanding Package.json file and it's usage
- Reading data and locators through JSON files
- Reading data and locators through JSON files - Code
- Parameterization using Jasmine Data Providers
- Parameterization using Jasmine Data Providers - Code
- Reading Excel Files
- Reading Excel Files - Code
- Automating Customer Login
- Automating Bank Manager Login
- Banking App Code
- Introduction to Page Object Model
- Creating Architecture and Adding business pages
- Adding More Business Page and Test Cases
- Adding the Page Object Model design pattern
- Adding common Json file for Locators and TestData
- Project Code
- Automating a Login window
- Automating a login window - code
- Handling tabs and popups
- Handling tabs and popups - code