TestCafe: Easy Web Automation Tutorial. WebDriver Replacement?

Published: 01 January 1970
on channel: Dmitry Yarygin Tech
1,721
32

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
https://code.visualstudio.com/Download

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

Install Node.js
https://nodejs.org/

Initialize the npm
npm init

Install TestCafe
npm install -g testcafe

TestCafe Documentation
https://devexpress.github.io/testcafe/


Test Target
https://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'
https://devexpress.github.io/testcafe...

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
https://www.devexpress.com/products/t...

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

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

🏡My website:
http://www.trvlforever.com

#TestCafe #TestAutomation #QualityAssurance


On this page of the site you can watch the video online TestCafe: Easy Web Automation Tutorial. WebDriver Replacement? with a duration of hours minute second in good quality, which was uploaded by the user Dmitry Yarygin Tech 01 January 1970, share the link with friends and acquaintances, this video has already been watched 1,721 times on youtube and it was liked by 32 viewers. Enjoy your viewing!