Maven 搭建cucumber 简单示例
文件大小: 6k
源码售价: 10 个金币 积分规则     积分充值
资源说明:Maven 搭建cucumber 简单示例 1.新建Maven 项目 2.Eclipse安装 cucumber 插件:Help->Install New Software->Add name:cucumber location:http://cucumber.github.com/cucumber-eclipse/update-site 3.导入示例项目,右键运行testBaidu.feature 文件run as Cucumber Feature 4.结果如下: @tag Feature: open baidu Starting ChromeDriver 2.26.436362 (5476ec6bf7ccbada1734a0cdec7d570bb042aa30) on port 35183 Only local connections are allowed. @tag1 Scenario: Search Baidu # D:/workspace eclipse/test/src/test/features/testBaidu.feature:5 Given Go to Baidu home page # TestBaiduStepfs.go_to_Baidu_home_page() When Type the search text "selenium" # TestBaiduStepfs.type_the_search_text(String) And Click the submit # TestBaiduStepfs.click_the_submit() Then wait the query result # TestBaiduStepfs.waitTheQueryResult() 1 Scenarios (1 passed) 4 Steps (4 passed) 0m11.806s
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。