摘要:
modal dialog title locate issue:>ruby new_awp_registration.rbC:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/modal_dialog.rb:55:in `locate': Title value must be String (ArgumentError) from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/modal_dialog.rb:86:in `initialize' f 阅读全文
摘要:
In Ruby 1.8.7, there is no SciTE edit tool released together with the new Ruby version. Therefore we need to install this tool by ourselves.An Windows Installer SciTE download is on below page,http://opensource.ebswift.com/SciTEInstaller/scite-2.12.msi (2.97 megabytes) 阅读全文
摘要:
I have faced one issue, after running the ruby code, version 1.8.7, it will report error as following,Issue:>ruby test.rbtest.rb:2:in `require': no such file to load -- watir (LoadError) from test.rb:2>Exit code: 1Solution:Before require “watir”, add require “rubygems”.require "rubyge 阅读全文