[Checkins] SVN: gocept.selenium/branches/jw-move-selenium-browser-to-testcasebase/src/gocept/selenium/README.txt Update readme

Jan-Jaap Driessen jdriessen at thehealthagency.com
Thu Jun 3 05:13:04 EDT 2010


Log message for revision 112997:
  Update readme

Changed:
  U   gocept.selenium/branches/jw-move-selenium-browser-to-testcasebase/src/gocept/selenium/README.txt

-=-
Modified: gocept.selenium/branches/jw-move-selenium-browser-to-testcasebase/src/gocept/selenium/README.txt
===================================================================
--- gocept.selenium/branches/jw-move-selenium-browser-to-testcasebase/src/gocept/selenium/README.txt	2010-06-03 08:53:03 UTC (rev 112996)
+++ gocept.selenium/branches/jw-move-selenium-browser-to-testcasebase/src/gocept/selenium/README.txt	2010-06-03 09:13:04 UTC (rev 112997)
@@ -50,11 +50,17 @@
             self.selenium.open('http://%s/foo.html' % self.selenium.server)
             self.selenium.assertBodyText('foo')
 
-7. Run seleniumrc.
+7. Optionally duplicate your testcases for multiple browsers, e.g. ::
 
-8. Run bin/test and see it work!
+    from gocept.selenium.util import make_testsuite
 
+    test_suite = make_testsuite((MyTest,), ('*firefox', '*googlechrome'))
 
+8. Run seleniumrc.
+
+9. Run bin/test and see it work!
+
+
 Quick start with Zope 2/Plone
 -----------------------------
 



More information about the checkins mailing list