Hi Bret,

I followed your instruction but it report other error message as below.
tc001.rb is my test case and escrow_inc.rb is my include ruby file.

Though the result, the program went to "C:\Documents and Settings\szhou\wor
kspace\Escrow Test\watir\IEDialog\Release\IEDialog.dll " to find some library 
files.
So it also caused by the environment setting.

My WATIR directory is "c:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1065\"
How should I do to tell ruby to find the correct path of the library? Thanks!


C:\Documents and Settings\szhou\workspace\Escrow Test>tc001.rb
./watir.rb:275:in `initialize': LoadLibrary: C:\Documents and Settings\szhou\wor
kspace\Escrow Test\watir\IEDialog\Release\IEDialog.dll (RuntimeError)
        from ./watir.rb:275:in `new'
        from ./watir.rb:275
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge
m_original_require'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire'
        from ./escrow_inc.rb:9
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge
m_original_require'
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire'
        from C:/Documents and Settings/szhou/workspace/Escrow Test/tc001.rb:12
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4136&messageID=11373#11373
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to