Environment setup

beppe
Buildout creation
Now we download the products we are working on from the development development repository on plone.org.
Check out the existing product skeletton from svn:
svn co https://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/3.1-kss-test 3.1-kss-test
Now you can bootstrap the buildout
python bootstrap.py
Where you can use the absolute path of the python installation you want to use.
Now we are able to launch the buildout creation.
./bin/buildout
Browser setup
Because all tests are created for the english language and we don't need multiple tests for multiple languages we will show how to setup the browser correctly.
If your browser is setup in a different language by english, open the Firefox's preferences and look this example:
And then rearrange the list of languages to have English (US) as the first one (top of the list).
Bootstrapping
The bootstrapping process creates the various objects necessary to run the tests. This process create two objects inside the Zope root: a kss.demo object named demo and a Zuite object named zuite.
To start the bootstrap process just enter the ZMI and then access the view named @@kss-selenium-bootstrap (http://localhost:8080/@@kss-selenium-bootstrap).
When you will see a blank page with "OK" the process is terminated successfully and you can proceed to the rest of tutorial.
After the bootstrapping has been completed, the root of your Zope instance should look like this: