[Owncloud] Selenium IDE test suite

Jörn Friedrich Dreyer jfd at owncloud.com
Thu Jul 4 13:09:59 UTC 2013


I need a way to automate testing ownClouds base functionality. While
writing test cases for cucumber would allow us to execute an acceptance
testsuite in various configurations I needed something now to test
ownCloud on oracle.

Enter Selenium IDE: http://docs.seleniumhq.org/projects/ide/

It is basically a macro recorder and executor for Firefox. I started
yesterday and already added the following tests:

  * logout
  * login failure warning
  * login with admin user
  * create test user with cryptic password
  * check and close welcome dialog
  * file upload
  * multiple file upload
  * file upload autorename

Next up more file related tests and sharing.

The tests can be executed in your Firefox. For example after upgrading
an old version of owncloud to owncloud 5 *hint* *hint*
or we might export them as selenium webdrivers which can be executed by
jenkins. At least that's the idea.

Currently the testsuite resides in
https://github.com/butonic/owncloud-selenium.

Let me know if this is helpful for you. Oh and ... patches welcome!

so long

Jörn

-- 
Jörn Friedrich Dreyer (jfd at owncloud.com)
Senior Software Engineer
ownCloud GmbH

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130704/b7b4643d/attachment.html>


More information about the Owncloud mailing list