[wtr-general] user require 'win32ole'
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 'win32ole is problem -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: user require 'win32ole'
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 to see if the directory structure is set to read only which will also cause problems (this happens in Linux all of the time and I have to constantly set permissions for reading writing and execution). I hope this helps... Good luck... Matt On Sep 9, 11:17 pm, Quang quang...@gmail.com wrote: 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 'win32ole is problem -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Jssh for Firefox 4.0 beta3
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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] user require 'win32ole'
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 problem is. You have build an exe ruby file, and when you execute it you get that error message? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Jssh for Firefox 4.0 beta3
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 message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: user require 'win32ole'
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 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 problem is. You have build an exe ruby file, and when you execute it you get that error message? Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: user require 'win32ole'
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 this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: user require 'win32ole'
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 from exe file)? Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: user require 'win32ole'
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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: user require 'win32ole'
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 software that you have used to build exe file, since looks like the problem is there. Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] The problem about UTF-8
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 = Watir::Browser.start(www.google.com) ff.text_field(:name,q).value = năng động mỗi ngày -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 message. i think this is why `utoit isnt working for me. i just need a solution to be able to hit the enter button as when the pop up box appears it is already focused on the OK button. and as ive tried so long to hit the ok button i cant. so i thought id try and hit the enter button on the keyboard in my automation script and that is also proving to be difficult. kind regards, usman hussain p.s. really do appreciate this help guys... On Sep 9, 6:02 pm, Jari Bakken jari.bak...@gmail.com wrote: Following up on your questions from the selenium tracker: how can i see or tell if the window is created in Javascript? You'll have to either (1) read up on how JavaScript dialogs work, and look through the page's source/scripts or (2) ask a developer. It would be useful to know how it was created in order to help you further. is there anyway i can get autoit to be installed so that it works with Watir-WebDriver? AutoIt won't ever be included, but you should be able to use it alongside watir-webdriver just fine. Ethan's WinWindow gem might be useful as well, though I haven't tried it: http://github.com/vapir/winwindow -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 DLL isn't included with the watir-webdriver gem. You'll have to find another way of using it. It would still be useful to know how this window is created, in order to provide further help. -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] The problem about UTF-8
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 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 = Watir::Browser.start(www.google.com) ff.text_field(:name,q).value = năng động mỗi ngày -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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-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 DLL isn't included with the watir-webdriver gem. You'll have to find another way of using it. It would still be useful to know how this window is created, in order to provide further help. -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 http://github.com/jarib/watirspec/blob/watir2/window_switching_spec.rb Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] The problem about UTF-8
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 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 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 = Watir::Browser.start(www.google.com) ff.text_field(:name,q).value = năng động mỗi ngày -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 for such language. Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
+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 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 for such language. Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 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 for such language. Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: How to Click on ENTER keystroke in Watir-WebDriver
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 welcome here. Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Install error with Rasta
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. ddk -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Error on initial install of Watir
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: http://stackoverflow.com/questions/3643179/failed-watir-installation-... Željko -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com