Laravel Dusk Beginner to Advanced
4.3 (6 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
30 students enrolled

Laravel Dusk Beginner to Advanced

Learn Automation Testing, Scraping and Bot Creation using Dusk.
4.3 (6 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
30 students enrolled
Created by Tushar Gugnani
Last updated 2/2020
English
English [Auto]
Current price: $23.99 Original price: $34.99 Discount: 31% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Automation Testing with Laravel Dusk
  • Scraping with Laravel Dusk
  • Bot Creation using Laravel Dusk
Requirements
  • PHP and Laravel
Description

Laravel Dusk is a free package available in the Laravel ecosystem. In this course, I utilize the package to automate a demo web application and as we go along in the web automation journey we learn how to use different tips and tricks to make writing automation tests easier.

We also explore different uses of dusk which include web scraping, crawling, and bot-creation.


You'll learn the following

* What is Automation Testing and Why we need Automation Testing?

* How to setup and install Laravel Dusk on the Laravel project.

* Info on using Chrome Driver, Headless Mode, Taking Browser Screenshots, etc.

* How to use Laravel Dusk for basic automation testing.

* Concepts of Pages and Components in Laravel Dusk.

* Using Database Migrations and Factory Methods in Dusk.

* Example of Browser Macros, Dusk Selectors.

* Using Laravel Dusk to Automate a Single Page Application

* Using Dusk to crawl a website.

* Using Dusk to scrape data from a website.

* Using dusk to build browser automation bots.

* Using dusk in the continuous integration tools like Github Actions or Circle CI (TBD)

Who this course is for:
  • Laravel Developers who are are looking for end-to-end application testing.
  • QA Automation Engineers
  • DevOps who are looking to automate application deployment with testing.
Course content
Expand all 25 lectures 04:36:33
+ Setting Up the Test Environment
1 lecture 15:48

In this Lecture, we will go over how to get started with automation testing using Laravel Dusk. We install a demo application on which we will write Laravel Dusk Automation Tests.

Preview 15:48
+ Getting started with Laravel Dusk
2 lectures 28:20

Here you'll learn to generate and write a new dusk test. We will learn about special methods provided by dusk to deal with Authentication.

Writing your first dusk test
13:07

Let's write a new test and also create a new Browser macro function which we can use later in our tests.

Understand the need for Browser Macros
15:13
+ Automating CRUD
4 lectures 30:33
Extending DuskTestCase
05:40
Test Read : Assert a user can read the resource
07:26
Test Create : Assert a user can create a new resource
07:57
Test Edit & Delete : Assert a user can edit / delete a resource
09:30
+ Organising Test using Dusk Pages
3 lectures 41:30
Concept of Pages in Dusk
14:20
Using Page Methods
21:08
Dusk Selectors
06:02
+ Assignment : Automate CRUD
2 lectures 05:38
Automate a CRUD - Assignment Instructions.
03:23

https://github.com/tushargugnani/QAP-Dusk-Screencast/commit/e6998f810f746bcd80a542dab6e07a29ee7075bd

Solution : Automate a CRUD
02:15
+ Random Form Fields and Fake Images
1 lecture 19:25
Random Form Fields and Fake Images
19:25
+ Making Use of Dusk Components
3 lectures 36:48
New Factory and Using Eloquent for fake data
11:44
Automating Search Component
19:51
Another Test using Dusk components
05:13
+ Automating Single Page Application
3 lectures 33:29
Getting started with Automating SPA
20:02
Assert that user can edit a resource in Vue SPA
09:02
Test delete resource feature in Vue SPA
04:25
+ Crawling and Scraping websites using Laravel Dusk
2 lectures 20:41
Create a Web Crawler using Dusk - Part 1
09:06
Create a Web Crawler using Dusk - Part 2
11:35