Hi Frederick,

Try looking at Selenium, maybe you could use it for UI testing a portlet. Also, there is also a maven plugin available for it. For examples on how to use it, see Continuum's continuum-webapp-test module which you could checkout here: https://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-webapp-test

HTH,
Deng

Frederick N. Brier wrote:
I am developing a portlet and the container provides the portlet implementation, so I used "provided" as the scope. Unfortunately, the unit tests then generate NoClassDefFoundError(s). If I use "test", the project does not build. So what <scope> do I use?

     <dependency>
        <groupId>portlet-api</groupId>
        <artifactId>portlet-api</artifactId>
        <version>1.0</version>
        <scope>provided</scope>
     </dependency>

Also, if there are any examples out there for automated UI testing a Portlet, please let me know. Thank you.

Fred

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to