Cypress for End-to-End Web Application Testing


Course Number: SCRPT-188

Duration: 1 day (6.5 hours)

Format: Live, hands-on

Cypress Training Overview

Cypress is a popular front-end testing tool allowing developers to quickly and easily write, debug, and record tests.

This hands-on, live Cypress training course teaches experienced developers and testers how to automate testing of web application interfaces using Cypress.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

In addition, some Web Development courses are available as live, online classes for individuals.

Objectives

All students will learn how to:

  • Create test scripts using Cypress selector playground
  • Use the online documentation and the Cypress APIs
  • Create, debug, and maintain Cypress test scripts
  • Communicate the concepts necessary for testing with Cypress
  • Interact and verify web elements using selectors

Prerequisites

Participants must have prior testing and/or automation experience, as well as a strong command of the JavaScript language and HTML and DOM fundamentals.

Outline

Expand All | Collapse All

Introduction
Getting Started with Cypress
  • Cypress Overview
  • Create a new project with Cypress
  • Create your first test
  • Write assertions & run tests
  • Generate tests with Cypress selector playground
  • Running Tests 
  • Benefits of using Cypress vs Selenium or WebDriver
CY Object
  • How to interact with the browser and navigate between pages
  • How to interact with page content to simulate user interaction (clicks, data entry)
  • Using the element selector
Network Stubbing and Mocks
  • How to simulate different scenarios by mocking HTTP request
  • Defining resource files to create mock scenarios
  • Using HTTP request interceptors
Cypress Test Runner
  • Using the test runner to run and replay tests
  • Recording tests results as a video with Cypress
  • Time-traveling using test snapshots
Debugging Tests
  • Using the browser debugging tools with Cypress
  • Cypress console outputs
Cypress & Multiple Browsers
  • Requirements for running tests in multiple browsers
  • Creating test suites for multiple browsers
  • Installing and maintaining Cypress for multiple browsers
Validation of a Small Web Application with Cypress
  • Check that expected behavior happens on click
  • Wait for asynchronous data
  • Check that the right text shows up on the screen
  • Check that the right images show up on the screen
Conclusion

Training Materials:

All Cypress training attendees receive courseware covering the topics in this class.

Software Requirements:

  • Chrome Browser
  • Node.js latest version
  • WebStorm or IntelliJ IDE preferred; class can also be taught using Visual Studio Code or other JavaScript-aware IDE of your choice


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan