Manish Sapariya wrote:
> Hi,
> Following code generates Exception.
> ==============
> $ie.minimize
> $ie.goto("https://rcdut11.gs-lab.com/analyst")
> ==============
> 1) Error:
> test_securityAlertYes(TC_SecurityAlert_Test):
> WIN32OLERuntimeError: document
> OLE error code:80004005 in <Unknown>
> <No Description>
> HRESULT error code:0x80020009
> Exception occurred.
> ./../watir.rb:1480:in `method_missing'
> security_alert_test.rb:32:in `join'
> security_alert_test.rb:32:in `test_securityAlertYes'
>
> 1 tests, 0 assertions, 0 failures, 1 errors
> >Exit code: 1
>
> Is this issue known? Shall I log a jira issue for this?
>
>
Please add the following notes to the Jira ticket:
I suspect that this can be fixed by changing IE#title thus:
class Watir::IE
def title
@ie.name
end
end
This problem has actually been reported many times before and also
occurs in 1.4. The workaround is to do the goto *before* the minimize.
This bug reveals a hole in our unit tests and therefore a proper fix
will require a unit test to cover this case as well.
> By the way, I have working version of this with my guitest code.
>
I don't know what you mean by this. Do you have a fix?
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general