Course outline for Protractor and Karma
About Protractor and Karma
Pre-requisites for learning Protractor and Karma
- Participants must have good knowledge of web application development and Angular
- Participants must be comfortable with Jasmine testing framework
Lab Setup
- Hardware Configuration - Participants must have access to a system with the following hardware configuration:
- 2GB of free RAM, 20GB of free disk space and full network connectivity
- Software Configuration
- Ubuntu 20.04/22.04 Desktop Edition (sudo/root access required)
- Firefox and Chrome browsers
- Node.
Duration
- 2-5 days
Training Mode
Online training for Protractor and Karma
We provide:
- Instructor led live training
- Self-paced learning with access to expert coaches
- 24x7 access to cloud labs with end to end working examples
All jnaapti sessions are 100% hands-on. All our instructors are engineers by heart. Activities are derived from real-life problems faced by our expert faculty. Self-paced hands-on sessions are delivered via Virtual Coach.
Classroom training for Protractor and Karma
Classroom sessions are conducted in client locations in:
- Bengaluru
- Chennai
- Hyderabad
- Mumbai
- Delhi/Gurgaon/NCR
Note: Classroom training is for corporate clients only
Detailed Course Outline for Protractor and Karma
Introduction to Angular Testing
- Introduction to isolated unit tests
- Introduction to Angular testing
- Introduction to Karma
- Introduction to Jasmine
- Introduction to Protractor
Introduction to Karma
- Installation and Configuration
- Preprocessors and Plugins
- Command-line Interface
- Hello World in Karma
- Debugging Karma tests
Introduction to Jasmine
- Installation and Configuration
- Hello World in Jasmine
- Creating test suites using Jasmine
- Spies, Setup and Teardown using Jasmine
Introduction to Protractor
- Installation and Configuration
- Setting up Selenium Server
- Setting up the browser
- Using headless browsers
- Hello World in Protractor
- Interaction with one or more elements
- Working with Locators
- Introduction to Page Objects
- Debugging Protractor tests
Case Studies
- Testing basic component
- Testing component with dependency
- Testing component with async service
- Testing component with inputs and outputs
- Testing routed component