Playwright Tutorial | Read Test data from CSV file | Parameterize Tests
ฝัง
- เผยแพร่เมื่อ 10 ก.ค. 2024
- Data Driven Testing in Playwright,
#playwright #typescript #javascript #tutorial #automation #testing #coding #selenium #cypress
playwright, playwright tutorial, playwright testing
===============================================================================
Chapters
00:00 - Introduction
00:50 - Create CSV file
02:53 - Read data from CSV file
21:45 - Recap
================================================================================
Playwright with TypeScript / JavaScript Series - • Playwright Tutorials w...
Playwright Notes - docs.google.com/document/d/e/...
Read data from Json file Video - • Playwright Tutorial | ...
DemoQA Practice Website - demoqa.com/automation-practic...
============================================================================================================
Video 35 - Playwright with TypeScript | Read Test data from CSV file | Parameterize Tests
CSV file contains comma separated values
The Playwright test-runner runs in Node.js, this means you can directly read files from the file system and parse them with your preferred CSV library.
Here we are going to use The csv-parse package, which is a parser converting CSV text input into arrays or objects.
==========================================================================================================
Awesome brother !
Thanks ✌️
Really loving your series. Hey any planning for BDD with playwright ?
I'm glad you're enjoying the series! 😊 It is in My plan to include videos for BDD (Cucumber) with Playwright, so stay tuned !!