The selenium.module should be ported to Drupal 5.x
I volunteered, in concert with Grugnog2

CommentFileSizeAuthor
#2 selenium_drupal5.tar_.gz5.32 KBJo Wouters

Comments

sehatrosny’s picture

Any body has start working on Port to Drupal 5.x for selenium?

Jo Wouters’s picture

StatusFileSize
new5.32 KB

It took me some more time then expected, but I updated the module.
Using cck node types for the tests, suites and results gives us some extra posibilities (views, rss-feeds, etc).

I created 3 custom cck nodes:

  1. Selenium test: title and source code of the selenium test + a link to run the tests (computed field)
  2. Selenium Suite: title and links to selenium tests (with nodereference) + a link to run the tests (computed field)
  3. Selenium Results: all fields that are returned by the selenium application

Views can be used to show an overview of the tests, suites and results.

This makes the module depend on these non-core modules:
content nodereference computed_field text number content_copy views

All code, including the 3 exported content types and 3 exported views can be found in attachment.

Please, consider this very beta: there are some important issues:

  • It does not work (yet) with clean urls off
  • the code is not 'clean' yet; their might be some security-considerations
  • importing new content-types does not work flawless; I had to manually adapt some code to succesfully import all fields.
  • At this moment the cck-field 'computed_field' can only be found in cvs HEAD
  • There is an issuesin Selenium Core 0.8.2 ( http://jira.openqa.org/browse/SEL-422 ) - so I had to patch core/scripts/selenium-testrunner.js

All remarks are welcome.

attiks’s picture

subscribing

Jo Wouters’s picture

Assigned: Jo Wouters » Unassigned
Status: Active » Postponed

I'm sorry but I will not finish the D5 upgrade (I bet that's not a surprise). I haven't been working on this module the last 12 months.

See #2 for a working solution; but that's not an 'official' D5 release.

R.Muilwijk’s picture

Status: Postponed » Closed (fixed)

A new drupal 6 release will be posted soon. There will not be a backport so closing this to get a clean queue.