[Checkins] SVN: zc.selenium/trunk/ ignore stuff

Jim Fulton jim at zope.com
Fri Mar 28 17:57:36 EDT 2008


Log message for revision 85004:
  ignore stuff
  

Changed:
  _U  zc.selenium/trunk/
  U   zc.selenium/trunk/src/zc/selenium/README.txt
  U   zc.selenium/trunk/src/zc/selenium/pytest.txt

-=-

Property changes on: zc.selenium/trunk
___________________________________________________________________
Name: svn:ignore
   + develop-eggs
bin
parts


Modified: zc.selenium/trunk/src/zc/selenium/README.txt
===================================================================
--- zc.selenium/trunk/src/zc/selenium/README.txt	2008-03-28 18:25:18 UTC (rev 85003)
+++ zc.selenium/trunk/src/zc/selenium/README.txt	2008-03-28 21:57:36 UTC (rev 85004)
@@ -12,7 +12,18 @@
 `zc.selenium.pytest` module.  This can make tests substantially easier
 to write.
 
+The file pytest.txt explains how to write tests using the Python format.
 
+The package also provides a test runner that:
+
+- Runs a Zope instance
+
+- Starts a local browser, if necessary,
+
+- Tells the local browser to run the tests.
+
+See selenium.txt to see how to set up and use the test runner.
+
 Selenium Issues
 ---------------
 

Modified: zc.selenium/trunk/src/zc/selenium/pytest.txt
===================================================================
--- zc.selenium/trunk/src/zc/selenium/pytest.txt	2008-03-28 18:25:18 UTC (rev 85003)
+++ zc.selenium/trunk/src/zc/selenium/pytest.txt	2008-03-28 21:57:36 UTC (rev 85004)
@@ -282,6 +282,23 @@
     </tr>
     </tbody></table></body></html>
 
+Open calls
+----------
+
+Note that the example above is very generic.  It uses generic method
+names like "foo" and "splat".  In practice, you'll need to use
+functions from the selenium API.  Whe using the open API, you'll want
+to pass a server-relative path, as in::
+
+  s.open('/foo/bar.html')
+
+rather than::
+
+  s.open('http://localhost/foo/bar.html')
+
+The test runner will set the Selenium URL base to the server it
+starts.
+
 Set up and tear down
 --------------------
 



More information about the Checkins mailing list