Re: [wtr-general] Wătir
On Wed, Dec 9, 2009 at 12:47 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote: I don't know if this would work for the international community :) True. I would not know how to pronounce Wătir too. I have heard people here in Brazil pronouncing it as Wah-cheer, it's hard to tell people it's pronounced as Water :) You want to say that people using Watir do not know English? When I think about it, it makes sense. Maybe we should record Bret saying something like this. :) http://www.paul.sladen.org/pronunciation/ Željko -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general
Re: [wtr-general] Wătir
Željko, I have installed Ruby+Watir for people who are very talented programmers but do not speak English, so I have adopted the Portuguese pronunciation with them. The correct pronunciation is not so important to me, I prefer spreading the word about the tool than teaching people how to call it properly :) Pronunciation can be confusing even for natives, so I think there shouldn't be a long discussion about this. Did you know people discussed whether C# was pronounced as See Sharp or See Hash when it was announced? :) FK On Wed, Dec 9, 2009 at 8:56 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Dec 9, 2009 at 12:47 PM, Felipe Knorr Kuhn fkn...@gmail.com wrote: I don't know if this would work for the international community :) True. I would not know how to pronounce Wătir too. I have heard people here in Brazil pronouncing it as Wah-cheer, it's hard to tell people it's pronounced as Water :) You want to say that people using Watir do not know English? When I think about it, it makes sense. Maybe we should record Bret saying something like this. :) http://www.paul.sladen.org/pronunciation/ Željko -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general
[wtr-general] Re: require ‘watir’ command shows error from Interactive Ruby Shell (IRB)
We are looking into getting a new version of user-choices released. Bret On Dec 7, 10:07 am, Alvin Bunk alvinb...@yahoo.com wrote: I noticed there is a problem issuing the command “require ‘watir’” form the Interactive Ruby Shell. The error is described here: (http:// forum.brightbox.co.uk/forums/isitruby19-com/topics/watir-gem- installation?page=1). In order to resolve the issue, I had to modify the files ‘arglist- strategies.rb’, ‘conversions.rb’, and ’sources.rb’ in the ‘C: \Ruby19\lib\ruby\gems\1.9.1\gems\user-choices-1.1.6\lib\user-choices’ folder. The problem is with the with the case statement, as descrived in the link above. I simply changed the colons to ‘when’, and then the “require ‘watir’” command worked. This is not a question, but rather a statement that these files need to change in order to simplify installs for users. -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general
[wtr-general] Re: Browser window close and Javascript popup problem on Watir 1.6.5/Ruby 1.8.6-26
Brett/Charley, I am very sorry for not getting back to you any earlier on this (JMeter performance test priorities at the moment for me too). I've tried this again on watir 1.6.2 - seems like an old bad habit of mine was causing some of the problems in my use of watir 1.6.2, notably the include Watir thing. In my experiments under watir 1.6.2 the issue I reported does NOT occur. So if I do the following from irb (or probably our framework that is built on top of watir for that matter): 1. Attach to the window; ie=Watir::IE.attach(:title,/Blah blah/) 2. Change properties of the application in the window attached to thus dirtying the window. 3. Closing the window; ie.close 4. When I do this, the Javascript popup appears but ie.close COMPLETES (irb does not hang) so that I can subsequently programmatically OK/Cancel the popup. If I do steps 1-3 under watir 1.6.5 then the Javascript popup appears but ie.close BLOCKS (irb hangs, control-C or OK on the Javascript popup unblocks it is required to cause ie.close to complete). So something appears to be some difference change in behaviour (to ie.close???) between watir 1.6.2 and watir 1.6.5. Since these experiments were carried out under IE 8 and Windows 7 in both cases I believe that I can rule these factors out. Hopefully this is of use to you in tracking this possible issue down. Regards, Derek Wong. On Dec 5, 12:23 pm, b...@pettichord.com bpettich...@gmail.com wrote: Can you post the complete stacktrace? Bret On Dec 3, 7:50 pm, DerekW derek.wong...@gmail.com wrote: Just a little update, as yet I've been unable to get Watir 1.6.2 going. Not too sure if it's related to WTR-409 issue that was raised. When I install watir 1.6.2 it seems to want safariwatir (0.3.7) and then when I try doing something from irb it says: MissingSourceFile: no such file to load -- appscript I've tried clean installing Ruby and still no joy. I get the following when I do a gem dependency watir: C:\Users\derekw\Downloads\TestTools\Ruby\rubygems-1.3.5gem dependency watir Gem watir-1.6.2 win32-process (= 0.5.5, runtime) windows-pr (= 0.6.6, runtime) activesupport (= 0, runtime) commonwatir (= 1.6.2, runtime) firewatir (= 0, runtime) Regards, Derek W. On Dec 4, 4:51 am, Charley Baker charley.ba...@gmail.com wrote: Watir 1.6.2 supports attach. Firewatir didn't in 1.6.2, it does in 1.6.5. Charley Baker Lead Developer, Watir,http://watir.com On Wed, Dec 2, 2009 at 4:33 PM, DerekW derek.wong...@gmail.com wrote: Hi Bret, I thought that Watir 1.6.2 did not support attach(). I remembered reading in the 1.6.2 release notes that attach wasn't supported so this was the reason I held back on 1.5.6 before moving to 1.6.5. Please correct me if I've misinterpreted something here. Thanks. Derek W. On Dec 3, 6:44 am, b...@pettichord.com bpettich...@gmail.com wrote: One thing you might try, in order to track things down, would be to try running your tests with with Watir 1.6.2. If you do this, you should manually install firewatir 1.6.2 also (gem install firewatir -v 1.6.2). And then uninstall any newer watir gems (if any). Bret On Dec 1, 2:41 pm, DerekW derek.wong...@gmail.com wrote: To further clarify: My colleague's machine: Windows XP, Ruby 1.8.2-14, Watir 1.5.6 and IE 8 - test works. The other test machines: Windows 7 Enterprise, Ruby 1.8.6-26, Watir 1.6.5 and IE 8 - test does not work. So, potentially it could be Windows or Watir issue. Unfortuantely, I haven't tried the old Ruby/Watir against Windows 7 configuration to eliminate the OS yet. Derek W. On Dec 1, 6:30 pm, DerekW derek.wong...@gmail.com wrote: Hi, here's a scenario that seems to work in Watir 1.5.6 but seems to exhibit problems under 1.6.5: Our web application opens the main browser window and subsequently two other browser windows, the third browser window attaches an event handler that intercepts the close window (X) button. If the third window's browser state is dirty and the user clicks close window (rather than the OK and Cancel) buttons on the browser page it raises a Javascript popup asking whether the user wants to navigate away from this browser window. When we ran our automated tests using Watir 1.5.6 this test was able to navigate past the popup raised when the user attempted to click the close button. On Watir 1.6.5 we've noticed that we hang when the popup is hit. Anyone know of a nice way of handling this or whether what I observe is a bug or change in the behaviour of Watir 1.6.5 - my colleague's machine still has Ruby 1.8.2-14, Watir 1.5.6 and IE 8 and the test case works fine. Thanks for any help.
[wtr-general] different table of character between watir 1.6.2 and watir 1.6.5
The result of puts $ie2.text with Watir 1.6.2 is IE2 TEXT Appartement t4 parc les perrussons marignane Ventes immobilières Bouches-du-Rhône - leboncoin.fr Offres Ventes immobilières - Bouches- du-Rhône Accueil | Déposer une annonce | Offres | Demandes | Mes annonces | Compte Pro | Aide The result of puts $ie2.text with Watir 1.6.5 is IE2 TEXT Appartement t4 parc les perrussons marignane Ventes immobilières Bouches-du-Rhône - leboncoin.fr Offres Ventes immobilières - Bouches- du-Rhône Accueil | Déposer une annonce | Offres | Demandes | Mes annonces | Compte Pro | Aide The code is the same How to do so as to have the same result than 1.6.2 with 1.6.5 ? Best Regards, Fabien -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general
[wtr-general] Re: different table of character between watir 1.6.2 and watir 1.6.5
Hi Fabien! There was a change in 1.6.5 to use UTF-8 encoding by default. This may be causing your problem. If you want it to work as it did in 1.6.2, ry changing line 14 in the watir-1.6.5\lib\watir\win32ole.rb file from this: WIN32OLE.codepage = WIN32OLE::CP_UTF8 to this: WIN32OLE.codepage = WIN32OLE::CP_ACP Hope this helps! -Tiffany On Dec 9, 3:41 pm, Fabien fsinetwo...@gmail.com wrote: The result of puts $ie2.text with Watir 1.6.2 is IE2 TEXT Appartement t4 parc les perrussons marignane Ventes immobilières Bouches-du-Rhône - leboncoin.fr Offres Ventes immobilières - Bouches- du-Rhône Accueil | Déposer une annonce | Offres | Demandes | Mes annonces | Compte Pro | Aide The result of puts $ie2.text with Watir 1.6.5 is IE2 TEXT Appartement t4 parc les perrussons marignane Ventes immobilières Bouches-du-Rhône - leboncoin.fr Offres Ventes immobilières - Bouches- du-Rhône Accueil | Déposer une annonce | Offres | Demandes | Mes annonces | Compte Pro | Aide The code is the same How to do so as to have the same result than 1.6.2 with 1.6.5 ? Best Regards, Fabien -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general
[wtr-general] Re: Wătir
Hi all! Would it be possible to add an audio pronunciation like they do at dictionary.com on watir.com? http://dictionary.reference.com/browse/water (see the speaker icon next to the word 'water') It might be another cute gizmo to add to Watir.com -Tiffany On Dec 9, 4:39 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: Bret suggested we should add breve accent over the a in watir so people would easily know how to pronounce it. What do you think? More information: http://ruby5.envylabs.com/episodes/32-episode-31-december-1-2009/stor... Željko -- watir.com - community manager watirpodcast.com - host -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general