kieker-monitoring / kieker

Kieker's main repository
Apache License 2.0
70 stars 41 forks source link

[KIEKER-980] Selenium for automated tests #999

Open rju opened 1 week ago

rju commented 1 week ago

JIRA Issue: KIEKER-980 Selenium for automated tests Original Reporter: Nils Christian Ehmke


This was discussed months ago, but I think this could be interesting. It was said that it would be possible to use Selenium for automated tests. I experimented a little bit using the Selenium IDE Plugin for Firefox and think that it could be useful to run such tests (for the continuous integration) making sure that the WebGUI works.

I am still not sure how to setup such a test system. The following steps would be necessary:
1. Start the web application after a successful (nightly) build
1. Start the Selenium server
1. Execute the test scripts (and check for errors)
1. Stop the web application

Maybe one could even use a Jenkins plugin for this purpose?

Is there anyone who already tried this?

Checklist:

rju commented 4 days ago

author André van Hoorn -- Fri, 12 Apr 2013 23:43:49 +0200

Replying to KIEKER-980 Open :
>
> Is there anyone who already tried this?

I remember that ffi, chw have used Selenium; not sure about the Jenkins plugin.

rju commented 4 days ago

author Florian Fittkau -- Sat, 13 Apr 2013 00:56:51 +0200

For a more advanced tool, have a look at http://www.gebish.org/ and it's manual http://www.gebish.org/manual/current/ . Selenium can become really quickly unmaintainable.

Since the perfect integration of geb in grails (which is only running test-app, which runs the tests and generates reports) we actually haven't much experience with a Jenkins plugin.

rju commented 4 days ago

author nils-christian -- Sat, 13 Apr 2013 10:19:17 +0200

Thanks for the feedback. I will take a look at geb and experiment a little bit with the available Jenkins plugins on my local host.