Index: /waeup/branches/ulif-rewrite/src/waeup/browser.txt
===================================================================
--- /waeup/branches/ulif-rewrite/src/waeup/browser.txt	(revision 4372)
+++ /waeup/branches/ulif-rewrite/src/waeup/browser.txt	(revision 4373)
@@ -108,4 +108,42 @@
   ...
 
+Departments
+===========
+
+Departments are stored in :class:`IFaculty` instances with their code
+as key. Faculties therefore are also department containers. Faculties
+provides an add-form to add new departments:
+
+  >>> browser.open('http://localhost/myuniversity/faculties/TF/add')
+  >>> print browser.contents
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
+  ...<span class="required">*</span><span>Name of Department</span>
+  ...
+
+We fill in a new name for our new faculty::
+
+  >>> ctrl = browser.getControl(name='form.title')
+  >>> ctrl.value = 'TestDept'
+
+Furthermore we add a code (kind of abbreviation):
+
+  >>> browser.getControl(name='form.code').value = 'TD'
+
+Finally we click on 'Add Department' to add the new thing::
+
+  >>> browser.getControl('Add department').click()
+
+We can view a department by browsing a URL like this::
+
+  >>> browser.open('http://localhost/myuniversity/faculties/TF/TD')
+
+Afterwards, the department should be visible:
+
+  >>> browser.open('http://localhost/myuniversity/faculties/TF')
+  >>> print browser.contents
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
+  ...<h2>Registered Departments:</h2>
+  ...<a href="http://localhost/myuniversity/faculties/TF/TD">TestDept</a>
+  ...
 
 Data Center
