Hi Chuck, thanks for your response. You are right!.
I was opening the command line as a regular user. Then, I enabled the security of IE, opened the command line as administrator and I could work with Watir without any problems. Very good advice, thanks again. On Monday, May 28, 2012 10:52:24 PM UTC-5, Chuck van der Linden wrote: > > are you opening a regular command line window to run the scripts, or are > you opening it using 'as administrator' ?? without doing it in admin mode, > the IE security might be preventing a lot of the interaction between watir > and the browser. > > On Monday, May 28, 2012 5:10:18 PM UTC-7, Andrés wrote: >> >> Hi Zeljko, >> >> >> thank you very much for your help. >> >> >> At least I solved the problem. I disabled the security of IE and >> everything goes right!. >> >> Do you have any explanation of the problem? The same ocurred with >> Watir::Browser.new >> >> >> >> On May 28, 4:08 pm, Željko Filipin <[email protected]> wrote: >> > On Mon, May 28, 2012 at 5:25 PM, Andrés <[email protected]> >> wrote: >> > > irb(main):002:0> browser = Watir::IE.new >> > >> > What happens when you replace this with: >> > >> > browser = Watir::Browser.new >> > >> > Željko >> > -- >> > watir.com/book - author > > -- 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]
