• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Testing Struts applications with Selenium

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Im using a struts application whereby the first time the user logs in he/she gets authenticated from a different server. The server authenticates the user based on his Desktop's login credentials. If the user is valid he/she is forwarded to my application which resides on a Tomcat webserver.

Upon entering my application a session is created based on the information from the server. If no information is sent no session is created.

The problem i have is that everytime i try to open the main page i get my session expired page and selenium reports this error.

http://localhost:7000/project/main/home Permission denied

and

Selenium failure. Please report to selenium-dev@openqa.org, with error details from the log window. The error message is: Permission denied

I have read that the above error means that i need to put the selenium files on the same webserver as my application. Here is the structure of my application showing where i put selenium


A few issues i should mention

- As my application is a struts app, all links are references to struts Actions in the struts-config file
- I loaded selenium by going to url http://localhost:7000/project/selenium/TestRunner.html (Does this needs to be configured in struts? if so how?)

I really need to sort this out so any help will be appreciated.
[ November 28, 2006: Message edited by: O. Ziggy ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic