Book Image

Learn Protractor (Angular Testing) from Scratch with Framework [Video]

By : Rahul Shetty
Book Image

Learn Protractor (Angular Testing) from Scratch with Framework [Video]

By: Rahul Shetty

Overview of this book

With a sudden increase in demand for JavaScript frameworks and Angular applications, Protractor is turning out to be one of the hottest automation testing tools available in the market. This course will help you to get started with Protractor and will show you how easy it is to automate Angular applications. The course starts with an introduction to Protractor, explaining the basics and the installation process. Next, you will learn the JavaScript fundamentals and understand how to solve JavaScript asynchronous promises with Protractor. You will then learn the concepts of Protractor tests and core APIs and learn how to handle Angular User Interface (UI) elements, frames, and synchronization with Protractor. Moving along, you will learn the basics of TypeScript and dive into building the TypeScript-Cucumber framework using Protractor. Next, you will learn page object mechanism in the JavaScript framework and get an in-depth understanding of package.json files and npm commands. Later, you will learn to perform data-driven testing using the Jasmine framework and learn how to generate Protractor test reports for clients. Finally, you will learn the techniques to integrate the Protractor framework with the Continuous Integration (CI) Jenkins tool and get an overview of GitHub. By the end of this course, you will have complete knowledge of Protractor API needed to automate Angular and non-Angular applications. The code files are available here: https://github.com/packtpublishing/learn-protractor-angular-automation-tool-from-scratch
Table of Contents (22 chapters)
17
Framework Part 2 - Page Object Mechanism to Drive the Objects
20
Framework Part 5 - Generating Client Reports and Tagging for Protractor Tests
21
Framework Part 6 - Integrating Protractor Tests with the Jenkins Continuous Integration (CI) Tool
Chapter 12
Part 1 - Protractor with TypeScript-Cucumber Framework
Content Locked
Section 2
Understanding the package.json File and Getting the Dependencies of the Framework
This video explains the package.json file in detail and demonstrates how to get the dependencies of the framework.