Rest Api Testing (Automation) With Playwright & Typescript

Posted By: ELK1nG

Rest Api Testing (Automation) With Playwright & Typescript
Published 1/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 4.22 GB | Duration: 4h 46m

Learn how to develop a robust Playwright & Typescript API automation framework from the ground up.

What you'll learn

How to setup your own local development environment. (IntelliJ and VSCode)

Planning out our API automation suite coverage with Postman.

Developing our first automation test with Playwright and JavaScript.

GET, POST, PUT, PATCH and DELETE automation tests with Playwright & JavaScript.

Developing our first GET cucumber scenario together.

Introducing Cucumber World into our framework - Segregated test context.

Passing our retrieved API response in segregated context across step definitions leveraging Cucumber World.

Adding Lintrc to ensure code quality for our automation framework.

Customising the cucumber-js on runtime - Dynamic Cucumber runtime arguments.

Adding ENV files for better environment variables management.

Introducing Global Configuration into our framework to enable dynamic host routes.

Asserting on our JSON response within our automation test.

Adding the Cucumber html reporter to review automation results.

Adding parallel and retry capabilities to our automation framework.

DELETE’ing our first post and asserting on an empty JSON response.

Posting a custom json payload to our create new records.

Editing posts with PATCH and asserting on our edited response.

Updating posts with PUT.

Asserting on unsuccessful response if we attempt to update a post that does not exist.

Requirements

The course has been designed to take you from beginner to expert in building a robust API automation framework.

You can complete this entire course on MAC, Windows on Linux.

Description

This course has been designed to simulate a real-world experience in building both a barebones Playwright and JavaScript API Automation framework and a Cucumber, Playwright & TypeScript API automation framework from the ground up for a fully-featured API.Upon completion, you will be able to apply your learnings and the automation framework you have built into your respective companies and projects. We are confident you will become an expert in building a world-class automation framework.Our course and the automation framework we will build together has been developed with guidance from some of the globes leading testing and software engineering professionals and because of that we believe we can offer an incredible course where we will:- Plan and roadmap your automation coverage with Postman.- Develop your API automation framework against a real API.- Build two end-to-end automation frameworks from the ground up for a full-featured end-to-end API.- Evolve your skills and continuously improve your automation framework as we progress through the course- Learn how to build an object-orientated – engineer-reviewed and approved automation framework.We want this course to be the best decision you have ever made for your personal growth when it comes to improving your knowledge and skills in API test automation framework architecture.Across many hours of exciting content, I will be at the bottom right of your screen instructing and cheering you along throughout the course. You will have everything you need to learn how to build a robust API automation framework.

Overview

Section 1: Introduction

Lecture 1 Introduction

Section 2: Setting up your development environment

Lecture 2 Getting started with node.js

Lecture 3 Setting up your development environment - Intellij

Lecture 4 Setting up your development environment - VSCODE

Lecture 5 Key Learnings

Section 3: API Testing with Playwright and JavaScript

Lecture 6 Planning our API automation coverage using Postman - part 1

Lecture 7 Planning our API automation coverage using Postman - part 2

Lecture 8 Planning our API automation coverage using Postman - part 3

Lecture 9 Creating our API end-to-end automation project structure and e2e folder

Lecture 10 GET, POST, PUT, PATCH and DELETE with Playwright and JavaScript - part 1

Lecture 11 GET, POST, PUT, PATCH and DELETE with Playwright and JavaScript - part 2

Lecture 12 GET, POST, PUT, PATCH and DELETE with Playwright and JavaScript - part 3

Lecture 13 GET, POST, PUT, PATCH and DELETE with Playwright and JavaScript - part 4

Lecture 14 Key Learnings

Section 4: Introducing Cucumber and TypeScript

Lecture 15 Running our first cucumber automation test

Lecture 16 Introducing Cucumber World - part 1

Lecture 17 Introducing Cucumber World - part 2

Lecture 18 Passing our API response to cucumber steps with Cucumber World - part 1

Lecture 19 Passing our API response to cucumber steps with Cucumber World - part 2

Lecture 20 Introducing Lintrc to ensure code quality in our automation framework

Lecture 21 Key Learnings

Section 5: Environment Variable Management and Custom Global Configuration

Lecture 22 Customise the cucumber-js on runtime - part 1

Lecture 23 Customise the cucumber-js on runtime - part 2

Lecture 24 Environment files for better environment variable management

Lecture 25 Introducing global configuration - Reusable getResponse function - part 1

Lecture 26 Introducing global configuration - Reusable getResponse function - part 2

Lecture 27 Key Learnings

Section 6: Cucumber HTML Report (Parallel and Retry)

Lecture 28 Adding more GET automation tests to our suite - part 1

Lecture 29 Adding more GET automation tests to our suite - part 2

Lecture 30 Introducing the cucumber html reporter - Adding Parallel and Retry capabilities

Lecture 31 Adding our first automation test for DELETE

Lecture 32 Key Learnings

Section 7: The Final 3 - Post, Patch and PUT and asserting on response text errors

Lecture 33 Creating posts with POST - part 1

Lecture 34 Creating posts with POST - part 2

Lecture 35 Editing posts with PATCH

Lecture 36 Updating posts with PUT

Lecture 37 Validating our json payload exists

Lecture 38 Asserting on response text errors

Lecture 39 Key Learnings

Section 8: Conclusion

Lecture 40 Concluding.. for now! More content coming soon :)

Manual testers interested in learning Automation,Automation Engineers,Software Testers,Software Engineers,IT Professionals