[Zope3-checkins]
SVN: Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/README.txt
Fix header titles.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Jul 27 10:31:49 EDT 2005
Log message for revision 37487:
Fix header titles.
Changed:
U Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/README.txt
-=-
Modified: Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/README.txt
===================================================================
--- Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/README.txt 2005-07-27 14:20:53 UTC (rev 37486)
+++ Zope3/branches/testbrowser-integration/src/zope/app/testing/testbrowser/README.txt 2005-07-27 14:31:48 UTC (rev 37487)
@@ -1,7 +1,8 @@
-zope.app.testing.testbrowser
-============================
+================
+The Test Browser
+================
-The zope.app.testing.testbrowser module exposes a `Browser` class that
+The ``zope.app.testing.testbrowser`` module exposes a ``Browser`` class that
simulates a web browser similar to Mozilla Firefox or IE.
>>> from zope.app.testing.testbrowser import Browser
@@ -16,7 +17,7 @@
Page Contents
-=============
+-------------
The contents of the current page are available:
@@ -33,7 +34,7 @@
Headers
-=======
+-------
The page's headers are also available as an httplib.HTTPMessage instance:
@@ -55,7 +56,7 @@
Navigation
-==========
+----------
If you want to simulate clicking on a link, there is a `click` method.
@@ -71,7 +72,7 @@
Forms
-=====
+-----
The current page has a form on it, let's look at some of the controls:
@@ -111,7 +112,7 @@
False
Finding Specific Forms
-======================
+----------------------
Because pages can have multiple forms with like-named controls, it is sometimes
neccesary to access forms by name or id. The browser's `forms` attribute can
@@ -139,7 +140,7 @@
## '...'
More Forms
-==========
+----------
Now, let's navegate to a page with a slightly more complex form.
@@ -191,3 +192,5 @@
>>> permission.value = original_permission
>>> browser.click('Change')
+
+
More information about the Zope3-Checkins
mailing list