Watir资源列表

简介: Watir简介 "Watir" (发音与 water相近) 全写是 "Web Application Testing in Ruby"。Watir是一款用Ruby脚本语言驱动浏览器的自动化测试工具。Wait是基于Web的自动化测试开发的工具箱。

Watir简介

"Watir" (发音与 water相近) 全写是 "Web Application Testing in Ruby"。Watir是一款用Ruby脚本语言驱动浏览器的自动化测试工具。Wait是基于Web的自动化测试开发的工具箱。

 

Watir对什么有效?

Watir可以驱动那些作为Html页面被发送到Web浏览器端的应用程序。

Watir对下列组件不起作用:ActiveX、Java Applets、Macromedia Flash或者其他的应用程序插件。

判断Watir是否可用的方法:在页面上点击右键-查看页面源代码,如果可以看到Html源代码,就说明页面上的对象可以被Watir识别,来实现自动化。

 

使用的前提条件

要使用Watir,至少要掌握以下内容

1. HTML:

2. 编程的基本常识,如变量的定义与使用,基本的控制语句,如If、for等

3. Ruby:Ruby的基本常识。

4. IE Development或是其他类似的浏览器辅助工具,在以后的开发中,将非常有效的帮你识别页面对象的属性。

 

开源、下载:

http://rubyforge.org/projects/wtr/

 

watir学习手册:

http://www.docin.com/p-64858446.html

 

博客、论坛:

http://blog.csdn.net/Testing_is_believing/category/647265.aspx

http://swik.net/Watir+Programming
http://www.pragprog.com/ #很多好的源码哦
http://docs.rubygems.org/ #rubygems
http://www.fxruby.org/  #fxruby
http://groups.google.com/group/watir-general/topics #google watir讨论组
http://ruby.nanshapo.com/weeks/2007-29.html
http://www.gotapi.com/rubyrails #API比较全
http://www.ruby-forum.com/forum/4 #ruby的论坛
http://navigation-china.com/ExcelVBA/Main.htm #excel的API函数
http://members.shaw.ca/paul_rogers/watir_tests/ #练习场所
http://www.kuqin.com/rubycndocument/man/index.html #ruby参考手册
http://www.ruby-doc.org/core/ #ruby API
http://wtr.rubyforge.org/rdoc/ #watir的api
http://wiki.openqa.org/display/WTR/Project+Home #watir教程
http://www.w3school.com.cn/  
http://www.rubyidea.com/bbs/
http://okruby.com/   #有很多教程
http://www.docin.com/app/searchnew/fpg?keyword=ruby #很多在线资料 

 

 

 

watir入门视频: 

 http://showmedo.com/videotutorials/series?name=xHF6O1WlE

 

关于各种弹出窗口的处理方法:

http://wiki.openqa.org/display/WTR/Pop+Ups

 

各种等待处理方法:

How to wait with watir

http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir

 

如何右键单击页面元素:

Right Click an Element

http://wiki.openqa.org/display/WTR/Right+Click+an+Element

 

watir处理简单ajax的例子:

Simple Ajax examples

http://wiki.openqa.org/display/WTR/Simple+Ajax+examples 

 

使用Ruby、Watir和Sikuli测试Flash、AJAX、Popup等 

Automating Flash, AJAX, Popups and more using Ruby, Watir and Sikuli

http://www.software-testing.com.au/blog/2010/08/16/automating-flash-ajax-popups-and-more-using-ruby-watir-and-sikuli/

 

 

 

 

WatiN - Watir的.NET版:

http://watin.sourceforge.net/

Welcome at the WatiN (pronounced as What-in) website. Inspired  by Watir development of WatiN started in December 2005 to make a similar kind of Web Application Testing possible for the .Net languages. Since then WatiN has grown into an easy to use, feature rich and stable framework. WatiN is developed in C# and aims to bring you an easy way to automate your tests with Internet Explorer and FireFox using .Net.

 

WatiN 的脚本录制器 - WatiN Test Recorder:

http://watintestrecord.sourceforge.net/ 

 

QAliber提供了WatiN插件:

http://www.qaliber.net/Wiki/index.php?title=WatinN_Plug-in

 

 

 

 watij - watir的Java版:

http://watij.com/ 

Watij (pronounced wattage) stands for Web Application Testing in Java. Watij is a Java API created to allow for the automation of web applications. Based on the simplicity of Watir and enhanced by the power of Java, Watij automates functional testing of web applications through a real browser.

Watij’s new WebSpec API supports the following browsers on Windows, Mac, and Linux:

  • Internet Explorer
  • Mozilla
  • Safari

You can also use JRuby!  Watij’s WebSpec API provides a JRuby extension so you get the power of Ruby and Java combined.

 

 

转自:http://www.cnblogs.com/testware/archive/2010/07/17/1779914.html

目录
打赏
0
0
0
0
10
分享
相关文章
SwiftUI—使用section将列表分为几个组
SwiftUI—使用section将列表分为几个组
891 0
SwiftUI—使用section将列表分为几个组
|
12月前
win32编程 -- 图标资源与光标资源
win32编程 -- 图标资源与光标资源
60 0
Windows编程资源,菜单资源,图标资源,光标资源,上下文菜单,字符串资源,加速键资源(上)
Windows编程资源,菜单资源,图标资源,光标资源,上下文菜单,字符串资源,加速键资源
Windows编程资源,菜单资源,图标资源,光标资源,上下文菜单,字符串资源,加速键资源(下)
Windows编程资源,菜单资源,图标资源,光标资源,上下文菜单,字符串资源,加速键资源(下)
【小程序】案例 - 本地生活(列表页面)
【小程序】案例 - 本地生活(列表页面)
220 0
【小程序】案例 - 本地生活(列表页面)
SwiftUI极简教程05:代码分组管理
SwiftUI极简教程05:代码分组管理
482 1
SwiftUI极简教程05:代码分组管理
SwiftUI—如何使列表同时支持删除和移动记录的功能
SwiftUI—如何使列表同时支持删除和移动记录的功能
173 0
SwiftUI—如何使列表同时支持删除和移动记录的功能
SwiftUI—使用TabView包含和切换多个页面
SwiftUI—使用TabView包含和切换多个页面
1025 0
SwiftUI—使用TabView包含和切换多个页面
标签管理利器——使用标签编辑器,多地域多产品千台资源一次搞定
创建阿里云资源时,您可以给资源绑定标签。已经创建的资源,也可以在资源列表页面或者通过API,批量的添加、更改和删除标签。当遇到如下更为复杂问题和场景,该如何快速解决标签问题呢? 资源跨度大,需要跨资源类型、跨地域,将关联的资源打上标签。
3523 0
标签管理利器——使用标签编辑器,多地域多产品千台资源一次搞定
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等