Roger Ineichen wrote:
> Log message for revision 40515:

Here is what I'd do:

 they are provided in a aseparate section. To see anything useful, we have to
 add an object to the folder first:
- >>> link = 'http://localhost/@@+/action.html?'
-    >>> browser.getLink(url=link).click()
+    >>> import re
+    >>> browser.getLink(re.compile('^File$')).click()
     >>> import cStringIO
     >>> browser.getControl('Data').value = cStringIO.StringIO('content')
     >>> browser.getControl(name='add_input_name').value = 'file.txt'

I'm not really a big fan of using regular expressions in testbrowser,
but they exist and we don't have time to implement something better
(probably XPath) before 3.2 is released.
Benji York
Senior Software Engineer
Zope Corporation
Zope3-dev mailing list

Reply via email to