Hi,
You have to use exam-maven-plugin to start your Karaf feature configuration
during pre-itests phase and stop it in the post-itests one.
Then you can use Selenium outside OSGI.

Here's a working sample of Selenium tested WebUI module:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.samples/net.osgiliath.hello/net.osgiliath.hello.ui

You can also use Osgiliath UI archetype in order to generate a Selenium
testable AngulareJS module.

Regards


2014-07-23 10:23 GMT+02:00 Daniel McGreal <[email protected]>:

> Hi Karaf users,
>
> My team report difficulties running Selenium in Karaf. I’ve googled around
> a bit and found a few posts on this topic which I need some time to
> understand (as mostly they lack their original context). I wonder if, in
> the mean-time, anyone could offer their experiences and methodologies doing
> web-ui testing with Karaf?
>
> Thanks! Dan.




-- 
Charlie Mordant

Full OSGI/EE stack made with Karaf:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent

Reply via email to