Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Testing Struts applications with Selenium

Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
  • 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


Selenium failure. Please report to, 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 ]
To do a great right, do a little wrong - shakepeare. twisted little ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic