Mô tả

This course is designed with one simple goal in mind: To teach you web automation so that you will have all the tools to build reliable and fast test suites using the industry's best-practices and advanced techniques. On top of that, you will learn how web applications work behind the scenes and how you can use this knowledge to your advantage.


Practice makes perfect

I believe that you can learn any subject if you practise it. That is why this course is completely practical: We will be building a real test suite for a shopping app. You will also learn how to take these learnings and concepts and apply them to your own applications!


Throughout the course, there are plenty of exercise stages where you are invited to pause the video and take on a challenge, practising and retraining things you already learned. But don’t worry, I will always be walking you through my solution at the end of the exercise.


The right tool for the job

Playwright is one of the most powerful and convenient automation frameworks out there, used by big-brand companies such as Microsoft, Adobe and Disney+. We pair it up with JavaScript, the most popular programming language on the planet! This course will teach you everything there is to know. We will even go one step further and explore the rich ecosystem of third-party libraries.


Learning should be fun

Programming isn’t just a job for me; it’s a passion. I look to bring this passion into my teaching. This is exactly the kind of course that I would love to take myself — I make things fun and engaging.


Having a problem? No problem!

Errors are natural in programming. I will be in the Q&A section ready to take on your questions. Every lesson also comes with a transcript of the code changes; that way you can also confirm your solution independently!


Let’s get started

I am thrilled to have you here and I can’t wait to get started with you. See you in the course!

- Rick

Bạn sẽ học được gì

Yêu cầu

Nội dung khoá học

5 sections

Basic Concepts

10 lectures
Course Overview
03:57
Install required software: custom web application, Node.js, Visual Studio Code
13:43
Windows users only: Install git bash
06:05
A note before we get started
00:28
Project setup with npm init
08:06
Explore the framework
13:32
Functions and understanding the test frame
13:29
Selectors and page interactions: Waiting for a button, clicking on a button
11:07
Assert text changes
13:03
Assert page navigation
06:47

End-to-End Testing

29 lectures
End-to-End Testing: Introduction
04:57
Page Objects
18:44
Accessing specific elements: Add three products to the basket via page object
13:19
Accessing specific elements: Assert that the button changes text
05:48
String conversion: Assert that the basket counter increases
12:13
Nested page object method calls
07:43
Move to checkout using navigation bar
05:40
Iterating over multiple elements with .map() & String replacements
16:54
Selecting specific elements out of multiple options
12:17
Dropdowns
12:48
Regular Expressions
18:20
Form fields
09:58
Third-party dependencies and UUIDs
10:55
Method arguments - passing data into our page object from outside
03:34
Form fields: Fill out delivery details
12:28
Abstracting test data: Move user details into data-specific directory
10:24
In-built retries: Counting elements
10:47
Extracting input values
10:25
Continue to payment page
05:54
iframes: Grab discount code
11:17
In-built retries: Input values
10:33
Keyboard API: Simulating typing
07:07
In-built retries: Text changes
15:19
Form fields: Fill in credit card details
12:53
Complete payment
05:29
Mobile viewport setup
05:09
Conditional actions: Adding a product to the basket in mobile
10:57
Conditional actions: Adjustments to not impact the desktop tests
08:55
Utility functions: Move to checkout using mobile navigation drawer
13:31

Advanced Techniques

10 lectures
Advanced Techniques: Introduction
02:55
Cookies and browser storage
09:55
My Account page
05:49
API/Network requests with third-party dependencies, handling JSON - Part 1
12:10
API/Network requests, handling JSON - Part 2
06:57
Page scripts: Injecting cookies into the browser
13:28
Reusable API helpers
05:56
Environment variables
09:08
globalSetup: Calling functions before all tests
07:30
Mocking network requests
15:28

CI Systems and Version Control with GitHub

10 lectures
CI Systems: Introduction
02:03
Mac users only: Installing git
02:40
Sign up for GitHub
02:55
Authentication with SSH key
07:09
Preparing the project before push to GitHub
03:49
Upload project to GitHub
08:23
GitHub Actions: First step
12:48
GitHub Actions pipeline: Commands to execute tests
12:02
GitHub Actions: Secrets
08:33
Goodbye
01:48

Bonus

2 lectures
UI Mode
24:14
Spread Operator in JavaScript
14:44

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.