[Ironruby-core] IronRuby with WatiN

rahoolm luvrahoo at gmail.com
Fri Sep 13 21:35:13 UTC 2013


Is this issue resolved?



I am able to work with IronRuby latest version and WatiN latest version.



Here is code script name ironrubywatin.rb

require 'WatiN.Core'



include WatiN::Core



ie = IE



find = Find





ie.new('www.google.com')

ie.bring_to_front

ie.text_field(find.by_name('q')).type_text("IronRuby and WatiN")

ie.button(find.by_name("btnG")).click



ie.close

ie.dispose



use below statement to run the script



ir -S ironrubywatin.rb



The above script works only when all the dll and the script are in same 
location.

WatiN.Core.dll

Interop.SHDocVw.dll

Microsoft.mshtml.dll

ironrubywatin.rb



Thanks and Regards



More information about the Ironruby-core mailing list