1 down vote 
favorite<http://stackoverflow.com/questions/13386356/watir-automation-on-windows-7-with-ie8#>
 
  
I am trying to run watir scripts on Wndows 7 on IE8 as administrator. 

Here is problem description: Problem was with below statement(popup 
windows) popup = Watir::IE.attach(:url, /ContactDetails/) and Error message 
was ‘ Unable to locate the url(ContactDetails)

The issue seems to be that when there already exists an instance of IE8 
that was opened with administrative privs, Watir won't see any other IE8 
windows that are being run as admin, including ones it opens itself.

Fix that i have been doing: Turn off User Account Control (set to the 
lowest setting). Go to Control Panel->System and Security->Action 
Center->Change User Account Control settings, and drop the slider to the 
lowest setting.

But this is not a permanent fix, i have to change the windows 7 settings 
every day to run my automation script.

Can anyone help me finding out the permanent solution ?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to