Scripting Web Tests
This documentation accompanies the one-day tutorial.
Useful information that will help you complete the tutorial labs.
- Installation. Installing Ruby, Timeclock, and the WTR
- Ruby Cheat Sheet. A quick overview of the
- 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).
A series of labs based on the Timeclock application.
Powerpoint slides we review in the tutorial.
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.
Further information that can be found on the web.
More information about Watir and the Web Testing with Ruby project.
Articles that develop themes and topics introduced in this tutorial.
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.