Functional doctest for Online Help
==================================

    >>> from zope.testbrowser.testing import Browser
    >>> manager = Browser()
    >>> manager.addHeader('Authorization', 'Basic manager:schooltool')
    >>> manager.handleErrors = False

There are links to the online help if it is available:

    >>> manager.open('http://localhost/')
    >>> manager.getLink('Manage').click()
    >>> manager.getLink('Persons').click()
    >>> manager.getLink('Help').url
    "javascript:popUp('http://localhost/persons/@@index.html/++help++/@@contexthelp.html')"

We can look at it:

    >>> manager.open('http://localhost/persons/@@index.html/++help++/@@contexthelp.html')
    >>> print manager.contents
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ...
    <p>Use this page to browse and find individual persons.</p>
    ...

Even Zope3 help is available if you know the url:

    >>> manager.open('http://localhost/++help++/ui')

Images are displayed properly as well:

    >>> manager.open('http://localhost/++help++/ui/mgmt-main-1.png')
