You are right.  The development servers can serve the page from different servers because there is a “traffic” cop server that manages the load.  I don’t think that’s the case for our staging server.

I hope I included the info you need below, but if not, please let me know the exact irb command result(s) I need to send you.  Thanks!  I appreciate it.

 

 

irb(main):008:0> ie = Watir::IE.new

=> #<Watir::IE:0x2ad45b8 @defaultSleepTime=0.1, @error_checkers=[#<Proc:0x02ac09

[EMAIL PROTECTED]:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1213>], @logger=#<Watir::DefaultLogge

r:0x2ad44c8 @level=2, @datetime_format="%d-%b-%Y %H:%M:%S", @progname=nil, @logd

ev=#<Logger::LogDevice:0x2ad43f0 @shift_age=nil, @filename=nil, @dev=#<IO:0x278e

7d0>, @shift_size=nil>>, @typingspeed=0.08, @activeObjectHighLightColor="yellow"

, @enable_spinner=false, @url_list=[], @form=nil, @ie=#<WIN32OLE:0x2ad4558>>

 

irb(main):009:0> ie.goto("https://qa-b1.test.com/araneae/app")

W, [22-Jul-2005 16:11:30#2708]  WARN -- : frame error in waitdocument

    OLE error code:80070005 in <Unknown>

      Access is denied.

 

    HRESULT error code:0x80020009

      Exception occurred.

c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1470:in `method_missing'

c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1470:in `waitForIE'

c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1469:in `upto'

c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1469:in `waitForIE'

c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1332:in `goto'

(irb):9:in `irb_binding'

c:/ruby/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'

c:/ruby/lib/ruby/1.8/irb/workspace.rb:52

W, [22-Jul-2005 16:11:30#2708]  WARN -- : runtime error in wait

=> 0.391

 

irb(main):010:0> ie.html

=> "<FRAMESET border=0 frameSpacing=0 rows=0,* frameBorder=0><FRAME border=0 nam

e=relay marginWidth=0 marginHeight=0 src="" frameBorder=\"\

" noResize scrolling=no><FRAME border=0 name=main marginWidth=0 marginHeight=0 s

rc=\"/araneae/login\" frameBorder=0 scrolling=no></FRAMESET>"

irb(main):011:0> ie.show_frames

there are 2 frames

frame  index: 0 --Access Denied--

frame  index: 1 --Access Denied--

ð      0..1

 

irb(main):012:0> ie.frame(:index, 1).show_all_objects

-----------Objects in  page -------------

WIN32OLERuntimeError: document

    OLE error code:80070005 in <Unknown>

      Access is denied.

 

    HRESULT error code:0x80020009

      Exception occurred.

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1844:in `method_missing'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1844:in `getDocument'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1667:in `show_all_objects'

        from (irb):12

 

irb(main):013:0> ie.frame(:index, 2).show_all_objects

-----------Objects in  page -------------

WIN32OLERuntimeError: document

    OLE error code:80070005 in <Unknown>

      Access is denied.

 

    HRESULT error code:0x80020009

      Exception occurred.

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1844:in `method_missing'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1844:in `getDocument'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1667:in `show_all_objects'

        from (irb):13

 

irb(main):015:0> ie.show_all_objects

-----------Objects in  page -------------

                  id=                 src="">

HTML Document     name=relay          id=                 src="">

l

HTML Document     name=main           id=                 src="">

 

ð      nil

 

 

irb(main):016:0> ie.frame("main").show_all_objects

Watir::Exception::UnknownFrameException: Unable to locate a frame with name main

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1832:in `initialize'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:218:in `new'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:218:in `frame'

        from (irb):16

        from :0

 

irb(main):017:0> ie.frame("relay").show_all_objects

Watir::Exception::UnknownFrameException: Unable to locate a frame with name relay

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1832:in `initialize'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:218:in `new'

        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:218:in `frame'

        from (irb):17

        from :0

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to