HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

TestCafe: Easy Web Automation Tutorial. WebDriver Replacement?

1,734 views September 28, 2020 9:00

Watch on YouTube
ChannelNomadic Dmitry

Description from the creator

TestCafe framework: Test Automation Tutorial. End to End testing for a Formy website.

Environment: Mac OS X 10.14
Code Editor: Visual Studio Code

- Install Visual Studio Code
code.visualstudio.com/Download

- HomeBrew (package manager for Mac OS)
brew.sh/

- Install Node.js
nodejs.org/

- Initialize the npm
npm init

- Install TestCafe
npm install -g testcafe

- TestCafe Documentation
devexpress.github.io/testcafe/


- Test Target
formy-project.herokuapp.com/form

- Running the tests in different browsers (make sure those are installed)
testcafe edge formyapp.js
testcafe chrome formyapp.js
testcafe firefox formyapp.js
testcafe safari formyapp.js

- Run specific test only:
testcafe chrome formyapp.js -t 'Resize window test'
devexpress.github.io/testcafe/documentation/gui…

- Headless Tests
testcafe chrome:headless formyapp.js

- Run tests in parallel
testcafe -c 2 edge formyapp.js

- Running from script specific in package.json
npm run test:chrome

- TestCafe IDE
devexpress.com/products/testcafestudio/

If you found this video useful please consider subscribing and/or donating using the links below.

💰 Support me (for NEW videos!):
PATREON: patreon.com/nomadicdmitry
FOR A COFFEE: buymeacoffee.com/nomadicdmitry

🏡My website:
trvlforever.com

#TestCafe #TestAutomation #QualityAssurance

About this tutorial

Nomadic Dmitry published this 9:00 video tutorial on September 28, 2020. It has been watched 1,734 times on YouTube.

Duration
9:00
Published
September 28, 2020
Views
1,734
Likes
32

Tags

Share

This tutorial in other languages