I am testing an application whose main page is like this
 
 <frameset id="frameset" border="0" frameborder="no" framespacing="0" rows="130,*,0" marginheight="0"
  marginwidth="0">
  <frame id="a" name="a" src="" a.aspx">
  <frame id="b" name="b"  src="" >
  <frame id="c" name="c"  src=""> </frameset>
 
All my testing controls are in frame b.
when the frame b contains http pages, WATIR is able to access it,
When the frame b contains a login page which is https, WATIR is throwing an error.
 
I understand it is due to the cross domain scripting. Is there a way to over home  this error
 
there are 3 frames
frame  index: 0 name: header
frame  index: 1 --Access Denied--
frame  index: 2 name: download
 
 
 

W, [27-Sep-2005 21:49:45#3704]  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 `wait'
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 `wait'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1849:in `waitForIE'
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2099:in `click'
E:/home-ST.rb:97:in `test_print_assertion'
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:70:in `__send__'
c:/ruby/lib/ruby/1.8/test/unit/testcase.rb:70:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in `each'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:32:in `run'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in `each'
c:/ruby/lib/ruby/1.8/test/unit/testsuite.rb:31:in `run'
c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:44:in `run_suite'
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:65:in `start_mediato
c:/ruby/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:39:in `start'
c:/ruby/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:27:in `run'
c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:194:in `run'
c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:14:in `run'
c:/ruby/lib/ruby/1.8/test/unit.rb:285
c:/ruby/lib/ruby/1.8/test/unit.rb:283
W, [27-Sep-2005 21:49:45#3704]  WARN -- : runtime error in wait

 

 

These are the errors i get

 

Thanks,

Sankar


 
On 9/27/05, Jeff Wood <[EMAIL PROTECTED]> wrote:
Provide us with a bit more information ( like the actual error that
you're getting ) and it'll help us provide you with an answer...

j.

On 9/27/05, Sankar <[EMAIL PROTECTED]> wrote:
> Hi There,
>  I am trying to automate a web site which uses "Frames" using WATIR.
>  For the login of user account, the web page is hosted on https://
>  For that particular page alone,
> $ie.frame("frame2").button(:name,"login").click doesnt work
> .
>
>  Any idea why is that ??
>  is there a way of work around ?
>
>  Thanks,
>  - Sankar
>
> --
> If you enjoy programming computers, you are in a very fortunate minority of
> people who can make a great living doing work they enjoy. - Joel
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
>


--
"http://ruby-lang.org -- do you ruby?"

Jeff Wood

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



--
If you enjoy programming computers, you are in a very fortunate minority of people who can make a great living doing work they enjoy. - Joel
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to