Selenium Cucumber Java BDD Framework 5 - Parameterization & Data Driven Testing

Automation Step by Step
Automation Step by Step
114.6 هزار بار بازدید - 4 سال پیش - more about Raghav -
more about Raghav - https://automationstepbystep.com/
QUIZ - https://forms.gle/Sh5q9Sz1quGBGx2S8
Today we will learn:
1 - What is parameterization
2 - What is data-driven testing
3 - How to run a feature multiple times with different sets of data

Prerequisites (Completed in earlier session)
1 - Project is setup with required maven dependencies (libraries) added
2 - A sample login test
Demo site - https://example.testproject.io/web/

Step 1 - In the feature file select the values that need to be parameterized
Step 2 - Put the values within conical brackets or double quotes (Parameterization)
Step 3 - Change Scenario to Scenario Outline
Step 4 - Add Examples section
Step 5 - Add data for the parameters in the Examples section
Step 6 - Update step definition to get values from feature file Examples section
Step 7 - Run and verify

Join this channel to get access to perks: https://www.youtube.com/automationste...

Hi, I am Raghav and today we will learn -

Hit Like and. Subscribe button, if you like this video. It gives me great motivation.

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping https://animalaidunlimited.org/ or any animal welfare group near you, in any way you can
4 سال پیش در تاریخ 1399/03/20 منتشر شده است.
114,690 بـار بازدید شده
... بیشتر