[wtr-general] Re: Creating a class

2010-11-19 Thread Quang
. the search results are paired with the search string       assert(@site.contains_text(Watir, pronounced water, is an open- source (BSD) family of Ruby libraries for automating web))    end    def teardown       @site.close    end end On Nov 18, 10:35 pm, Quang quang...@gmail.com wrote

[wtr-general] Creating a class

2010-11-18 Thread Quang
Hi all, This is google_search.rb: -- require rubygems require firewatir require test/unit class Google def initialize

[wtr-general] user require 'win32ole'

2010-09-10 Thread Quang
Myscript.rb: require 'rubygems' require 'watir' require 'win32ole' ie = Watir::IE.start(www.mimo.vn) I user gem ocra 1.2.0, build file ruby application (.exe) run myscript.exe Failed to create directory 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp \ocr6B1.tmp\lib\ru by\site_ruby\1.8\.'. i think require

[wtr-general] Re: user require 'win32ole'

2010-09-10 Thread Quang
Yes, this is my problem i want to write a file, read from excel, so need require 'win32ole' but when build and run happen that problem i don't know why On Sep 10, 6:19 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Sep 10, 2010 at 8:17 AM, Quang quang...@gmail.com wrote: I

[wtr-general] Re: user require 'win32ole'

2010-09-10 Thread Quang
With Ruby it runs, but with exe file it report error that On 10 Tháng Chín, 04:49, Željko Filipin zeljko.fili...@wa- research.ch wrote: On Fri, Sep 10, 2010 at 1:47 PM, Quang quang...@gmail.com wrote: but when build and run happen that problem Does it work when running from ruby

[wtr-general] Re: user require 'win32ole'

2010-09-10 Thread Quang
Maybe Thanks for help On 10 Tháng Chín, 05:33, Željko Filipin zeljko.fili...@wa- research.ch wrote: On Fri, Sep 10, 2010 at 2:31 PM, Quang quang...@gmail.com wrote: With Ruby it runs, but with exe file it report error that In that case I would suggest that you post to support forum

[wtr-general] The problem about UTF-8

2010-09-10 Thread Quang
I have a problem about UTF-8 when set text_field and click link, I searched alot of it on GROUP and Forum but can't find any answer about it. Can you help me resolve my problem. Thanks! myscript.rb require 'rubygems' require 'firewatir' Watir::Browser.default = 'firefox' ff =