Personal tools
You are here: Home   Documentation (new section)   Tutorials   KSS testing how-to for Plone 3.1   Environment setup  
 
Document Actions

Environment setup

Three steps to setup correctly the environment setup.

beppe

This tutorial will show how to setup your enviroment and to run and create tests for KSS on Plone 3.1 using Selenium IDE.
Page 1 of 4.

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:

Browser languages setup

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:

Bootstrapping after completion

 
by Beppe Zizza last modified 2008-06-27 17:25
Contributors: shywolf9982