[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

ie.start & ie.new

Vijay Pillai

10/10/2008 4:04:00 AM

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.googl...
# 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
--
Posted via http://www.ruby-....

1 Answer

Paul Rogers

10/10/2008 9:38:00 PM

0

On Oct 9, 10:03 pm, Vijay Pillai <pillai...@gmail.com> wrote:
> 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.googl...
> # 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
> --
> Posted viahttp://www.ruby-....

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

Paul