Plone should…

Use webdriver to build fonctionnal tests

Fonctionnal tests are done in doctests, so without javascript support.

Selenium has lots of limits (can't upload a file for example)
Webdriver is on os, so no limits.

Cons: Webdriver has no python binding to IE atm, but i m sure it can be done.

6 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    anonymousanonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    started  ·  Eric SteeleAdminEric Steele (Admin, Plone) responded  · 

    Work on this began at the post-conference sprints in 2010. plone.app.testing (included in 4.1) has a webdriver layer. Other packages have already begun building tests against this.

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Dylan JayDylan Jay commented  ·   ·  Flag as inappropriate

        zc.testbrowser.real uses firefox to provide js support for the existing testbrowser/doctest tests. It uses the same API has zc.testbrowser. It would be fantastic to have another testbrowser API compatible backend using webdriver or selenium RC. testbrowser is an awesome api for right functional tests as its easy to fit in your head making it great for test driven development so I wouldn't agree with any change to that API.

      Feedback and Knowledge Base