[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 mattwatir
I have been spending most of my time on Linux instead of Windows but the error seems to me to maybe be a permission error. From working with Windows in the past, to install certain things required administrative access; this is one directory that you will need rights to access. Also, I would check

[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-09-10 Thread al3kc
So watir-webdriver will be final solution to support FF4.0? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

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

2010-09-10 Thread Željko Filipin
On Fri, Sep 10, 2010 at 8:17 AM, Quang quang...@gmail.com wrote: 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 am not sure what you are doing and what the

Re: [wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-09-10 Thread Željko Filipin
On Fri, Sep 10, 2010 at 11:11 AM, al3kc aleks.kiev...@gmail.com wrote: So watir-webdriver will be final solution to support FF4.0? As far as I understood it, yes. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this

[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

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

2010-09-10 Thread Željko Filipin
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 (and not from exe file)? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received

[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 (and not

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

2010-09-10 Thread Željko Filipin
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 of the software that you have used to build exe file, since looks like the problem is there. Željko -- Before

[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 of the

[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 =

[wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Usman Hussain
Hey jari, I am unable to try this as im ot at work today but will give it a go at home tomorrow. I tried re-installing autoit by going to: C:\ruby\lib\ruby\gems\1.8\gems\watir-webdriver\lib\watir-webdriver from the command line and then typing in: regsvr32 AutoItX3.dll but i get an error

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Jari Bakken
On Fri, Sep 10, 2010 at 3:22 PM, Usman Hussain usmanhhuss...@gmail.com wrote: I tried re-installing autoit by going to: C:\ruby\lib\ruby\gems\1.8\gems\watir-webdriver\lib\watir-webdriver from the command line and then typing in: regsvr32 AutoItX3.dll but i get an error message. The AutoIt

Re: [wtr-general] The problem about UTF-8

2010-09-10 Thread Keith Hughes
I tried your script and got a problem with the format of the text entered in firefox. However it worked fine in Internet Explorer. Could this be a firewatir or firefox issue specifically? On Fri, Sep 10, 2010 at 1:59 PM, Quang quang...@gmail.com wrote: I have a problem about UTF-8 when set

[wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Usman Hussain
Its a Javascript window... Its a pop up box with only an OK button... Its driving me up the wall this is... can not wait for the weekend lol On Sep 10, 2:24 pm, Jari Bakken jari.bak...@gmail.com wrote: On Fri, Sep 10, 2010 at 3:22 PM, Usman Hussain usmanhhuss...@gmail.com wrote: I tried

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Željko Filipin
On Fri, Sep 10, 2010 at 4:31 PM, Usman Hussain usmanhhuss...@gmail.com wrote: Its a Javascript window... Its a pop up box with only an OK button... I think this could help you: http://stackoverflow.com/questions/3652582/alert-box-in-waitr-webdriver

Re: [wtr-general] The problem about UTF-8

2010-09-10 Thread Ethan
Firewatir does not support utf-8. Vapir-Firefox does, I recommend trying it. http://vapir.org/ On Fri, Sep 10, 2010 at 10:01, Keith Hughes khughe...@gmail.com wrote: I tried your script and got a problem with the format of the text entered in firefox. However it worked fine in Internet

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Jari Bakken
On Fri, Sep 10, 2010 at 4:31 PM, Usman Hussain usmanhhuss...@gmail.com wrote: Its a Javascript window... Its a pop up box with only an OK button... How was it created? If it's through prompt(), confirm() or alert(), then Željko's first link should work for you. -- Before posting, please read

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Sarndeep Nijjar
here you go dumbass: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups On Fri, Sep 10, 2010 at 4:02 PM, Jari Bakken jari.bak...@gmail.com wrote: On Fri, Sep 10, 2010 at 4:31 PM, Usman Hussain usmanhhuss...@gmail.com wrote: Its a Javascript window... Its a pop up box with only an OK

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Željko Filipin
On Fri, Sep 10, 2010 at 5:38 PM, Sarndeep Nijjar sarndeepnij...@googlemail.com wrote: here you go dumbass: -- In short: search before you ask, be nice. Did you read the footer of every mail sent from this group? It reads: be nice. If you do not like the question, ignore it. There is no need

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Basim Baassiri
+1 name calling is unacceptable On Fri, Sep 10, 2010 at 11:44 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Sep 10, 2010 at 5:38 PM, Sarndeep Nijjar sarndeepnij...@googlemail.com wrote: here you go dumbass: -- In short: search before you ask, be nice. Did you read

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Sarndeep Nijjar
chill pedro, hes a personal friend. On Fri, Sep 10, 2010 at 4:49 PM, Basim Baassiri ba...@baassiri.ca wrote: +1 name calling is unacceptable On Fri, Sep 10, 2010 at 11:44 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Sep 10, 2010 at 5:38 PM, Sarndeep Nijjar

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Željko Filipin
On Fri, Sep 10, 2010 at 5:51 PM, Sarndeep Nijjar sarndeepnij...@googlemail.com wrote: chill pedro, hes a personal friend. We can not know that. In any case, such language is not welcome here. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver

2010-09-10 Thread Sarndeep Nijjar
ok apologies. my bad. On Fri, Sep 10, 2010 at 4:53 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Sep 10, 2010 at 5:51 PM, Sarndeep Nijjar sarndeepnij...@googlemail.com wrote: chill pedro, hes a personal friend. We can not know that. In any case, such language is not

[wtr-general] Install error with Rasta

2010-09-10 Thread daniel
Would like to kick Rasta's tires but when I try to install the gem I get: C:\watir_testgem install rasta ERROR: Could not find a valid gem 'rasta' (= 0), here is why: Found rasta (0.1.10), but was for platform x86-mswin32-60 Running XP sp3. Any words of kindness from anyone? Thanks.

[wtr-general] Re: Error on initial install of Watir

2010-09-10 Thread blkjk
Thanks. This remedied the issue. On Sep 8, 9:08 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thursday, September 9, 2010, blkjk blkjk@gmail.com wrote:   Error installing Watir.ActiveSupport requires Ruby Version 1.8.7 Take a look at this: