【问题标题】:I want to automate the cucumber steps using ruby class我想使用 ruby​​ 类自动化黄瓜步骤
【发布时间】:2016-07-20 12:36:55
【问题描述】:

登录功能

Background:
      Given I am on Google

    Scenario: Search for a term
      When I fill in "q" found by "name" with "TestingBot"
      And I submit
      Then I should see title "TestingBot - Google Search"

在这里我添加了一些示例黄瓜步骤。文件名为 login.feature。我想为上述步骤创建自动化 ruby​​ 脚本。

给出eclipse中的文件夹结构

【问题讨论】:

标签: ruby selenium selenium-webdriver cucumber cucumber-jvm


【解决方案1】:

黄瓜项目的示例文件夹结构:

  • 黄瓜
    • 功能
    • step_definitions
    • 支持

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多