Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Sandbox for integration of Selenium testing framework to drupal 8.
Video demo http://www.youtube.com/watch?v=4QGY3hxt9Qs
My Blog post about Selenium in drupal http://ygerasimov.com/integrating-selenium-to-drupal-simpletest-framework
Anothe demo video how to run tests on headless debian http://www.youtube.com/watch?v=s2PctgReOJ0
Blog post: http://ygerasimov.com/run-selenium-tests-drupal-on-debian-headless
Step-by-step how to try
1. Download Selenium Server from http://seleniumhq.org/download
2. Start it. You need to have Java environment installed (I used sun-java6-jdk on ubuntu).
3. Clone this project and install the site.
4. Download and enable selenium_test_example module (http://drupal.org/sandbox/ygerasimov/1131220) and run its tests.
Current test functionality
1. Log in user. Checks user can edit node when having 'bypass node access' permission. Uploads file. Ensure that image uploaded and shown on the node.
2. Log in user. Reorder two terms in vocabulary using Drag and Drop. Ensure that order changed.
Technical details
Main idea is to implement http://code.google.com/p/selenium/wiki/JsonWireProtocol protocol in separate class that will be accessible from simpletest.
One of existing implementations of JsonWireProtocol is available on http://code.google.com/p/php-webdriver-bindings/. It can be used for reference.
This project adds drupal adapted implementation from https://github.com/chibimagic/WebDriver-PHP
Current status is very early development state. There is nearly no error handling added etc.
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsObsolete
Use of this project is deprecated.- Created by ygerasimov on , updated

