J
Jade Tucker
Hi,
I have a watir script to test a MS Sharepoint web site that is being run
by Cruise Control on a windows machine under an administrator account.
I have tested the script on the server just running it through the
command line and it works fine. When i log out and let cruise control
run the test it never stops. I have to log back in and kill the ie
process to see any output in my log file. The log reports that the
windows authentication diaglog was found and enters a username and
password(using autoit) and then it waits to check the title of the
webpage to make sure that it loaded. The script never makes it past
this step (@browser.title() or @browser.html()).
This is part of my cruise control log:
================================================
<![CDATA[
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:447:in
`method_missing': unknown property or method `document'
(WIN32OLERuntimeError)
]]>
</message>
- <message priority="info">
- <![CDATA[ HRESULT error code:0x800706ba
]]>
</message>
- <message priority="info">
- <![CDATA[ The RPC server is unavailable. from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:447:in
`document'
]]>
</message>
- <message priority="info">
- <![CDATA[ from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/page-container.rb:31:in
`page'
]]>
</message>
- <message priority="info">
- <![CDATA[ from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/page-container.rb:37:in
`html'
]]>
==================================================
I am not sure what is happening. I have tried to print the html data
into my log but that isn't working either. Anyhelp would be much
appreciated. I have another script running firewatir as a scheduled
task and it is working fine.
Thanks for any advice or help you can offer.
I have a watir script to test a MS Sharepoint web site that is being run
by Cruise Control on a windows machine under an administrator account.
I have tested the script on the server just running it through the
command line and it works fine. When i log out and let cruise control
run the test it never stops. I have to log back in and kill the ie
process to see any output in my log file. The log reports that the
windows authentication diaglog was found and enters a username and
password(using autoit) and then it waits to check the title of the
webpage to make sure that it loaded. The script never makes it past
this step (@browser.title() or @browser.html()).
This is part of my cruise control log:
================================================
<![CDATA[
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:447:in
`method_missing': unknown property or method `document'
(WIN32OLERuntimeError)
]]>
</message>
- <message priority="info">
- <![CDATA[ HRESULT error code:0x800706ba
]]>
</message>
- <message priority="info">
- <![CDATA[ The RPC server is unavailable. from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ie.rb:447:in
`document'
]]>
</message>
- <message priority="info">
- <![CDATA[ from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/page-container.rb:31:in
`page'
]]>
</message>
- <message priority="info">
- <![CDATA[ from
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/page-container.rb:37:in
`html'
]]>
==================================================
I am not sure what is happening. I have tried to print the html data
into my log but that isn't working either. Anyhelp would be much
appreciated. I have another script running firewatir as a scheduled
task and it is working fine.
Thanks for any advice or help you can offer.