>From your description, it sounds like Watir might be able to be
modified to handle these applications. I encourage you to look at our
Frame support and see if it can be modified to fit.

Bret

On 3/23/06, Prem <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We are evaluating the fitness of Watir to automate web based BPM
> applications built on PRPC. We already know that QTP works fine for it, but
> I have taken up the task of trying out Watir on PRPC. Watir works fine when
> we tried it on our internal applications and I am very much enthusiastic
> about it, but I have run into some serious problems while trying it out for
> PRPC based apps. I cant go furthur than logging in to the application.
>
> I get the following error from Watir when it comes to the first screen after
> I log into the application.
>
> W, [23-Mar-2006 20:14:42#1432]  WARN -- : frame error in waitdocument
>     OLE error code:80070005 in <Unknown>
>       Access is denied.
>
>
>     HRESULT error code:0x80020009
>        Exception occurred.
> D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1485:in
> `method_missing'
>  D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1485:in `wait'
> D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1484:in `wait'
>  D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2248:in `click'
> D:/pmo_wip/FTA/PRPC/open.rb:34
>  D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2389:in
> `method_missing': document (WIN32OLERuntimeError)
>     OLE error code:80070005 in <Unknown>
>       Access is denied.
>
>
>      HRESULT error code:0x80020009
>       Exception occurred.    from
> D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2389:in `document'
>      from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1177:in
> `check_for_http_error'
>     from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1162:in
> `set_defaults'
>     from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1161:in
> `set_defaults'
>     from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1512:in
> `run_error_checks'
>     from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1511:in
> `run_error_checks'
>      from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1499:in
> `wait'
>     from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2248:in
> `click'
>      from D:/pmo_wip/FTA/PRPC/open.rb:34
>
> I found from one of the mails in the list archive that this might be because
> the frame is served from a different server & it might be a cross-site
> scripting limitation.
>
> But in our scenario it is not so. The situation is that in one of the frames
> there is no 'src' tag, rather there is an onload function handler which gets
> the frame source. The problematic portion is given below:
>
> <frameset id="DESKTOPMAINID" name="DESKTOPMAIN" cols="220,*" frameborder="1"
> framespacing="2" onload="framesetscript_initialize()"
> onbeforeunload="framesetscript_onbeforeunload()">
>
> We cannot do away with this approach for frames as this is a vendor provided
> tool upon which our application has been built and the tool itself generates
> the frames so.
>
> Can treat this a defect / deficiency in Watir or do I need to build in a
> workaround?
>
> I dont want to be using QTP, please help me!
>
> --
> - Prem
>
>   I spent a minute looking at my own code by accident.
>   I was thinking "What the hell is this guy doing?"
>   ----------------------------------------------------
>   Prem Kumar Aparanji
>   M: 00919845226618
>   [Bangalore, KA, INDIA]
>
>   http://prem.shaliniprem.com
>   http://www.shaliniprem.com
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>

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

Reply via email to