ie.start & ie.new

V

Vijay Pillai

Hello,

I am a beginner to Ruby & Watir, as new as three days :) I am facing
some beginner issues ...
When trying to use ie.new or ie.start, a fresh IE opens up and when
using ie.goto on that object opens a new IE browser to navigate to the
site. I tried physically typing the url on the blank / fresh browser
that ruby opens up after ie.new or ie.start but I get this error "For
your computers security, websites that are in different security zones
should open up in different windows".

Is there some stting changes that will solve this problem as clearly
none of you guys are facing this issue with a ie.new or ie.start.

The below code will cause the same problem,

require 'watir' # the watir controller
# set a variable
test_site = 'http://www.google.com'
# open the IE browser
ie = Watir::IE.new # this opens up a blank . fresh / new browser
ie.goto(test_site) # This opens up another browser
 
P

Paul Rogers

Hello,

I am a beginner to Ruby & Watir, as new as three days :) I am facing
some beginner issues ...
When trying to use ie.new or ie.start, a fresh IE opens up and when
using ie.goto on that object opens a new IE browser to navigate to the
site. I tried physically typing the url on the blank / fresh browser
that ruby opens up after ie.new or ie.start but I get this error "For
your computers security, websites that are in different security zones
should open up in different windows".

Is there some stting changes that will solve this problem as clearly
none of you guys are facing this issue with a ie.new or ie.start.

The below code will cause the same problem,

require 'watir' # the watir controller
# set a variable
test_site = 'http://www.google.com'
# open the IE browser
ie = Watir::IE.new # this opens up a blank . fresh / new browser
ie.goto(test_site) # This opens up another browser

search the watir mailing list for an answer. Its been asked several
times before. Its something to do with vista.

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,142
Latest member
arinsharma
Top