[Wtr-development] [JIRA] Commented: (WTR-459) click_no_wait does not work in ruby 1.8.6 (2007-09-24 patchlevel 111)

problem_child (JIRA) watirjira at gmail.com
Wed Oct 13 08:52:20 EDT 2010


    [ http://jira.openqa.org/browse/WTR-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19917#action_19917 ] 

problem_child commented on WTR-459:
-----------------------------------

#click_no_wait command:
ruby -e "require 'rubygems';require 'C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.6/lib/watir/core';Watir::Button.new(Watir::IE.attach(:hwnd, 4654902).frame(:name, \"frmMain\"), :unique_number, 1).click!"
Exception `WIN32OLERuntimeError' at C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.6/lib/watir/element.rb:207 - 
    OLE error code:0 in <Unknown>
      <No Description>
    HRESULT error code:0x80070057
      The parameter is incorrect.
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.6/lib/watir/container.rb:104:in `frame': uninitialized constant Watir::Container::Frame (NameError)
        from -e:1
=> nil

> click_no_wait does not work in ruby 1.8.6 (2007-09-24 patchlevel 111)
> ---------------------------------------------------------------------
>
>                 Key: WTR-459
>                 URL: http://jira.openqa.org/browse/WTR-459
>             Project: Watir
>          Issue Type: Bug
>          Components: Wait
>    Affects Versions: 1.6.6
>         Environment: ruby 1.8.6 (2007-09-24 patchlevel 111), Watir 1.6.6
>            Reporter: problem_child
>            Priority: Blocker
>
> click_no_wait is not working in ruby 1.8.6 (2007-09-24 patchlevel 111), Watir 1.6.6
> $frame.button(:name, "button1").click_no_wait
> =>nil
> If I use $frame.button(:name, "button1").click it works so it is finding the object.
> But using click_no_wait results in nill using IRB.
> An error is not reported otherwise.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Wtr-development mailing list