[Wtr-development] [JIRA] Commented: (WTR-459) click_no_wait does not work with frames

problem_child (JIRA) watirjira at gmail.com
Thu Oct 14 07:12:19 EDT 2010


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

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

After: inserting require "watir/frame" into core.rb.

After: 

-def attach_command
      @container.page_container.attach_command + ".frame(#{@how.inspect}, #{@what.inspect})".gsub('"','\'')
 end 

($DEGUB=true)
=============
Exception `NoMethodError' at C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.6/lib/watir/element.rb:228 - undefined method `eval_in_spawned_process' for #<Watir::Frame:0x3807188>
Exception `NoMethodError' at C:/ruby/lib/ruby/1.8/irb/workspace.rb:81 - undefined method `eval_in_spawned_process' for #<Watir::Frame:0x3807188>
NoMethodError: undefined method `eval_in_spawned_process' for #<Watir::Frame:0x3807188>
        from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.6/lib/watir/element.rb:228:in `click_no_wait'
        from (irb):36
        from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/exceptions.rb:42

> click_no_wait does not work with frames
> ---------------------------------------
>
>                 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
>            Assignee: Jarmo Pertman
>            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