我想用ruby类自动化黄瓜步骤

时间:2016-07-20 12:36:56

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

Login.feature

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中给出文件夹结构。

1 个答案:

答案 0 :(得分:1)

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

  
      
  • 黄瓜      
        
    • 功能
    •   
    • step_definitions
    •   
    • 支持
    •   
  •   
相关问题