Scripting Web Tests
Tutorial Documentation
This documentation accompanies the one-day tutorial.
References
Useful information that will help you complete the tutorial labs.
- Installation. Installing Ruby, Timeclock, and the WTR
toolkit.
- Ruby Cheat Sheet. A quick overview of the
Ruby language.
- Watir Cheat Sheet.
Overview of the Watir library and a few other helpful things.
- Using IRB and Watir
describes how to use Ruby’s interactive shell to create Watir tests.
- The Watir User Guide and Example Test Case are installed with Watir
(look in your Start menu).
- Timeclock Specification.
A functional description of Timeclock.
- Assertions in Test::Unit.
Detailed documentation of the assertions defined in the Test::Unit library.
- An online copy of Programming Ruby (the Pickaxe Book) is installed with Ruby if you would like
more detail about the language (look in your Start menu).
Lab Exercises
A series of labs based on the Timeclock application.
Presentation Decks
Powerpoint slides we review in the tutorial.
Advanced Material
This is advanced material that ordinarily is not used in the one-day tutorial. These describe other interfaces that can be used to test the Timeclock software.
Online Documentation
Further information that can be found on the web.
Watir Project
More information about Watir and the Web Testing with Ruby project.
Further Reading
Articles that develop themes and topics introduced in this tutorial.
About Watir
About Ruby
More about using Ruby for Testing
- Bypassing the GUI.
Brian Marick demonstrates how to test applications like Microsoft Word
using Ruby to interact with COM interfaces.
- Behind the Screens.
Brian Marick demonstrates how to use Ruby to test and explore a web services
interface, such as Google’s.