# Scripting Web Tests

with Watir and Ruby

Workbook / Labs / 1. Understanding Depot

## Lab 1: Understanding Depot

Review the Depot web application. The objective of this exercise is to become familiar with the application, so that you can automate it in later exercises.

It should already be installed on your machine, in which case, you can be found at http://localhost:3000/store. Specifically, make sure you know how to manually

- Add a book to your shopping cart
- Check out the contents of your shopping cart

Also review the admin interface to Depot. It can be found at http://localhost:3000/admin. To log in, use the username “Dave” and the password “secret”. Specifically make sure you know how to

- Ship an existing order (this doesn’t really ship, but rather just clears the order)

If you have time, you may wish to explore other features of this application.

### Completion

When you have completed this lab, you should be able to:

- Add a book to your shopping cart.
- Check out the books in your shopping cart.
- “Ship an order” and clear the shipping log.