WebdriverIO | How to create Cucumber BDD Project | Hindi

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • ALL FREE COURSES - automationstepbystep.com/
    ASK RAGHAV ► bit.ly/2CoJGWf
    00:00 Intro
    01:21 What is BDD | What is Cucumber
    05:21 How to setup WebdriverIO Cucumber BDD Framework
    16:02 How to create Feature files
    19:21 How to run Cucumber BDD tests
    20:28 How to auto-generate step definitions
    31:05 How to give step definition folder location in configuration file
    39:32 How to parameterize cucumber bdd feature scenarios
    52:23 Page Object Model - • WebdriverIO | Page Obj...
    53:10 Reports - • WebdriverIO | Getting ...
    54:03 Outro
    Step 1 - Create a folder and open in VS Code
    Step 2 - Run commands npm init -y and npm init wdio .
    Step 3 - Select the webdriverio project options and in Framework type select Cucumber
    Step 4 - Install the libraries and check the project updated with test folders and config file wdio.config.js
    Step 5 - Check demo feature files. Run using command npx wdio
    Step 6 - Create more tests and run and check (add cucumber plugins- Cucumber | Cukes step generator)
    Auto Generate step definition - .
    ode_modules\.bin\cucumber-js.cmd
    Step 7 - Add Reports
    References:
    Demo login app - the-internet.herokuapp.com/login
    BDD for Beginners - • BDD for Beginners
    A story of Regex - automationstepbystep.com/2020...
    GitHub Project - github.com/Raghav-Pal/Webdriv...
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
    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 any animal near you, in any way you can
    NEVER STOP LEARNING
    Raghav Pal

Комментарии • 1