最新文章列表

Cucumber Capybara Selenium 如何触发一个dom的点击事件

就是 click_on 和 Press 只能针对button和link如果,有个页面元素是,javascript绑定的怎么触发 page.execute_script("$('#{css_selector}').trigger('click')") page.find('#element').trigger(:mouseover) page.execute_script( ...
夜鸣猪 评论(0) 有2668人浏览 2012-04-06 12:50

cucumber test  小心得 二

Scenario: Signing up Given I am on the homepage When I follow "Sign up" And I fill in "Email" with "user@ticketee.com" And I fill in "Password&q ...
夜鸣猪 评论(0) 有1326人浏览 2012-03-17 02:10

[FitNesse|cucumber]FitNesse与cucumber行为驱动测试开发的典范

I was recently tasked with piloting a couple of design tools designed to help us with our development. The first one was FitNesse, and the second Cucumber with Groovy. The problem with “cutting edge” ...
MyEyeOfJava 评论(0) 有1785人浏览 2012-02-02 16:46

关于watir selenium和webdriver soda cucumber

watir和selenium在自动化测试web测试领域强硬增长。这一趋势日渐强势,各种搭配和框架丛生。 简单的搜集,我看到了cucumber配合watir的框架,看到例教,和类似的测试集成框架,也看到分布式测试框架 简单使用: 安装 gem install watir-webdriver require 'watir-webdriver' b = Watir::Browser.ne ...
夜鸣猪 评论(0) 有3734人浏览 2011-11-29 01:34

关于rails 3.1 cucumber-rails 1.2.0

在rails 2里叫cucumber 在rails 3里叫cucumber-rails cucumber-rails 1.0.6升级后(当前1.2.0),就没有了web_steps 和selector support 还有path support 作者的用意是好的,怕因为这个限定或影响了自己cucumber的发挥 同时呢,也少了一个很不错的feature:install,之前scaffold之 ...
夜鸣猪 评论(0) 有1661人浏览 2011-11-06 22:38

使用Cucumber测试Rails时,预先装载seeds.rb中的数据

我习惯把网站的一些预设数据放到db/seeds.rb中,比如网站的角色创建。由于Cucumber在每次测试的时候都会重置数据库,所以必须要想办法让数据库重置之后,把这写预设的数据也载入到测试数据库中。如果你也遇到相同问题,可以使用下边这种方法:   # lib/tasks/cucumber.rake #Cucumber::Rake::Task.new({:ok => 'db:test:p ...
tiroc 评论(0) 有1853人浏览 2011-10-19 22:03

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics