My Selenium IE instance not loading for Users that are not administrators My Selenium IE instance not loading for Users that are not administrators selenium selenium

My Selenium IE instance not loading for Users that are not administrators


From the looks of the path you have supplied

D:\PathToFolder\Project1\bin\Debug\

You are trying to run the driver from where it hase been compiled by Visual Studio. There are a couple of reasons why this may not work.

When you setup and compiled the code in visual studio it would have created the debug folder ect and used the permissions of the current user. This means that that user and Admins may be able to access it but no body else. Or if this was done as an Admin it may only be accessible to admins.

Quiet often Visual Studio and other IDEs will also have a different working directory and compile the exe into different directories depending on what build options you have selected. For example release versus debug. What this means is that dll's ect used by the exe are not in the same diretory as the exe. When you run inside visual studio this isn't a problem as it set the correct working directory and sorts it all out for you. In your case it is probably not quiet that simple if this is part of the problem. What it might mean is that any requisite dll's ect might be installed and in the path for the Admin but not for normal users.

What this breaks down to is this is likely a path or permissions issue. I would suggest using something like Dependency walker to see what the of the exe are: http://www.dependencywalker.com/ and ensuring that all users can access them.

If you do this as a user that the program is not working for dependency walker will show you what dependencies are not being found.