Watir资源列表【转】

 

Watir简介php

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

 

Watir对什么有效?web

Watir能够驱动那些做为Html页面被发送到Web浏览器端的应用程序。ajax

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

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

 

使用的前提条件浏览器

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

1. HTML:app

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

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

相关文章
相关标签/搜索