List of resources related to watir automated testing collected by Tib automated testing studio:
WatirIntroduction
"Watir" (similar to water) is fully written as "Web application testing in ruby ". Watir is an automated testing tool that uses Ruby scripting language to drive browsers. Wait is a toolbox for automated Web-based testing and development.
WatirEffective for what?
Watir can drive applications that are sent as HTML pages to Web browsers.
Watir does not work on the following components: ActiveX, Java applets, Macromedia Flash, or other application plug-ins.
Method for Determining whether watir is available: Right-click on the page and choose view page source code. If you can see the HTML source code, the objects on the page can be identified by watir for automation.
Prerequisites
To use watir, at least master the following content:
1. html:
2. Basic programming knowledge, such as variable definition and use, basic control statements, such as if and
3. Ruby: Basic knowledge of Ruby.
4. ie development or other similar browser auxiliary tools will effectively help you identify the properties of page objects in future development.
Open source and download:
Http://rubyforge.org/projects/wtr/
Watir learning manual:
Http://www.docin.com/p-64858446.html
Blogs and forums:
Http://blog.csdn.net/Testing_is_believing/category/647265.aspx
Http://swik.net/Watir+Programming
Http://www.pragprog.com/# A Lot Of good source code Oh
Http://docs.rubygems.org/# rubygems
Http://www.fxruby.org/# fxruby
Http://groups.google.com/group/watir-general/topics # Google watir discussion group
Http://ruby.nanshapo.com/weeks/2007-29.html
Http://www.gotapi.com/rubyrails # comprehensive API
Http://www.ruby-forum.com/forum/4 # Ruby Forum
Http://navigation-china.com/ExcelVBA/Main.htm # Excel API functions
Http://members.shaw.ca/paul_rogers/watir_tests/ # exercise place
Http://www.kuqin.com/rubycndocument/man/index.html # Ruby Reference Manual
Http://www.ruby-doc.org/core/ # Ruby API
Http://wtr.rubyforge.org/rdoc/ # watir API
Http://wiki.openqa.org/display/WTR/Project+Home # watir tutorial
Http://www.w3school.com.cn/
Http://www.rubyidea.com/bbs/
Http://okruby.com/# There are a lot of tutorials
Http://www.docin.com/app/searchnew/fpg? Keyword = Ruby # Many online materials
Watir getting started video:
Http://showmedo.com/videotutorials/series? Name = xhf6o1wle
Processing Methods for various pop-up windows:
Http://wiki.openqa.org/display/WTR/Pop+Ups
Various wait methods:
How to wait with watir
Http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
Right-click a page element:
Right click an element
Http://wiki.openqa.org/display/WTR/Right+Click+an+Element
Example of watir processing simple Ajax:
Simple Ajax examples
Http://wiki.openqa.org/display/WTR/Simple+Ajax+examples
Use Ruby, watir, and Sikuli to test flash, Ajax, and Popup.
Automatic 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. Too red By watir development of watin started in December 2005 to make a similar kind of Web application testing possible for. net ages. 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 script recorder-watin Test Recorder:
Http://watintestrecord.sourceforge.net/
Qaliber provides the watin plug-in:
Http://www.qaliber.net/Wiki/index.php? The title = WatinN_Plug-in
Java version of watij-watir:
Http://watij.com/
Watij(Pronounced wattage) Stands for Web application testing in Java.WatijIs a Java APICreated to allow for the automation of Web applications. Based on the simplicity of watir and enhanced by the power of Java,WatijAutomates functional testing of Web applications through a real browser.
Watij's newWebspecAPI supports the following browsers on Windows, Mac, and Linux:
- Internet Explorer
- Mozilla
- Safari
You can also useJruby! Watij'sWebspecAPI provides a jruby extension so you get the power of Ruby and Java combined.