[Wtr-general] RuntimeError: failed to get IEnumInterfaceHRESULTerror code:0x80004002
Pascal SERODES
pascal.serodes at ortec.fr
Fri Aug 12 10:23:12 EDT 2005
No the unittests raise the same error
-----Message d'origine-----
De : wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] De la part de Paul Rogers
Envoyé : vendredi 12 août 2005 16:09
À : wtr-general at rubyforge.org
Objet : RE: [Wtr-general] RuntimeError: failed to get IEnumInterfaceHRESULTerror code:0x80004002
Do the unit tests work for you?
-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Pascal SERODES
Sent: 12 August 2005 02:32
To: wtr-general at rubyforge.org
Subject: RE: [Wtr-general] RuntimeError: failed to get IEnum InterfaceHRESULTerror code:0x80004002
My script is very simple,
The error is as soon i try to set a value in a text field (line number
24)
------------------------------------------------------------------------
-------------------------------------#
# test watir pour sioux
#
#-----------------------------------------------------------------------
-------------------------------------#
require 'watir' # the watir controller
# set a variable
siouxHome = 'http://localhost:8080/moa'
# open the IE browser
ie = Watir::IE.new
# print some comments
puts "## Debut test: Sioux Test"
puts " "
puts "Step 1: connexion a sioux: "
ie.goto(siouxHome)
puts "Step 2: loggin "
ie.text_field(:name, 'j_username').set('xxx') --> line number 24;
ie.text_field(:name, 'j_password').set('xxx')
ie.button(:name, 'Connexion').click
if ie.contains_text("noErrorsOnPage")
puts "connexion effectuée"
else
puts "no good"
end
puts " "
puts "## Fin du test"
-----Message d'origine-----
De : wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] De la part de Bret Pettichord Envoyé : jeudi 11 août 2005 17:56 À : wtr-general at rubyforge.org Objet :
Re: [Wtr-general] RuntimeError: failed to get IEnum InterfaceHRESULT error code:0x80004002
The error comes from this line of your script
D:/watir-v1_4/sioux/scripts/t1.rb:24
Please show us your script.
At 04:01 AM 8/11/2005, Pascal SERODES wrote:
>Content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C59E53.4882DE5C"
>
>i want to use watir but i'v got these troubleshooting:
>
>
>d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:805:in `each': Failed to get
>
> IEnum Interface (RuntimeError) HRESULT error code:0x80004002
>
>Cette interface n'est pas prise en charge from
>
> d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:805:in `getObject'
>
> from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3236:in `initialize'
>
> from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `new'
>
> from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:367:in `text_field'
> from
> D:/watir-v1_4/sioux/scripts/t1.rb:24
>
>
>This error raised everytime watir try to set something in IE like
>
> setting a value in a textfield, Reading value from ie looks like OK.
>
> im using window XP SP1
>
> IE 6.0
>
> watir 1.4.2
>
>ruby 1.8.2-15
>
>
>_______________________________________________
>Wtr-general mailing list
>Wtr-general at rubyforge.org
>http://rubyforge.org/mailman/listinfo/wtr-general
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list