Do I need to have twisted server in order to test with driven mode? Or can it be run within the web server I am going to test?
I have an embedded Linux machine running a web server that I like to test.
You don't need Plone to run Selenium in Python Driven Mode. There used to be a "Standalone Selenium Server" available for download from the old Thoughtworks-maintained Selenium site, which alas doesn't seem to be available on the new OpenQA site. But you can still run the Python Driven Mode by getting the source code via svn:
svn co http://svn.openqa.org/svn/selenium/trunk selenium
(Note: the svn checkout instructions on the OpenQA site tell you to run "svn co http://svn.openqa.org/svn/selenium", which will check out all the tags, etc., which you don't need)
You also need to install Twisted (as Greg Bowyer pointed out, you need a pre-2.x Twisted version -- I believe I used 1.3 with success).
Assuming you checked out the Selenium trunk to a directory called selenium, you then need to open a DOS command prompt. go to selenium/code/python/twisted/src/selenium and run:
Then go to a different DOS command prompt, cd into selenium/code/python/twisted/src/examples and run:
At this point, a browser should be opened and a Selenium test should be executed.
Hope this helps,
--- "Paatsch, Bernd" <[hidden email]> wrote:
> Thanks for all your help so far. I tried for a couple of hours to get
|Free forum by Nabble||Edit this page|