[wtr-general] Re: Html Elements Supported by Watir
Yes, Zeljko is really a nice, warm-heart person. Thanks. Wesley Chen. For life, the easier, the better. On Fri, Oct 9, 2009 at 1:34 PM, Raveendran P jazzezr...@gmail.com wrote: ZelijGO, Congrats. Awesome effort. Thanks. On Fri, Oct 9, 2009 at 11:00 AM, Pallavi Sharma write2pall...@gmail.comwrote: Zeljko its just awesome the amount of hard work you put into this group. Thanks Zeljko for every help and suggestion ... Regards, Pallavi. On Thu, Oct 8, 2009 at 10:33 PM, Charley Baker charley.ba...@gmail.comwrote: +1, Zeljko has been a long standing active member of the Watir community, taking care of the wiki, making podcasts and answering countless emails. Big thanks to him for all that he's done. :) -c On Thu, Oct 8, 2009 at 10:10 AM, tcfodor tcfo...@comcast.net wrote: Thanks so much for all you do Zeljko! I look forward to each Watir podcast and it's reassuring to know that the information on the wiki is being maintained so well! Three cheers for Z*! -Tiffany On Oct 7, 11:18 pm, Bret Pettichord bpettich...@gmail.com wrote: On Oct 7, 5:57 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Oct 6, 2009 at 4:41 AM, Bret Pettichord bpettich...@gmail.com wrote: I suggest that the two pages be folded together. Will do. I think my replies were out of order with your emails. At this point I think that all the important information on the one page is already duplicated on the other. Namely the page with the Class, element, method list. If we don't need to document the class names, then you can just drop the second page. I'm also wondering if we need to do more work to organize and update the pages that we already have. I update what I see is out of date. Again, my original comment was made before I realized how much work you've been doing recently to reorganize these pages. I had not been reading this list for some time, and responded in the order that I read through it. Also I'm not sure about all the comments that people add to the pages. Is anybody watching them? When I update the page, I take a look at the comments. Sometimes comment is about something that should be fixed. But usually the comments just sit there. Sometimes I do not even understand them, or they seem not related to the page. I think we should treat comments just like the other information on the page. If they seem irrelevant or confusing, they should be deleted. If they make suggestions which have been addressed, they should be deleted. I do this sometimes myself. BTW, I have a comment for others. I really think that Zeljko should be thanked for all the work he does to keep the wiki up to date. Could you please join me in thanking him? Bret -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ 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: Need to print results of Mulitple scripts in one HTML file
Thanks Prajakta and Rohan for ur quick reply, And sorry to bother you again... I the below code in every script r = CLReport.new() testReport = r.createReport('D:\\Automation\\ReportName') Script to be executed end r.addtoReport(testReport,TC_001, 'PASSED', New Account Created for Regular Savings,Personal (10) and class code of Individual with Account No :) r.finishReport(testReport) rescue r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED', 'Test crashed!') r.finishReport(testReport) And based on ur sugesstion I m trying to use CLReport.open(). But it is not working. Please extend ur help. Rohan, I m really not aware what is rake.Can you please provide me some example. Thanks in Advance On Oct 9, 10:20 am, Prajakta Jadhav jadhav.praja...@gmail.com wrote: Shouldn't be a problem. Open the same html file in both the scripts for logging the results. It will log the results one after another in the same html file. -Prajakta On Fri, Oct 9, 2009 at 10:31 AM, Bindhu udayarekha2...@gmail.com wrote: Hi All, In batch file I have included 2 scripts to be executed. After a successful execution of this batch I want to print the results in one HTML file. As of now I am able to print the one HTML file for one script. But I want a single HTML file to be printed for multiple scripts which I have inculded on batch file. Please guide me. Right now I am using the code which is available in wiki.. Thanks- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Close All browsers and Firewatir
I'll implement one for this. Should be a easy task to do. On Fri, Oct 9, 2009 at 2:08 AM, orde ohil...@gmail.com wrote: According to this page, there's no close_all method for firewatir: http://wiki.openqa.org/display/WTR/Firewatir+Compatibility Could be out of date, though... On Oct 7, 11:28 pm, Pallavi Sharma write2pall...@gmail.com wrote: Hi Is it possible to close all firefox instances open with FireWatir?? Please let me know Thanks Pallavi. --~--~-~--~~~---~--~~ 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: Iterating through an unordered list
On Fri, Oct 9, 2009 at 12:26 AM, George george.sand...@gmail.com wrote: I didn't see the method 'lis' And we have a wiki page that talks about `lis` and similar methods: http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Does anyone have examples of using rspec with safariwatir
We have example of Watir with Rspec: http://wiki.openqa.org/display/WTR/RSpec Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Does anyone have examples of using rspec with safariwatir
On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong littlezhong...@gmail.com wrote: Where can we get the video? http://www.vimeo.com/2871256 Found it with Google: http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber Ž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 -~--~~~~--~~--~--~---
[wtr-general] Re: Need to print results of Mulitple scripts in oneHTML file
Hello All, Use the Watircraft framework, nothing like using Rspec so as to get to know the exact point of failures and fancy reports Regards, Karim Rayani On Fri, Oct 9, 2009 at 2:03 PM, Rohan Ojha rohan.o...@bsil.com wrote: Hey Bindhu, Rake is ruby make file. You can say its Ruby’s version of batch file (its not but for starters you can have this assumption). In the Rake file ,you can have multiple scripts with which you can create a test suite of a kind. I am sure there is a lot of material available over the internet if you look for rake files. Thanks, Rohan Ojha -Original Message- From: watir-general@googlegroups.com [mailto: watir-gene...@googlegroups.com] On Behalf Of Bindhu Sent: Friday, October 09, 2009 11:36 AM To: Watir General Subject: [wtr-general] Re: Need to print results of Mulitple scripts in oneHTML file Thanks Prajakta and Rohan for ur quick reply, And sorry to bother you again... I the below code in every script r = CLReport.new() testReport = r.createReport('D:\\Automation\\ReportName') Script to be executed end r.addtoReport(testReport,TC_001, 'PASSED', New Account Created for Regular Savings,Personal (10) and class code of Individual with Account No :) r.finishReport(testReport) rescue r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED', 'Test crashed!') r.finishReport(testReport) And based on ur sugesstion I m trying to use CLReport.open(). But it is not working. Please extend ur help. Rohan, I m really not aware what is rake.Can you please provide me some example. Thanks in Advance On Oct 9, 10:20 am, Prajakta Jadhav jadhav.praja...@gmail.com wrote: Shouldn't be a problem. Open the same html file in both the scripts for logging the results. It will log the results one after another in the same html file. -Prajakta On Fri, Oct 9, 2009 at 10:31 AM, Bindhu udayarekha2...@gmail.com wrote: Hi All, In batch file I have included 2 scripts to be executed. After a successful execution of this batch I want to print the results in one HTML file. As of now I am able to print the one HTML file for one script. But I want a single HTML file to be printed for multiple scripts which I have inculded on batch file. Please guide me. Right now I am using the code which is available in wiki.. Thanks- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: watir:buttons returns only 1st button
Unfortunately, I cannot change html. Also, this is a real bug. I've submitted it here: to http://jira.openqa.org/browse/WTR-326 On Oct 8, 11:25 pm, orde ohil...@gmail.com wrote: Weird. Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why you are getting unexpected results, but here are a couple of things that might help: * button tag isn't the same as input type=button tag * your code below should work if all the buttons are input type=button, like this: input type=button id=1 value=1 button input type=button id=2 value=2 button input type=button id=3 value=3 button Hope that helps. orde On Oct 7, 6:11 am, kat katfor...@gmail.com wrote: Watir:Buttons is supposed to return all buttons on a page. With the next tested page html titlesome title/title body br button id=1 value=first button1st button/button some text button id=2 value=second button2nd button/button input type=button id=6 value=6th button /body /html using this script: require 'watir' test_site = 'http://localhost/test.html' ie = Watir::IE.new ie.goto(test_site) ie.buttons.each do |a_button| puts a_button.value end I get only 1st button in output. Do I do something wrong or this is a bug? --~--~-~--~~~---~--~~ 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: Does anyone have examples of using rspec with safariwatir
Hi, Cucumber or Rspec? I will add to zeljko's link today. The example doesn't even use matchers. Richard Downie has a Waitr\Cucumber example here: http://wiki.github.com/aslakhellesoy/cucumber/watircuke, but I don't agree with his approach. Aidy 2009/10/9 Željko Filipin zeljko.fili...@wa-research.ch: On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong littlezhong...@gmail.com wrote: Where can we get the video? http://www.vimeo.com/2871256 Found it with Google: http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber Ž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 -~--~~~~--~~--~--~---
[wtr-general] Watir gem tries to build against the win32 API on a mac
hello, I am pretty new to watir. Installed watir by using the following commands (in this order) sudo gem install firewatir sudo gem install safari watir This happened in irb: irb(main):001:0 require 'watir' LoadError: no such file to load -- watir from (irb):1:in `require' from (irb):1 So I decided to do a gem install watir which resulted in the following error output: http://pastie.org/648097 ( Pastebinned it; dont want to crowd up this mail ) Can someone tell me how to get watir up and running? -- Manish Chakravarty --~--~-~--~~~---~--~~ 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: Watir gem tries to build against the win32 API on a mac
On Fri, Oct 9, 2009 at 11:23 AM, Manish Chakravarty manishch...@gmail.com wrote: sudo gem install firewatir sudo gem install safari watir There should not be space in `safari watir`. You should do this ( http://watir.com/installation/): sudo gem update --system sudo gem install firewatir sudo gem install safariwatir So I decided to do a gem install watir That does not work on Mac. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Does anyone have examples of using rspec with safariwatir
I have written a new example here: http://wiki.openqa.org/display/WTR/RSpec Aidy 2009/10/9 aidy lewis aidy.le...@googlemail.com: Hi, Cucumber or Rspec? I will add to zeljko's link today. The example doesn't even use matchers. Richard Downie has a Waitr\Cucumber example here: http://wiki.github.com/aslakhellesoy/cucumber/watircuke, but I don't agree with his approach. Aidy 2009/10/9 Željko Filipin zeljko.fili...@wa-research.ch: On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong littlezhong...@gmail.com wrote: Where can we get the video? http://www.vimeo.com/2871256 Found it with Google: http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber Ž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 -~--~~~~--~~--~--~---
[wtr-general] Watir -Ajax Application working in IE6 but not in IE7
Hi, The Application is IBM WebSphere which is a ajax application, works fine in IE6. But not in IE7. Since the OS is Vista, IE browser starts with IE7 as a package. Any idea would be highly useful for us. --~--~-~--~~~---~--~~ 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: Watir -Ajax Application working in IE6 but not in IE7
On Fri, Oct 9, 2009 at 2:26 PM, AAP amudha.bu...@gmail.com wrote: The Application is IBM WebSphere which is a ajax application, works fine in IE6. But not in IE7. And the problem is? I do not see how this is related to Watir. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: ie.goto never returns. Page never loads.
Many thanks for your reply karim. I'm not sure that the information on this link helps. This page indicates how to wait if Watir doesn't explicitly wait. I want to explicitly NOT wait for a page to finish loading, because in essence the page 'never' loads fully due to the continuous http connection (comet). thanks, Stuart --~--~-~--~~~---~--~~ 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] SendKey focus missing in IE 7
Hi All, I am a newbie to Watir. This issue might be discussed many times, but i am unable to find a solution by searching. I am using below package. Watir version - 1.6.2 Ruby version - 1.8.6 Today i updated my IE from 6 to 7. I used send_key method extensively in the code. But when i execute the code browser's address bar got automatically focused and test failed. I tried to hide the address bar in browser but i cant. Right now i did a workaround by using Shift+Ctrl combination, but its not a worthy solution. So Experts please suggest me a solution to solve this issue. Thanks, Prince3105 --~--~-~--~~~---~--~~ 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: ie.goto never returns. Page never loads.
I found this in a different thread. It suggests running goto in a different thread, then sleeping for a few seconds until its likely to have loaded. Its not ideal, but it works:- -- Forwarded message -- From: LFIdnl sraniim...@gmail.com Date: Dec 10 2008, 7:33 am Subject: Modal Dialog goto with no wait To: Watir General In these cases I execute command in another thread. If anybody suggest another usefull method I will be happy :) . Try this: ... thr = Thread.new { ie.goto javascript:OpenPage();} sleep(3) #time to wait of javascript popup thr.kill puts ie.modal_dialog.html # now must gets here On 10 дек, 06:42, Sean srphe...@gmail.com wrote: Hello All -- I'm trying to launch a modal dialog using the following code. I believe I have to tell the goto to not wait for the page to finish loading but I cant find out how. if it was a button, I could use click_no_wait. Is there a goto_no_wait or a way I can tell Watir to not wait. Thanks in advance. ie = Watir::IE.new loginURL = login.aspx puts Opening login page (#{loginURL}) ... ie.goto loginURL Watir::Waiter::wait_until {ie.text_field(:name, txtUser).exists?} ie.text_field(:name, txtUser).set username ie.text_field(:name, txtPassword).set password ie.button(:name, cmdLogin).click ie.goto javascript:OpenPage(); puts ie.modal_dialog.html # never gets here --~--~-~--~~~---~--~~ 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: SendKey focus missing in IE 7
I had a similar problem I also had to use a workaround, basically just tab away from the address bar first e.g. $browser.send_keys({tab}) #Added for IE7 as focus remains in the address bar unless tabbed away from it Trevor On 9 Oct, 13:46, Prince3105 prince3...@gmail.com wrote: Hi All, I am a newbie to Watir. This issue might be discussed many times, but i am unable to find a solution by searching. I am using below package. Watir version - 1.6.2 Ruby version - 1.8.6 Today i updated my IE from 6 to 7. I used send_key method extensively in the code. But when i execute the code browser's address bar got automatically focused and test failed. I tried to hide the address bar in browser but i cant. Right now i did a workaround by using Shift+Ctrl combination, but its not a worthy solution. So Experts please suggest me a solution to solve this issue. Thanks, Prince3105 --~--~-~--~~~---~--~~ 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: watir:buttons returns only 1st button
From the w3c schools Definition and Usage The button tag defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element. Always specify the type attribute for the button. The default type for Internet Explorer is button, while in other browsers (and in the W3C specification) it is submit Browser Support The button tag is supported in all major browsers. Important: If you use the button element in an HTML form, different browsers will submit different values. Internet Explorer will submit the text between the button and /button tags, while other browsers will submit the content of the value attribute. Use the input element to create buttons in an HTML form. Good html code that compiles to a common standard makes a difference... On Oct 9, 4:16 am, kat katfor...@gmail.com wrote: Unfortunately, I cannot change html. Also, this is a real bug. I've submitted it here: tohttp://jira.openqa.org/browse/WTR-326 On Oct 8, 11:25 pm, orde ohil...@gmail.com wrote: Weird. Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why you are getting unexpected results, but here are a couple of things that might help: * button tag isn't the same as input type=button tag * your code below should work if all the buttons are input type=button, like this: input type=button id=1 value=1 button input type=button id=2 value=2 button input type=button id=3 value=3 button Hope that helps. orde On Oct 7, 6:11 am, kat katfor...@gmail.com wrote: Watir:Buttons is supposed to return all buttons on a page. With the next tested page html titlesome title/title body br button id=1 value=first button1st button/button some text button id=2 value=second button2nd button/button input type=button id=6 value=6th button /body /html using this script: require 'watir' test_site = 'http://localhost/test.html' ie = Watir::IE.new ie.goto(test_site) ie.buttons.each do |a_button| puts a_button.value end I get only 1st button in output. Do I do something wrong or this is a bug?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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] Console output when compare file fails
The final part of one of my tests creates an output file and compares against a reference file. The files are approx. 230Mb in size The test works OK, but when the outputs are different I get both files dumped into the console. As they are effectively binary files, this is of no use. Is there a way to prevent this dump occurring while still seeing the actual result of the test? This part of the test is basically: @expectedTS = File.read(C:/TSFiles/dvbsub_TC101.TS) @actualTS = File.read('C:/Reference/dvbsub_TC101.TS') verify_equal(@expectedTS, @actualTS) Thanks, Trevor --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing
`gem update --system` took something like an hour after a clean Ruby 1.8.6-26 install. I know we can not do anything about it, but I was _really_ surprised. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing
Hi Charley 2009/10/5 Charley Baker charley.ba...@gmail.com: wrote: http://wiki.openqa.org/display/WTR/Development+Builds Would it not be an idea to install the gem(s) directly from github? Aidy --~--~-~--~~~---~--~~ 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: Console output when compare file fails
I would try comparing the files, then asserting the resulting boolean value: assert(FileUtils.compare_file('C:\foo.txt', 'C:\bar.txt')) On Fri, Oct 9, 2009 at 6:41 AM, Trevor ti_ma...@btopenworld.com wrote: The final part of one of my tests creates an output file and compares against a reference file. The files are approx. 230Mb in size The test works OK, but when the outputs are different I get both files dumped into the console. As they are effectively binary files, this is of no use. Is there a way to prevent this dump occurring while still seeing the actual result of the test? This part of the test is basically: @expectedTS = File.read(C:/TSFiles/dvbsub_TC101.TS) @actualTS = File.read('C:/Reference/dvbsub_TC101.TS') verify_equal(@expectedTS, @actualTS) Thanks, Trevor --~--~-~--~~~---~--~~ 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: Html Elements Supported by Watir
Agreed, Željko's contributions are great - I've especially enjoyed the podcasts. :) Bill On Thu, Oct 8, 2009 at 10:59 PM, Wesley Chen cjq@gmail.com wrote: Yes, Zeljko is really a nice, warm-heart person. Thanks. Wesley Chen. For life, the easier, the better. BTW, I have a comment for others. I really think that Zeljko should be thanked for all the work he does to keep the wiki up to date. Could you please join me in thanking him? Bret --~--~-~--~~~---~--~~ 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: Console output when compare file fails
Thanks Bill. I'm sure I was having problems before (was quite a while ago) when using file compare, which was why I was using the file read method. Seems to work OK now, so no idea what I was doing before! Thanks, Trevor On 9 Oct, 15:32, Bill Agee billa...@gmail.com wrote: I would try comparing the files, then asserting the resulting boolean value: assert(FileUtils.compare_file('C:\foo.txt', 'C:\bar.txt')) On Fri, Oct 9, 2009 at 6:41 AM, Trevor ti_ma...@btopenworld.com wrote: The final part of one of my tests creates an output file and compares against a reference file. The files are approx. 230Mb in size The test works OK, but when the outputs are different I get both files dumped into the console. As they are effectively binary files, this is of no use. Is there a way to prevent this dump occurring while still seeing the actual result of the test? This part of the test is basically: �...@expectedts = File.read(C:/TSFiles/dvbsub_TC101.TS) �...@actualts = File.read('C:/Reference/dvbsub_TC101.TS') verify_equal(@expectedTS, @actualTS) Thanks, Trevor --~--~-~--~~~---~--~~ 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: Difference b/w Click_no_wait and .Click!
The one major reason that click! would work and not click_no_wait is if you've installed from the ruby one click installer 1.8.6.27 rc2. Try the previous version 1.8.6.26. -c On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Can anyone here tell me what are the differences between Click! and click_no_wait for both watir and firewatir I have a scenario in which click_no_wait is failing but .click! is working? What could be the reason? Can i use safely .click! instead of click_no_wait even for pop ups?? Thanks Pallavi. --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing
Another problem is that github only allowed one gem per project. We currently have three. On Oct 9, 10:33 am, Charley Baker charley.ba...@gmail.com wrote: I'd thought about doing something like that. Unfortunately it's somewhat of a moot point right now since github's gem creation isn't working since the switch to rackspace. :) That's probably the way to go next time though. Charley Baker blog:http://blog.charleybaker.org/ Lead Developer, Watir,http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Oct 9, 2009 at 8:18 AM, aidy lewis aidy.le...@googlemail.comwrote: Hi Charley 2009/10/5 Charley Baker charley.ba...@gmail.com: wrote: http://wiki.openqa.org/display/WTR/Development+Builds Would it not be an idea to install the gem(s) directly from github? Aidy --~--~-~--~~~---~--~~ 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: watir:buttons returns only 1st button
The watir button/buttons methods support both kinds of HTML buttons. Or at least they have and they should. On Oct 9, 8:38 am, SuperKevy kpe...@scholarshipamerica.org wrote: From the w3c schools Definition and Usage The button tag defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element. Always specify the type attribute for the button. The default type for Internet Explorer is button, while in other browsers (and in the W3C specification) it is submit Browser Support The button tag is supported in all major browsers. Important: If you use the button element in an HTML form, different browsers will submit different values. Internet Explorer will submit the text between the button and /button tags, while other browsers will submit the content of the value attribute. Use the input element to create buttons in an HTML form. Good html code that compiles to a common standard makes a difference... On Oct 9, 4:16 am, kat katfor...@gmail.com wrote: Unfortunately, I cannot change html. Also, this is a real bug. I've submitted it here: tohttp://jira.openqa.org/browse/WTR-326 On Oct 8, 11:25 pm, orde ohil...@gmail.com wrote: Weird. Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why you are getting unexpected results, but here are a couple of things that might help: * button tag isn't the same as input type=button tag * your code below should work if all the buttons are input type=button, like this: input type=button id=1 value=1 button input type=button id=2 value=2 button input type=button id=3 value=3 button Hope that helps. orde On Oct 7, 6:11 am, kat katfor...@gmail.com wrote: Watir:Buttons is supposed to return all buttons on a page. With the next tested page html titlesome title/title body br button id=1 value=first button1st button/button some text button id=2 value=second button2nd button/button input type=button id=6 value=6th button /body /html using this script: require 'watir' test_site = 'http://localhost/test.html' ie = Watir::IE.new ie.goto(test_site) ie.buttons.each do |a_button| puts a_button.value end I get only 1st button in output. Do I do something wrong or this is a bug?- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: watir:buttons returns only 1st button
Thanks for the report. This is duplicate of WTR-175, which has been open for some time. Would someone like to look into fixing it? http://jira.openqa.org/browse/WTR-175 Bret On Oct 9, 4:16 am, kat katfor...@gmail.com wrote: Unfortunately, I cannot change html. Also, this is a real bug. I've submitted it here: tohttp://jira.openqa.org/browse/WTR-326 On Oct 8, 11:25 pm, orde ohil...@gmail.com wrote: Weird. Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why you are getting unexpected results, but here are a couple of things that might help: * button tag isn't the same as input type=button tag * your code below should work if all the buttons are input type=button, like this: input type=button id=1 value=1 button input type=button id=2 value=2 button input type=button id=3 value=3 button Hope that helps. orde On Oct 7, 6:11 am, kat katfor...@gmail.com wrote: Watir:Buttons is supposed to return all buttons on a page. With the next tested page html titlesome title/title body br button id=1 value=first button1st button/button some text button id=2 value=second button2nd button/button input type=button id=6 value=6th button /body /html using this script: require 'watir' test_site = 'http://localhost/test.html' ie = Watir::IE.new ie.goto(test_site) ie.buttons.each do |a_button| puts a_button.value end I get only 1st button in output. Do I do something wrong or this is a bug? --~--~-~--~~~---~--~~ 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] Programatically Changing Proxy Settings
Hi, Other than using AutoIt to send keystrokes to the browser or changing the registry (requiring an IE restart) is there a more slick way of changing IE proxy settings on the fly?? Any help would be appreciated. Thanks, Jeff --~--~-~--~~~---~--~~ 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: ie.goto never returns. Page never loads.
This code snip says it takes about 36 seconds for download complete require 'watir' # use watir gem test_site = 'http://www.igindex.co.uk' # set a variable ie = Watir::Browser.new # open the IE browser ie.goto(test_site) # load url, go to site ie.maximize() sleep(2) ie.bring_to_front() puts ie.down_load_time.to_s I assume you dont care if its complete, just that some object is visible or exists? On Oct 6, 12:01 pm, llemirtrauts smrim...@gmail.com wrote: Hi, I'm pretty new to Watir and I'm having an intermittent problem with scripts hanging when a web page doesn't fully load. I'm trying to run:- Watir::IE.start(http://www.igindex.co.uk;) This sometimes works but sometimes the the start method doesn't return and the script simply hangs indefinitely so the rest of the script doesn't run. The issue with the website in question is probably due to the fact that it maintains a permanent http connection to stream data. This may be causing Watir to think the page hasn't fully loaded. Is there any way to force a Watir script to continue running before it thinks the page has fully loaded? thanks, Stuart --~--~-~--~~~---~--~~ 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: Programatically Changing Proxy Settings
What version of IE and Windows are you using. There are various techniques, but most are browser version and Windows version dependent. On Fri, Oct 9, 2009 at 12:22 PM, Jeff Savin jeff.sa...@gmail.com wrote: Hi, Other than using AutoIt to send keystrokes to the browser or changing the registry (requiring an IE restart) is there a more slick way of changing IE proxy settings on the fly?? Any help would be appreciated. Thanks, Jeff -- Nathan Lane Blog, http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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] Watir 1.6.5.rc1 - release candidate available for testing - redux
Hi all, There's been a lack of feedback on this release candidate. I'm hoping some of you had the chance to test it out. If not, please take some time if you will to run through some of your tests with this build, there have been quite a few fixes and we could use some eyes to check for compatibility issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE, Windows 7, and more. We need to do a bit of cleanup on the wiki and site to update to the latest version number, and there are some last minute potential fixes coming in, however I would like to finalize and release the official 1.6.5 version next week unless we see some additional issues that need to be addressed. Even information like it worked for me with platform X/browser Y with no problems would be great. :) Thanks for your help. Link to the rc1 version: http://wiki.openqa.org/display/WTR/Development+Builds Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://watir.com QA Architect, Gap Inc Direct --~--~-~--~~~---~--~~ 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: ie.goto never returns. Page never loads.
The site downloads a virus, that looks like Microsoft defender. This violates Microsoft copyright laws On Oct 6, 12:01 pm, llemirtrauts smrim...@gmail.com wrote: Hi, I'm pretty new to Watir and I'm having an intermittent problem with scripts hanging when a web page doesn't fully load. I'm trying to run:- Watir::IE.start(http://www.igindex.co.uk;) This sometimes works but sometimes the the start method doesn't return and the script simply hangs indefinitely so the rest of the script doesn't run. The issue with the website in question is probably due to the fact that it maintains a permanent http connection to stream data. This may be causing Watir to think the page hasn't fully loaded. Is there any way to force a Watir script to continue running before it thinks the page has fully loaded? thanks, Stuart --~--~-~--~~~---~--~~ 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: Programatically Changing Proxy Settings
Lets just say Windows XP and IE 6 or 7. On Oct 9, 12:42 pm, Nathan Lane nathamberl...@gmail.com wrote: What version of IE and Windows are you using. There are various techniques, but most are browser version and Windows version dependent. On Fri, Oct 9, 2009 at 12:22 PM, Jeff Savin jeff.sa...@gmail.com wrote: Hi, Other than using AutoIt to send keystrokes to the browser or changing the registry (requiring an IE restart) is there a more slick way of changing IE proxy settings on the fly?? Any help would be appreciated. Thanks, Jeff -- Nathan Lane Blog,http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing - redux
I'm usually not very bad at figuring things out, but after I install the gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I get the error that watir/ie does not exist. On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker charley.ba...@gmail.comwrote: Hi all, There's been a lack of feedback on this release candidate. I'm hoping some of you had the chance to test it out. If not, please take some time if you will to run through some of your tests with this build, there have been quite a few fixes and we could use some eyes to check for compatibility issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE, Windows 7, and more. We need to do a bit of cleanup on the wiki and site to update to the latest version number, and there are some last minute potential fixes coming in, however I would like to finalize and release the official 1.6.5 version next week unless we see some additional issues that need to be addressed. Even information like it worked for me with platform X/browser Y with no problems would be great. :) Thanks for your help. Link to the rc1 version: http://wiki.openqa.org/display/WTR/Development+Builds Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://watir.com QA Architect, Gap Inc Direct -- Nathan Lane Blog, http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing - redux
I also experienced the same problem using WinXP SP3 + IE8.x Followed install instructions and tried to check watir version (i.e. ruby -e 'require watir; puts Watir::IE::VERSION' on command line): -e:1: no such file to load -- watir/ie (LoadError) On Oct 9, 1:21 pm, Nathan Lane nathamberl...@gmail.com wrote: I'm usually not very bad at figuring things out, but after I install the gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I get the error that watir/ie does not exist. On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker charley.ba...@gmail.comwrote: Hi all, There's been a lack of feedback on this release candidate. I'm hoping some of you had the chance to test it out. If not, please take some time if you will to run through some of your tests with this build, there have been quite a few fixes and we could use some eyes to check for compatibility issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE, Windows 7, and more. We need to do a bit of cleanup on the wiki and site to update to the latest version number, and there are some last minute potential fixes coming in, however I would like to finalize and release the official 1.6.5 version next week unless we see some additional issues that need to be addressed. Even information like it worked for me with platform X/browser Y with no problems would be great. :) Thanks for your help. Link to the rc1 version: http://wiki.openqa.org/display/WTR/Development+Builds Charley Baker blog:http://blog.charleybaker.org/ Lead Developer, Watir,http://watir.com QA Architect, Gap Inc Direct -- Nathan Lane Blog,http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing - redux
Well, that's certainly a problem. :) Is that just through irb or where is it happening? Also if there's any chance you can jump on irc, might make troubleshooting easier than email. http://wiki.openqa.org/display/WTR/The+IRC+Channel Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Oct 9, 2009 at 2:21 PM, Nathan Lane nathamberl...@gmail.com wrote: I'm usually not very bad at figuring things out, but after I install the gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I get the error that watir/ie does not exist. On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker charley.ba...@gmail.comwrote: Hi all, There's been a lack of feedback on this release candidate. I'm hoping some of you had the chance to test it out. If not, please take some time if you will to run through some of your tests with this build, there have been quite a few fixes and we could use some eyes to check for compatibility issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE, Windows 7, and more. We need to do a bit of cleanup on the wiki and site to update to the latest version number, and there are some last minute potential fixes coming in, however I would like to finalize and release the official 1.6.5 version next week unless we see some additional issues that need to be addressed. Even information like it worked for me with platform X/browser Y with no problems would be great. :) Thanks for your help. Link to the rc1 version: http://wiki.openqa.org/display/WTR/Development+Builds Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://watir.com QA Architect, Gap Inc Direct -- Nathan Lane Blog, http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Wiki cleanup (was Watir 1.6.5.rc1 - release candidate available for testing)
On Fri, Oct 9, 2009 at 1:52 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: this page should be cleaned up. I would delete everything under `Watir 1.6 has been released`. Also, I would delete it's child pages: Done. The page also had 40 attachments (old development builds). I deleted them all except the current ones. Ž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 -~--~~~~--~~--~--~---
[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux
Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces the desired results. On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane nathamberl...@gmail.com wrote: I was using IRB, haven't tried scripting it out. Further environmental information: I downloaded the 1.6.5 RC 1 watir, commonwatir, and firewatir gems, and installed them from a local directory next to the 1.6.2 gems. I know that by default Ruby uses the latest version of the gems when using the simple require syntax without rubygems and version specific information. ie.rb DOES exist in the watir directory of the RC gem. Also, I just tried cleaning up and uninstalling 1.6.2 and then reinstalling it, then reinstalling 1.6.5 RC 1 and now it seems to be working. However the syntax: Watir::IE::Version produces the error: NameError: uninitialized constant Watir::IE::Version Also I'm not sure that such syntax is valid from looking at version.rb, but it seems correct (this is from 1.6.5 RC 1): module Watir class IE VERSION = '1.6.5.rc1' end end On that note, I have no idea what caused the problem in the first place, because I don't know what I did differently. On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane nathamberl...@gmail.com wrote: I get the error that watir/ie does not exist. Same here. Windows 2003 Server with IE6. I thought it was something on my side since nobody reported anything so I reinstalled Ruby, but I did not have the time to try after that. Željko -- http://watirpodcast.com/ -- Nathan Lane Blog, http://blog.nathandelane.com -- Nathan Lane Blog, http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing
On Fri, Oct 9, 2009 at 4:04 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: `gem update --system` took something like an hour after a clean Ruby 1.8.6-26 install gem update --system --no-rdoc --no-ri took a long time too, but probably only 1/3 or 1/2 of full install, I did not measure. Should we recommend that? I never use rdoc or ri, but I do not know if other people use it. Ž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 -~--~~~~--~~--~--~---
[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux
Which version of rubygems for all of you? gem -v from the command prompt -c On Fri, Oct 9, 2009 at 3:15 PM, Nathan Lane nathamberl...@gmail.com wrote: Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces the desired results. On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane nathamberl...@gmail.comwrote: I was using IRB, haven't tried scripting it out. Further environmental information: I downloaded the 1.6.5 RC 1 watir, commonwatir, and firewatir gems, and installed them from a local directory next to the 1.6.2 gems. I know that by default Ruby uses the latest version of the gems when using the simple require syntax without rubygems and version specific information. ie.rb DOES exist in the watir directory of the RC gem. Also, I just tried cleaning up and uninstalling 1.6.2 and then reinstalling it, then reinstalling 1.6.5 RC 1 and now it seems to be working. However the syntax: Watir::IE::Version produces the error: NameError: uninitialized constant Watir::IE::Version Also I'm not sure that such syntax is valid from looking at version.rb, but it seems correct (this is from 1.6.5 RC 1): module Watir class IE VERSION = '1.6.5.rc1' end end On that note, I have no idea what caused the problem in the first place, because I don't know what I did differently. On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane nathamberl...@gmail.com wrote: I get the error that watir/ie does not exist. Same here. Windows 2003 Server with IE6. I thought it was something on my side since nobody reported anything so I reinstalled Ruby, but I did not have the time to try after that. Željko -- http://watirpodcast.com/ -- Nathan Lane Blog, http://blog.nathandelane.com -- Nathan Lane Blog, http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing - redux
1.3.5 On Fri, Oct 9, 2009 at 4:04 PM, Charley Baker charley.ba...@gmail.comwrote: Which version of rubygems for all of you? gem -v from the command prompt -c On Fri, Oct 9, 2009 at 3:15 PM, Nathan Lane nathamberl...@gmail.comwrote: Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces the desired results. On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane nathamberl...@gmail.comwrote: I was using IRB, haven't tried scripting it out. Further environmental information: I downloaded the 1.6.5 RC 1 watir, commonwatir, and firewatir gems, and installed them from a local directory next to the 1.6.2 gems. I know that by default Ruby uses the latest version of the gems when using the simple require syntax without rubygems and version specific information. ie.rb DOES exist in the watir directory of the RC gem. Also, I just tried cleaning up and uninstalling 1.6.2 and then reinstalling it, then reinstalling 1.6.5 RC 1 and now it seems to be working. However the syntax: Watir::IE::Version produces the error: NameError: uninitialized constant Watir::IE::Version Also I'm not sure that such syntax is valid from looking at version.rb, but it seems correct (this is from 1.6.5 RC 1): module Watir class IE VERSION = '1.6.5.rc1' end end On that note, I have no idea what caused the problem in the first place, because I don't know what I did differently. On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane nathamberl...@gmail.com wrote: I get the error that watir/ie does not exist. Same here. Windows 2003 Server with IE6. I thought it was something on my side since nobody reported anything so I reinstalled Ruby, but I did not have the time to try after that. Željko -- http://watirpodcast.com/ -- Nathan Lane Blog, http://blog.nathandelane.com -- Nathan Lane Blog, http://blog.nathandelane.com -- Nathan Lane Blog, http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing
Wow, it didn't take very long for me, 5mins tops. Not sure why it took so long. I generally go no ri, no rdoc as well, nice tip if you're not using it, some people do. -c On Fri, Oct 9, 2009 at 3:21 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 9, 2009 at 4:04 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: `gem update --system` took something like an hour after a clean Ruby 1.8.6-26 install gem update --system --no-rdoc --no-ri took a long time too, but probably only 1/3 or 1/2 of full install, I did not measure. Should we recommend that? I never use rdoc or ri, but I do not know if other people use it. Ž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 -~--~~~~--~~--~--~---
[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing
On Sat, Oct 10, 2009 at 12:07 AM, Charley Baker charley.ba...@gmail.com wrote: Wow, it didn't take very long for me, 5mins tops. My example was after a clean Ruby install. I guess it does not take so long if you have never version of rubygems. Ž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 -~--~~~~--~~--~--~---
[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux
I am wondering if maybe commonwatir is installed, but not watir? That would be consistent with these symptoms. bret On Oct 9, 3:48 pm, orde ohil...@gmail.com wrote: I also experienced the same problem using WinXP SP3 + IE8.x Followed install instructions and tried to check watir version (i.e. ruby -e 'require watir; puts Watir::IE::VERSION' on command line): -e:1: no such file to load -- watir/ie (LoadError) On Oct 9, 1:21 pm, Nathan Lane nathamberl...@gmail.com wrote: I'm usually not very bad at figuring things out, but after I install the gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I get the error that watir/ie does not exist. On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker charley.ba...@gmail.comwrote: Hi all, There's been a lack of feedback on this release candidate. I'm hoping some of you had the chance to test it out. If not, please take some time if you will to run through some of your tests with this build, there have been quite a few fixes and we could use some eyes to check for compatibility issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE, Windows 7, and more. We need to do a bit of cleanup on the wiki and site to update to the latest version number, and there are some last minute potential fixes coming in, however I would like to finalize and release the official 1.6.5 version next week unless we see some additional issues that need to be addressed. Even information like it worked for me with platform X/browser Y with no problems would be great. :) Thanks for your help. Link to the rc1 version: http://wiki.openqa.org/display/WTR/Development+Builds Charley Baker blog:http://blog.charleybaker.org/ Lead Developer, Watir,http://watir.com QA Architect, Gap Inc Direct -- Nathan Lane Blog,http://blog.nathandelane.com --~--~-~--~~~---~--~~ 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: Watir 1.6.5.rc1 - release candidate available for testing
I wonder if this is because the gem server is in the united states. bret On Oct 9, 5:10 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sat, Oct 10, 2009 at 12:07 AM, Charley Baker charley.ba...@gmail.com wrote: Wow, it didn't take very long for me, 5mins tops. My example was after a clean Ruby install. I guess it does not take so long if you have never version of rubygems. Ž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 -~--~~~~--~~--~--~---