Course outline for Protractor and Karma
TechnologyAngular Testing with Protractor and KarmaDuration
* 2-5 days
LevelPrerequisites listed
About Protractor and Karma
Pre-requisites
- 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.
How we train
Online training for Protractor and Karma
- Instructor-led live cohorts
- Self-paced learning with expert coaches
- 24x7 cloud labs with end-to-end examples
All sessions are 100% hands-on. Labs and activities are derived from real-world work our engineers deliver.
Classroom training
Available for corporate teams in:
- Bengaluru
- Chennai
- Hyderabad
- Mumbai
- Delhi/Gurgaon/NCR
- Pune
Note: Classroom training is for corporate clients only.
Self-paced hands-on sessions are delivered via VirtualCoach.
Detailed Course Outline
Hands-onIntroduction 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