Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

rubyºÍwatirѧϰ³£ÓÃÍøÕ¾ÕûÀí

ת×Ô51testing.com, Ô­¼û£ºhttp://bbs.51testing.com/thread-171535-1-1.html http://swik.net/Watir+Programming
http://www.pragprog.com/ #ºÜ¶àºÃµÄÔ´ÂëŶ
http://docs.rubygems.org/ #rubygems
http://www.fxruby.org/  #fxruby
http://groups.google.com/group/watir-general/topics #google watirÌÖÂÛ×é
http://ruby.nanshapo.com/weeks/2007-29.html
http://www.gotapi.com/rubyrails #API±È½ÏÈ«
http://www.ruby-forum.com/forum/4 #rubyµÄÂÛ̳
http://navigation-china.com/ExcelVBA/Main.htm #excelµÄAPIº¯Êý
http://members.shaw.ca/paul_rogers/watir_tests/ #Á·Ï°³¡Ëù
http://www.kuqin.com/rubycndocument/man/index.html #ruby²Î¿¼ÊÖ²á
http://www.ruby-doc.org/core/ #ruby API
http://wtr.rubyforge.org/rdoc/ #watirµÄapi
http://wiki.openqa.org/display/WTR/Project+Home #watir½Ì³Ì
http://www.w3school.com.cn/
http://www.rubyidea.com/bbs/
http://okruby.com/   #Óкܶà½Ì³Ì
http://www.docin.com/app/searchnew/fpg?keyword=ruby #ºÜ¶àÔÚÏß×ÊÁÏ
http://www.boobooke.com/bbs #ÄÇÀïÃæÐÂÊé±È½Ï¶à£¬ÄÇЩÀÏʦÕæÊÇÉñ
¶àл×ÓľºÍÌì¿ÕÌṩ


Ïà¹ØÎĵµ£º

Ruby¼Ì³Ð ¾ÅͲһÌõ

Ruby ÀàµÄ¼Ì³Ð
¹Ø¼ü×Ö: Ruby ÀàµÄ¼Ì³Ð


Ò»¡¢ÆÕͨ·½Ê½µÄ¼Ì³Ð
 RubyÖ»Ö§³Öµ¥¼Ì³Ð
 
ruby ´úÂë
class
 Child < Father
  

......   

end
  

    ObjectÊÇËùÓÐÀàµÄʼ×棬²¢ÇÒObjectµÄʵÀý·½·¨ ......

rubyÎļþ´ÓÃüÁîÐÐÖнÓÊÕ²ÎÊý£¨È«¾Ö±äÁ¿£ºARGV)


ÏÂÎÄת×Ô£º
http://www.cnblogs.com/watir/archive/2009/04/25/1443440.html
rubyÎļþ´ÓÃüÁîÐÐÖнÓÊÕ²ÎÊý
ÔÚÃüÁîÐз½·¨Ö´ÐÐrubyÎļþʱ£¬ÐèÒª´ÓÃüÁîÐÐÖд«Èë²ÎÊý£¬¿ÉÒÔʹÓÃÈ«¾Ö±äÁ¿£ºARGV
ÈçÓÐruby Îļþtest.rb,ÄÚÈÝÈçÏ£º
1 def hello(a)
2   puts a
3 end

5  ......

RubyϽâ¾öoci8°²×°´íÎóµÄÎÊÌâ

Prepare
1. Download 'OCI 1.x.x.rb' (it's VERY important - execution MUST be *.rb)
2. Download 'oci8lib.so'
Install
1. Copy 'OCI8.rb' to .../ruby/lib/ruby/site_ruby/1.8/DBD/OCI8
2. Copy 'oci8.rb' to .../ruby/lib/ruby/site_ruby/1.8
3. Copy 'oci8lib.so' to .../ruby/lib/ruby/site_ruby/1.8/i386-msv ......

Ruby Ruportʵ¼ù—¼òµ¥±¨±íϵͳ

¿ª·¢»·¾³
OS:WindowsXP
Ruby:Ruby1.8.7
Rails:Rails2.3.5
Mysql:Mysql5.0.9
IDE:Rubymine2.0.1
×¼±¸¹¤×÷£º
°²×°ÒÔÏÂgem°ü
gem install ruport
gem install ruport-util
gem install acts_as_reportable
±¾ÀýÉè¼ÆµÄ±¨±íϵͳ¹¤×÷Ô­ÀíÈçͼ£¨´¿Êô¸öÈËÀí½â£©£¬ÒÔProducts±íΪÀý£º
½ÓÏÂÀ´ÊµÏÖµÄÀý×Ó½«ÀûÓÃeval·½·¨ÊµÏ ......

install ruby on cygwin

ת×Ô http://zhujg.javaeye.com/blog/355040
Ê×ÏÈ °²×° cygwin
cygwin Òª°²×°µÄ²å¼þÊÇ
ĬÈϵÄ+ make + gcc + libiconv
+ openssl
cygwinÏÂÐèÒª±àÒëÔ­Îļþ
µ½ruby-lang(http://ruby-lang.org/)
ÏÂÔØruby-1.9.1-p0.tar.gz
tar xvf ruby-1.9.1-p0.tar.gz
cd
ruby-1.9.1-p0
./configure
make && make in ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ