如何在visual studio中使用WDIO从BDD特征文件中创建步骤定义。

问题描述 投票:0回答:1

如何使用WDIO框架从BDD特征文件中创建步骤定义?

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  |
javascript cucumber bdd webdriver-io wdio-v5
1个回答
0
投票

你查看过官方文档吗?他们有非常好的模板项目,这将有助于理解基础设置。

https:/webdriver.iodocsboilerplate.html。

© www.soinside.com 2019 - 2024. All rights reserved.