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

netbeans + ruby + watir web×Ô¶¯²âÊÔ¿ò¼Ü´î½¨

ÕâÊÇÒ»¸ö¿ªÔ´£¬Ãâ·Ñ£¬ÁéÇÉ£¬¼òÒ×µÄweb×Ô¶¯»¯²âÊÔ×éºÏ¿ò¼Ü£»Í¨³£Çé¿ö£¬¿ªÔ´µÄ¶«Î÷×ÜÊǸøÈËÒÔÃÔÈË£¬¿ª·ÅʽµÄ´¥¸Ð£¬µ«Í¬Ê±£¬Ò²ÈÃÈËÄÑÒÔ¿ìËÙ½Ó½ü£¨ÏñÊǶ«·½ÄÐÈË¿´´ýÎ÷·½ÃÀÅ®£©£»ÒªÁ˽âÒ»¸ö¿ªÔ´¶øÇÒ×éºÏƯÁÁµÄ¿ò¼Ü£¬×ÜÊÇÒª·ÑЩÖÜÕÂ......×ܶøÑÔÖ®£¬Ëü²»»áÏñÊշѵĶ«Î÷£¬ÄãºÜÌÖÑáËü£¬µ«²»¿É·ñÈÏ£¬ÄãµÄ¸¶·ÑÆäʵ»»È¡Á˱ðÈ˵ÄËöËéÀͶ¯³É±¾£¬¸÷ÓÐÀû±×£¨¾ÍÏñijЩÈâÌå½»Ò×ËƵģ©¡£
1.netbeans»¹ÊÇÄǸönetbeans¡£ÆäʵÄãÍêÈ«¿ÉÒÔ²»ÓÃËü£¬¿ÉÒÔÖ±½ÓʹÓüÇʱ¾±àÂ룬ȻºórubyÃüÁîÔËÐС£²»¹ý»¹ÊÇÄǸöÔ­Òò£¬¶ÔÓÚÀÏÊÇÔÚ“Íòǧ”ÏîÄ¿ÖÐתÀ´×ªÈ¥µÄÎÒÃÇÕâЩÈË£¬²»ÏñÄÇЩרעÓÚijһÃÅITÒÕÊõµÄ¿ª·¢Õߣ¬ÎÒÃÇÀϲ»Í£µØ½Ó´¥ÐÂÏîÄ¿£¬Ëü²»´ó£¬È´ºÜ·±Ëö£¬ÒòΪËüÀÏÊǸù¾ÝÎÒÃÇ×Ô¼ºµÄ£¬»òÕß“Àϰ唵ÄÒâÖ¾µ½´¦×ªÒÆ£¬ËùÒÔ£¬»ù±¾ÉÏÎÒÃÇûÓÐÌ«¶àʱ¼äרעijһÃÅÒÕÊõ......ÕâÑù£¬¾ÍÒªÇóÎÒÃǶԴó¶àÊý¶«Î÷¶¼Ï£ÍûËü¾¡¿ì´î½¨ÍêÕû£¬½øÈë²âÊÔʹÓý׶Σ»¶Ô£¬Õâ¾ÍÊÇÎÒÏÖÔڵŤ×÷£¬¹þ¹þ£¡×îа汾netbeans 6.8£¡
2.ruby¡£×îÐÂÒѾ­ÊÇ1.9.1ÁË£¬µ«ÊÇÎÒ»¹ÊÇ°²×°ÁË1.8.6£¬Ô­Òò£¿ºÜ¼òµ¥£¡ÎÒgoogle.com.hkµ½µÄµÚÒ»¸ö¾ÍÊÇËü£¬¹þ¹þ£¡
3.watir¾Í¸Ãϸϸ˵ÁË£¬ºÇºÇ£¬ÒòΪǰÃæÁ½¸ö¼òµ¥µÄÔµ¹Ê£¬Õâ¸ö°²×°ÀíËùµ±È»¸´Ôӵ㣬Ҫ²»È»ÓàϵÄʱ¼äÓָÿÕÐé¼ÅįÀäÁË¡£
WatirÈ«³ÆÊÇ“Web Application Testing in Ruby”£¬·¢ÒôÀàËÆ“water”¡£
WatirÄÜ×öʲô£¿
WatirÊÇÒ»¸öRuby¿â£¬Ê¹ÓÃIEä¯ÀÀÆ÷½øÐÐWebÓ¦ÓóÌÐò²âÊÔ¡£
Watir¿ÉÒÔʹÓÃIE5.5£¬IE6.0£¬IE7.0£¬Ö§³ÖWin2000£¬WinXP£¬Win2003 Server£¬Vista¡£
Watir¿ÉÒÔÄ£ÄâÓû§µã»÷Á´½Ó£¬Ìîд±íµ¥£¬µã»÷°´Å¥¡£
Watir¿ÉÒÔÄ£ÄâÓû§ÑéÖ¤Ò³ÃæÄÚÈÝ¡£
Watir²»ÄÜ×öʲô?
Watir²»ÄÜÓÃÓÚFirefox£¬Safariä¯ÀÀÆ÷£¬Ò»¸öÌæ´ú·½°¸ÊÇʹÓÃFirewatir»òÕßSafariwatir¡£
Watir²»ÄÜÓÃÓÚAjax controlµÄ²âÊÔ¡£
Watir²»Ö§³ÖActivexµÄ²âÊÔ
Watir²»Ö§³ÖIE DialogµÄÖ§³Ö(ÒÔÇ°Ôø¾­Ö§³Ö¹ý)¡£
ÒòΪruby×°µÄ²»ÊÇ×îа汾£¬ËùÒÔ£¬×îа汾µÄwatir°²×°Ê§°Ü£¬Õâ¸ö×îа汾ÊÇwatir-1.6.5.gem¡£¾­¹ý¼«ÆäÊ®·Ö·Ç³£ÑϸñµÄ°²×°²âÊÔ£¬·¢ÏÖwatir-1.5.6.gem¿ÉÒÔ×°µÃ½øÈ¥£¡
×¢ÒâÊÂÏî:
1).±¾µØ°²×°ÃüÁ  gem install watir-1.5.6.gem         ×¢ÊÍ£º¡¾ÕâÀï²»ÊÇÃüÁ·Ö£¡¡¿ÐèÒªcdµ½watir-1.5.6.gemËùÔÚĿ¼
2).Ô¶³Ì°²×°ÃüÁ  gem install watir-1.5.6.gem --remote
3).ÔËÐÐruby°²×°Ä¿Â¼/lib/ruby/gems/1.8/gems/wa


Ïà¹ØÎĵµ£º

Install Cassandra with Ruby 1.9.1 on Windows

To get it done is not easy. I spent a whole day to figure out the various compatibility issues along the way out.
Now there still might be potential issues, but it works by my rough test.
Step 1: Install Apache Cassandra
  You may know that the Ruby gem cassandra will do it for you.
  ......

Ruby ¼ò½é

    Ruby£¬Ò»ÖÖ為簡單¿ì½ÝÎï¼þ導Ïò編³Ì£¨ÃæÏò¶ÔÏó³ÌÐòÉè¼Æ£©¶ø創µÄ½Å±¾語ÑÔ£¬ÔÚ20ÊÀ¼Í90Äê´úÓÉÈÕ±¾ÈËËɱ¾Ðк루¤Þ¤Ä¤â¤È¤æ¤­¤Ò¤í£¯Yukihiro Matsumoto£©¿ª·¢£¬×ñÊØGPLЭÒéºÍRuby License¡£ËüµÄÁé¸ÐÓëÌØÐÔÀ´×ÔÓÚPerl¡¢Smalltalk¡¢Eiffel¡¢Ada ÒÔ¼° Lisp ......

windows ÏÂrubyµÄ°²×°

1£¬°²×°ruby
ÏÂÔصØÖ·£º http://rubyinstaller.org/download.html
2£¬°²×°rails
ʹÓÃÃüÁîÏÂÔØ£ºÔÚÃüÁîÐÐÔËÐÐgem install rails --remote
2£¬³õ²½Á˽ârubyµÄÎÄÕÂ
http://www.bcbbs.net/html/29671.html
http://www.bcbbs.net/dev/List64.aspx ......

Windowsƽ̨µÄruby IDE µãÆÀ

ת×Ô http://www.javaeye.com/topic/57474 
Windowsƽ̨µÄruby IDE µãÆÀ
ÔÚMacOSƽ̨¼¸ºõûÓÐʲôÕùÒéÐÔ£¬´ó¼Ò¶¼ÓÃTextMate¡£µ«ÊÇWindowsƽ̨¿É¹©Ñ¡ÔñºÍʹÓõÄIDEºÜ¶à£¬È´¸÷Óи÷µÄ³¤´¦ºÍ¶Ì´¦¡£»ùÓÚÎÒÓùýµÄËùÓÐruby IDEµãÆÀһϡ£windowsƽ̨µÄRoR IDEÖ÷Òª·ÖΪÁ½ÀࣺһÀàÊÇÖØÁ¿¼¶µÄÈ«¹¦ÄÜIDE£¬ÀýÈçEclipse£¬Netbeans ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ