File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes spring dependency injection not working with Selenium Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "spring dependency injection not working with Selenium" Watch "spring dependency injection not working with Selenium" New topic
Author

spring dependency injection not working with Selenium

kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
Hey,

Here is what i'm doing to get automatic bean wiring for selenium and fitnesse test to run.



When i test this i get the following exception.



All other tests which doesn't use dependency injection run well.

Thanks in advance
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
134

Kalyen,
Is j2ee.jar in your classpath?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
kalyen kumar
Ranch Hand

Joined: Sep 18, 2008
Posts: 53
Thanks for your response.

The issue got resolved. I was excluding selenium-server artifact. I commented out that part. The tests are working fine.
 
 
subject: spring dependency injection not working with Selenium
 
Similar Threads
Help with reprinting downloaded text from FTP site onto GUI!
Spring 2.5 - Rolling back first method, when the second method throws Runtime ex
A Simple Test Framework using JUnit and Spring (Part 1)
what is WebappLoader.java ?
Spring Junit test issue