'How to create Step definition from BDD feature file in visual studio using WDIO
How to create step definition from BDD feature file using WDIO framework
Scenario Outline: Verify the weatherForecast Application whether user can able to lunch the application for mentioned city
When I open the url http://localhost:3000/
Then I should be able to launch the application with header "Five Day Weather Forecast foreee"
When I enter the <cityName> for weatherForecast
Examples:
| cityName |
| aberdeen |
Solution 1:[1]
Did you check the official docs? They have really good boilerplate projects which will help in understanding the base setup.
Solution 2:[2]
You should find some working examples, nothing else, check this repository: https://github.com/webdriverio/cucumber-boilerplate
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Raju |
| Solution 2 | Dawid Polakowski |
