[Zope] ZopeTestCase and Selenium RC? Anybody?

Andreas Jung lists at zopyx.com
Thu Mar 20 09:47:14 EDT 2008



--On 20. März 2008 14:37:56 +0000 Peter Bengtsson <peter at fry-it.com> wrote:

>
>
> Andreas Jung wrote:
>>
>>
>> --On 20. März 2008 14:24:57 +0000 Peter Bengtsson <peter at fry-it.com>
>> wrote:
>>
>>>
>>>
>>> Andreas Jung wrote:
>>>>
>>>>
>>>> --On 20. März 2008 12:50:48 +0000 Peter Bengtsson <peter at fry-it.com>
>>>> wrote:
>>>>
>>>>> Has anybody managed to marry ZopeTestCase (and the ZopeLite running
>>>>> database) with Selenium RC?
>>>>> I like Selenium but it's a pain to have to manually create a fixture
>>>>> and tear it down again.
>>>>> Would it be possible to kick start Selenium RC from within the
>>>>> testrunner on zope2?
>>>>>
>>>>
>>>> I have no idea how Selenium and ZTC would be related - neither in
>>>> general nor in this particular case.
>>>>
>>>
>>> I don't know how/if the zope testrunner starts a server that can be
>>> reached with a browser or not.
>>
>>
>> ZTC won't start any servers.
>>
>
> What are my options then other than manually creating the fixtures?
>

If you have an existing fixture for ZTC, you might refactor it somehow
in order to setup a new instance with your fixture using "zopectl run ..."
before starting the Zope process for the Selenium testrunner.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080320/caae6cc6/attachment.bin


More information about the Zope mailing list