Hey Charley, thanks for taking a look! Yeah, I mistakenly pasted an internal
url. Our public site is:
http://www.divinecaroline.com/public/login/show_login_page<http://carolinerr.realgirlsmedia.local/public/login/show_login_page>
Jeff
On 3/8/07, Charley Baker <[EMAIL PROTECTED]> wrote:
Hey Jeff,
I'm not able to get to the site you have listed in your test, seems the
url might be local to your internal network? When you include
unittests/setup there's a line at the beginning there: END {$ie.close if
$ie; Watir:: IE.quit} which closes ie when your tests are done running.
-Charley
On 3/7/07, Jeff Fry <[EMAIL PROTECTED] > wrote:
> Hi all,
> I am getting an unfamiliar error and hoping someone can lend a hand.
>
> I'm currently using Watir 1.5.1.1145
> I just got:
>
> >ruby create_many_messages.rb
> > Loaded suite create_many_messages
> > Started
> > E
> > Finished in 4.544 seconds.
> >
> > 1) Error:
> > test_send_many_messages(TC_SendManyMessages):
> > WIN32OLERuntimeError: unknown property or method `readOnly'
> > HRESULT error code:0x80020006
> > Unknown name.
> > (eval):3:in `invoke'
> > (eval):3:in `readonly?'
> > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3798:in
> > `assert_not_readonly'
> > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3884:in
> > `set'
> > create_many_messages.rb:17:in `test_send_many_messages'
> >
> > 1 tests, 0 assertions, 0 failures, 1 errors
> > >Exit code: 1
> >
>
> After trying:
>
> $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 ==
> > __FILE__
> > require 'unittests/setup'
> >
> > class TC_SendManyMessages < Test::Unit::TestCase
> > include Watir
> >
> > $email = " [EMAIL PROTECTED]"
> > $pw = "password"
> >
> > def test_send_many_messages
> >
$ie.goto("http://carolinerr.realgirlsmedia.local/public/login/show_login_page
> > ")
> > $ie.text_field(:id ,"label_user_email").set($email) # THIS IS
> > THE LINE IT CHOKES ON
> > $ie.text_field(:id ,"label_user_password").set($pw)
> > $ie.link(:name, "login_button").click
> > end #def
> >
> > end
> >
>
> A search of the archives gave me
http://forums.openqa.org/thread.jspa?messageID=10228
> ...but this seems to have been fixed in 9/06, so I think I must be
> hitting something different.
>
> Am I screwing something up here?
>
> BTW, our site is public so the code above should execute for you...just
> as poorly as it executes for me. ;0)
>
> Thanks in advance for any help,
> Jeff
>
>
> BTW, I remember in the past watir left IE open unless I explicitly
> called ie.close. When I'm coding, I often like to leave IE open to see
> where I bombed. Is there a way I can switch back to not automagically
> cleaning up while I'm coding? I did a quick search of watir.rb but
> didn't see anything promising. Thanks again.
> _______________________________________________
> 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
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general