From jim_matt at swbell.net Sun Mar 1 20:57:38 2009 From: jim_matt at swbell.net (jim_matt) Date: Sun, 1 Mar 2009 19:57:38 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work References: Message-ID: <009b01c99ada$4448a790$c701000a@Jimsxp> I have several javascript popups that I need to dismiss with an OK or a cancel. I am using the popupchecker method described on the wiki. At first I was using the click_no_wait method to click the button that cause the popup to come up. It did not work. The popup came up but it never got to the popupchecker. Someone suggested that I use the click! method. I tried that and the first popup came up and it clicked it sucessfully. Later in the script there is another javascript popup that comes up. This time neither the click_no_wait nor the click! method works. It looks like it hangs before it ever gets to the popupchecker method. I say this because I put some "puts" in the popupchecker method and they do not get executed until after I manually click OK or Cancel. I have used popupchecker in fxri to make sure it would work. I can execute popupchecker in fxri to dismiss the popups so I know there is nothing technically wrong with the code. I am confused why click! would work the first time and not the second time. Does anyone have any ideas I can try? Jim From marekj.com at gmail.com Mon Mar 2 11:29:47 2009 From: marekj.com at gmail.com (marekj) Date: Mon, 2 Mar 2009 10:29:47 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: <009b01c99ada$4448a790$c701000a@Jimsxp> References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: Jim, I have some strange stuff too, like popups coming up after clicking a radio button. I have not invested a lot of time into perfecting a popup dismissing code. I just hack it with threads. So for example I have a radio button click and popup comes up. Here is what I do #set 2nd radio in a group that causes popup threads << Thread.new { page.radio_group(:name, 'blabla').set 2} # dismiss popup with clickJSDialog threads << Thread.new { system("rubyw c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb OK 5") } # let it rip threads.each {|x| x.join} so far this hack works. I haven't ran benchmarks but it only happens in one page in my apps. I also use unexpected popups and I dismiss it with autoit. Since I test on WinXP autoit is my solution. def kill_popups autoit = WIN32OLE.new('AutoItX3.Control') loop do ["Microsoft Internet Explorer", "Internet Explorer", "VBScript", "Security Alert"].each do |dialog_title| if (autoit.WinWait(dialog_title, '', 1) == 1) case dialog_title when "Microsoft Internet Explorer", "Internet Explorer" autoit.Send('{Enter}') when "Error" $autoit.Send('{N}') when "VBScript", "Security Alert" autoit.Send('{Y}') else autoit.Send('{ESC}') end end end sleep 20 #close your eyes and rest end end # exectue process as a thread KILL_POPUPS = Thread.new { kill_popups} marekj Watirloo: Semantic Page Objects in UseCases Human Readable Machine Executable Acceptance Testing http://github.com/marekj/watirloo/ On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: > I have several javascript popups that I need to dismiss with an OK or a > cancel. I am using the popupchecker method described on the wiki. At first > I was using the click_no_wait method to click the button that cause the > popup to come up. It did not work. The popup came up but it never got to > the popupchecker. Someone suggested that I use the click! method. I tried > that and the first popup came up and it clicked it sucessfully. Later in > the script there is another javascript popup that comes up. This time > neither the click_no_wait nor the click! method works. It looks like it > hangs before it ever gets to the popupchecker method. I say this because I > put some "puts" in the popupchecker method and they do not get executed > until after I manually click OK or Cancel. > > I have used popupchecker in fxri to make sure it would work. I can execute > popupchecker in fxri to dismiss the popups so I know there is nothing > technically wrong with the code. > > I am confused why click! would work the first time and not the second time. > > Does anyone have any ideas I can try? > > Jim > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Mon Mar 2 12:38:27 2009 From: bret at pettichord.com (Bret Pettichord) Date: Mon, 2 Mar 2009 11:38:27 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: I think someone has submitted a patch for click_no_wait to fix a bug that only showed up on some windows platforms. Not sure if this ever made it to trunk, but it needs to get there. Bret On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: > Jim, > I have some strange stuff too, like popups coming up after clicking a radio > button. I have not invested a lot of time into perfecting a popup dismissing > code. I just hack it with threads. > So for example I have a radio button click and popup comes up. Here is what > I do > > #set 2nd radio in a group that causes popup > threads << Thread.new { page.radio_group(:name, 'blabla').set 2} > # dismiss popup with clickJSDialog > threads << Thread.new { system("rubyw > c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb > OK 5") } > # let it rip > threads.each {|x| x.join} > > so far this hack works. I haven't ran benchmarks but it only happens in one > page in my apps. > > I also use unexpected popups and I dismiss it with autoit. Since I test on > WinXP autoit is my solution. > > def kill_popups > autoit = WIN32OLE.new('AutoItX3.Control') > loop do > ["Microsoft Internet Explorer", > "Internet Explorer", "VBScript", > "Security Alert"].each do |dialog_title| > if (autoit.WinWait(dialog_title, '', 1) == 1) > case dialog_title > when "Microsoft Internet Explorer", "Internet Explorer" > autoit.Send('{Enter}') > when "Error" > $autoit.Send('{N}') > when "VBScript", "Security Alert" > autoit.Send('{Y}') > else > autoit.Send('{ESC}') > end > end > end > sleep 20 #close your eyes and rest > end > end > > # exectue process as a thread > KILL_POPUPS = Thread.new { kill_popups} > > > > > marekj > > Watirloo: Semantic Page Objects in UseCases > Human Readable Machine Executable Acceptance Testing > http://github.com/marekj/watirloo/ > > > > > > On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: > > I have several javascript popups that I need to dismiss with an OK or a > > cancel. I am using the popupchecker method described on the wiki. At > first > > I was using the click_no_wait method to click the button that cause the > > popup to come up. It did not work. The popup came up but it never got > to > > the popupchecker. Someone suggested that I use the click! method. I > tried > > that and the first popup came up and it clicked it sucessfully. Later in > > the script there is another javascript popup that comes up. This time > > neither the click_no_wait nor the click! method works. It looks like it > > hangs before it ever gets to the popupchecker method. I say this because > I > > put some "puts" in the popupchecker method and they do not get executed > > until after I manually click OK or Cancel. > > > > I have used popupchecker in fxri to make sure it would work. I can > execute > > popupchecker in fxri to dismiss the popups so I know there is nothing > > technically wrong with the code. > > > > I am confused why click! would work the first time and not the second > time. > > > > Does anyone have any ideas I can try? > > > > Jim > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Mon Mar 2 13:17:10 2009 From: charley.baker at gmail.com (Charley Baker) Date: Mon, 2 Mar 2009 11:17:10 -0700 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: Added a comment to the JIRA issue for this: http://jira.openqa.org/browse/WTR-283. The patch didn't work on my winxp vm. -c On Mon, Mar 2, 2009 at 10:38 AM, Bret Pettichord wrote: > I think someone has submitted a patch for click_no_wait to fix a bug that > only showed up on some windows platforms. > > Not sure if this ever made it to trunk, but it needs to get there. > > Bret > > On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: > >> Jim, >> I have some strange stuff too, like popups coming up after clicking a >> radio button. I have not invested a lot of time into perfecting a popup >> dismissing code. I just hack it with threads. >> So for example I have a radio button click and popup comes up. Here is >> what I do >> >> #set 2nd radio in a group that causes popup >> threads << Thread.new { page.radio_group(:name, 'blabla').set 2} >> # dismiss popup with clickJSDialog >> threads << Thread.new { system("rubyw >> c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb >> OK 5") } >> # let it rip >> threads.each {|x| x.join} >> >> so far this hack works. I haven't ran benchmarks but it only happens in >> one page in my apps. >> >> I also use unexpected popups and I dismiss it with autoit. Since I test on >> WinXP autoit is my solution. >> >> def kill_popups >> autoit = WIN32OLE.new('AutoItX3.Control') >> loop do >> ["Microsoft Internet Explorer", >> "Internet Explorer", "VBScript", >> "Security Alert"].each do |dialog_title| >> if (autoit.WinWait(dialog_title, '', 1) == 1) >> case dialog_title >> when "Microsoft Internet Explorer", "Internet Explorer" >> autoit.Send('{Enter}') >> when "Error" >> $autoit.Send('{N}') >> when "VBScript", "Security Alert" >> autoit.Send('{Y}') >> else >> autoit.Send('{ESC}') >> end >> end >> end >> sleep 20 #close your eyes and rest >> end >> end >> >> # exectue process as a thread >> KILL_POPUPS = Thread.new { kill_popups} >> >> >> >> >> marekj >> >> Watirloo: Semantic Page Objects in UseCases >> Human Readable Machine Executable Acceptance Testing >> http://github.com/marekj/watirloo/ >> >> >> >> >> >> On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: >> > I have several javascript popups that I need to dismiss with an OK or a >> > cancel. I am using the popupchecker method described on the wiki. At >> first >> > I was using the click_no_wait method to click the button that cause the >> > popup to come up. It did not work. The popup came up but it never got >> to >> > the popupchecker. Someone suggested that I use the click! method. I >> tried >> > that and the first popup came up and it clicked it sucessfully. Later >> in >> > the script there is another javascript popup that comes up. This time >> > neither the click_no_wait nor the click! method works. It looks like it >> > hangs before it ever gets to the popupchecker method. I say this >> because I >> > put some "puts" in the popupchecker method and they do not get executed >> > until after I manually click OK or Cancel. >> > >> > I have used popupchecker in fxri to make sure it would work. I can >> execute >> > popupchecker in fxri to dismiss the popups so I know there is nothing >> > technically wrong with the code. >> > >> > I am confused why click! would work the first time and not the second >> time. >> > >> > Does anyone have any ideas I can try? >> > >> > Jim >> > _______________________________________________ >> > Wtr-development mailing list >> > Wtr-development at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/wtr-development >> > >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > GTalk: bpettichord at gmail.com > CTO, WatirCraft LLC, http://www.watircraft.com > Lead Developer, Watir, http://www.watir.com > Blog (Essays), http://www.io.com/~wazmo/blog > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > Training, http://www.watircraft.com/watir-training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Mon Mar 2 14:41:06 2009 From: bret at pettichord.com (Bret Pettichord) Date: Mon, 2 Mar 2009 13:41:06 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: Darn! On Mon, Mar 2, 2009 at 12:17 PM, Charley Baker wrote: > Added a comment to the JIRA issue for this: > http://jira.openqa.org/browse/WTR-283. The patch didn't work on my winxp > vm. > > -c > > > On Mon, Mar 2, 2009 at 10:38 AM, Bret Pettichord wrote: > >> I think someone has submitted a patch for click_no_wait to fix a bug that >> only showed up on some windows platforms. >> >> Not sure if this ever made it to trunk, but it needs to get there. >> >> Bret >> >> On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: >> >>> Jim, >>> I have some strange stuff too, like popups coming up after clicking a >>> radio button. I have not invested a lot of time into perfecting a popup >>> dismissing code. I just hack it with threads. >>> So for example I have a radio button click and popup comes up. Here is >>> what I do >>> >>> #set 2nd radio in a group that causes popup >>> threads << Thread.new { page.radio_group(:name, 'blabla').set 2} >>> # dismiss popup with clickJSDialog >>> threads << Thread.new { system("rubyw >>> c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb >>> OK 5") } >>> # let it rip >>> threads.each {|x| x.join} >>> >>> so far this hack works. I haven't ran benchmarks but it only happens in >>> one page in my apps. >>> >>> I also use unexpected popups and I dismiss it with autoit. Since I test >>> on WinXP autoit is my solution. >>> >>> def kill_popups >>> autoit = WIN32OLE.new('AutoItX3.Control') >>> loop do >>> ["Microsoft Internet Explorer", >>> "Internet Explorer", "VBScript", >>> "Security Alert"].each do |dialog_title| >>> if (autoit.WinWait(dialog_title, '', 1) == 1) >>> case dialog_title >>> when "Microsoft Internet Explorer", "Internet Explorer" >>> autoit.Send('{Enter}') >>> when "Error" >>> $autoit.Send('{N}') >>> when "VBScript", "Security Alert" >>> autoit.Send('{Y}') >>> else >>> autoit.Send('{ESC}') >>> end >>> end >>> end >>> sleep 20 #close your eyes and rest >>> end >>> end >>> >>> # exectue process as a thread >>> KILL_POPUPS = Thread.new { kill_popups} >>> >>> >>> >>> >>> marekj >>> >>> Watirloo: Semantic Page Objects in UseCases >>> Human Readable Machine Executable Acceptance Testing >>> http://github.com/marekj/watirloo/ >>> >>> >>> >>> >>> >>> On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: >>> > I have several javascript popups that I need to dismiss with an OK or a >>> > cancel. I am using the popupchecker method described on the wiki. At >>> first >>> > I was using the click_no_wait method to click the button that cause the >>> > popup to come up. It did not work. The popup came up but it never got >>> to >>> > the popupchecker. Someone suggested that I use the click! method. I >>> tried >>> > that and the first popup came up and it clicked it sucessfully. Later >>> in >>> > the script there is another javascript popup that comes up. This time >>> > neither the click_no_wait nor the click! method works. It looks like >>> it >>> > hangs before it ever gets to the popupchecker method. I say this >>> because I >>> > put some "puts" in the popupchecker method and they do not get executed >>> > until after I manually click OK or Cancel. >>> > >>> > I have used popupchecker in fxri to make sure it would work. I can >>> execute >>> > popupchecker in fxri to dismiss the popups so I know there is nothing >>> > technically wrong with the code. >>> > >>> > I am confused why click! would work the first time and not the second >>> time. >>> > >>> > Does anyone have any ideas I can try? >>> > >>> > Jim >>> > _______________________________________________ >>> > Wtr-development mailing list >>> > Wtr-development at rubyforge.org >>> > http://rubyforge.org/mailman/listinfo/wtr-development >>> > >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> >> -- >> Bret Pettichord >> GTalk: bpettichord at gmail.com >> CTO, WatirCraft LLC, http://www.watircraft.com >> Lead Developer, Watir, http://www.watir.com >> Blog (Essays), http://www.io.com/~wazmo/blog >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> Training, http://www.watircraft.com/watir-training >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael_hwee at yahoo.com Mon Mar 2 18:18:07 2009 From: michael_hwee at yahoo.com (Michael Hwee) Date: Mon, 2 Mar 2009 15:18:07 -0800 (PST) Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: <345481.99420.qm@web31805.mail.mud.yahoo.com> Charley, Can you try this? module Watir class RadioCheckCommon < InputElement def set_no_wait(set=true) locate unless @o @o.checked = set @o.fireEvent("onClick") end end end # Activate the radio or Checkbox (that trigger the popup) $ie.radio(:id, 'MyRadioID').set_no_wait # call your popup handler after that. Michael ________________________________ From: Charley Baker To: Watir development Sent: Monday, March 2, 2009 10:17:10 AM Subject: Re: [Wtr-development] Trouble getting click_no_wait and click! to work Added a comment to the JIRA issue for this: http://jira.openqa.org/browse/WTR-283. The patch didn't work on my winxp vm. -c On Mon, Mar 2, 2009 at 10:38 AM, Bret Pettichord wrote: I think someone has submitted a patch for click_no_wait to fix a bug that only showed up on some windows platforms. Not sure if this ever made it to trunk, but it needs to get there. Bret On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: Jim, I have some strange stuff too, like popups coming up after clicking a radio button. I have not invested a lot of time into perfecting a popup dismissing code. I just hack it with threads. So for example I have a radio button click and popup comes up. Here is what I do #set 2nd radio in a group that causes popup threads << Thread.new { page.radio_group(:name, 'blabla').set 2} # dismiss popup with clickJSDialog threads << Thread.new { system("rubyw c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb OK 5") } # let it rip threads.each {|x| x.join} so far this hack works. I haven't ran benchmarks but it only happens in one page in my apps. I also use unexpected popups and I dismiss it with autoit. Since I test on WinXP autoit is my solution. def kill_popups autoit = WIN32OLE.new('AutoItX3.Control') loop do ["Microsoft Internet Explorer", "Internet Explorer", "VBScript", "Security Alert"].each do |dialog_title| if (autoit.WinWait(dialog_title, '', 1) == 1) case dialog_title when "Microsoft Internet Explorer", "Internet Explorer" autoit.Send('{Enter}') when "Error" $autoit.Send('{N}') when "VBScript", "Security Alert" autoit.Send('{Y}') else autoit.Send('{ESC}') end end end sleep 20 #close your eyes and rest end end # exectue process as a thread KILL_POPUPS = Thread.new { kill_popups} marekj Watirloo: Semantic Page Objects in UseCases Human Readable Machine Executable Acceptance Testing http://github.com/marekj/watirloo/ On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: > I have several javascript popups that I need to dismiss with an OK or a > cancel. I am using the popupchecker method described on the wiki. At first > I was using the click_no_wait method to click the button that cause the > popup to come up. It did not work. The popup came up but it never got to > the popupchecker. Someone suggested that I use the click! method. I tried > that and the first popup came up and it clicked it sucessfully. Later in > the script there is another javascript popup that comes up. This time > neither the click_no_wait nor the click! method works. It looks like it > hangs before it ever gets to the popupchecker method. I say this because I > put some "puts" in the popupchecker method and they do not get executed > until after I manually click OK or Cancel. > > I have used popupchecker in fxri to make sure it would work. I can execute > popupchecker in fxri to dismiss the popups so I know there is nothing > technically wrong with the code. > > I am confused why click! would work the first time and not the second time. > > Does anyone have any ideas I can try? > > Jim > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 01:14:52 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 11:44:52 +0530 Subject: [Wtr-development] git on windows In-Reply-To: References: Message-ID: I was able to download the source code and make changes to it. But how should I send the changes to github, its there on my local repository. I tried to push the changes to "master" (that is the only branch which it showed me in GUI), i got following error Looking up github.com ... done. Connecting to github.com (port 9418) ... 65.74.177.129 done. fatal: protocol error: expected sha/ref, got ' *********' You can't push to git://github.com/user/repo.git Use git at github.com:user/repo.git *********' Any suggestions? - Angrez On Tue, Feb 24, 2009 at 1:47 AM, marekj wrote: > On Windows I downloaded Windows Encoder (free). Both for 64 bit and 32bit. > http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx > It has a screencapture configuration that encodes a small file. > Default compression is set to 259kbs and 15 frames, but I think I > would go full 30 frames and 1Mbps as I've seen recommended somewhere. > I'll try to up the quality and see it it bloats up the file. > > On Mac iShowU sounds good (as Paul points out) > > On Linux Ubuntu???? Don't know yet but I would like a recommendation > because I want to do some Watir and Firewatir screencasts. > > Thanks > > marekj > > Watirloo: Semantic Page Objects in UseCases > Human Readable Machine Executable Acceptance Testing > http://github.com/marekj/watirloo/ > > > > > On Mon, Feb 23, 2009 at 10:08 AM, Bret Pettichord > wrote: > > Marekj, > > > > How did you create these videos? What tool did you use? > > > > Bret > > > > On Thu, Feb 19, 2009 at 2:37 PM, marekj wrote: > >> > >> and another Git on Windows screencast showing working with git gui and > >> git bash together doing some branching and merging and resolving > >> conflicts with kdiff3. (I find it useful for myself to go through it. > >> it's fun to do those screencasts). > >> > >> http://www.viddler.com/explore/testrus/videos/2/ > >> > >> > >> marekj > >> > >> Watirloo: Semantic Page Objects in UseCases > >> Human Readable Machine Executable Acceptance Testing > >> http://github.com/marekj/watirloo/ > >> > >> > >> > >> > >> On Wed, Feb 18, 2009 at 10:26 PM, marekj wrote: > >> > ... and I was inspired to make a 10 minute screencast (no voice) > >> > showing Git GUI on windows. > >> > this is my first ever screencast and I captured too large of an area > so > >> > please watch full screen if you can. I will make another video showing > >> > cloning Watir to your windows machine. This will be fun. > >> > Do notice I say "Hello Watir Champions" in the screencast > >> > > >> > http://www.viddler.com/explore/testrus/videos/1/ > >> > > >> > thanks > >> > > >> > marekj > >> > > >> > Watirloo: Semantic Page Objects in UseCases > >> > Human Readable Machine Executable Acceptance Testing > >> > http://github.com/marekj/watirloo/ > >> > > >> > > >> > > >> > On Wed, Feb 18, 2009 at 4:36 PM, Bret Pettichord > > >> > wrote: > >> >> for those of you who want to learn to use git... > >> >> > >> >> http://nathanj.github.com/gitguide/tour.html > >> >> > >> >> http://gitcasts.com/posts/git-on-windows > >> >> > >> >> http://www.slideshare.net/testrus/git-on-windows-plain-introduction > >> >> > >> >> -- > >> >> Bret Pettichord > >> >> GTalk: bpettichord at gmail.com > >> >> CTO, WatirCraft LLC, http://www.watircraft.com > >> >> Lead Developer, Watir, http://www.watir.com > >> >> Blog (Essays), http://www.io.com/~wazmo/blog > >> >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > >> >> Training, http://www.watircraft.com/watir-training > >> >> > >> >> _______________________________________________ > >> >> Wtr-development mailing list > >> >> Wtr-development at rubyforge.org > >> >> http://rubyforge.org/mailman/listinfo/wtr-development > >> >> > >> > > >> _______________________________________________ > >> Wtr-development mailing list > >> Wtr-development at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > -- > > Bret Pettichord > > GTalk: bpettichord at gmail.com > > CTO, WatirCraft LLC, http://www.watircraft.com > > Lead Developer, Watir, http://www.watir.com > > Blog (Essays), http://www.io.com/~wazmo/blog > > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > > Training, http://www.watircraft.com/watir-training > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Fri Mar 6 01:32:03 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 6 Mar 2009 00:32:03 -0600 Subject: [Wtr-development] git on windows In-Reply-To: References: Message-ID: This is your problem: You can't push to git://github.com/user/repo.git Use git at github.com:user/repo.git That means you cloned using the wrong url. I think you need to change your "remote" to fix this. I'm too brain dead right now to be of further help (12:30 am). Bret On Fri, Mar 6, 2009 at 12:14 AM, Angrez Singh wrote: > I was able to download the source code and make changes to it. But how > should I send the changes to github, its there on my local repository. > > I tried to push the changes to "master" (that is the only branch which it > showed me in GUI), i got following error > Looking up github.com ... done. > Connecting to github.com (port 9418) ... 65.74.177.129 done. > fatal: protocol error: expected sha/ref, got ' > *********' > > You can't push to git://github.com/user/repo.git > Use git at github.com:user/repo.git > > *********' > Any suggestions? > > - Angrez > > > On Tue, Feb 24, 2009 at 1:47 AM, marekj wrote: > >> On Windows I downloaded Windows Encoder (free). Both for 64 bit and >> 32bit. >> http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx >> It has a screencapture configuration that encodes a small file. >> Default compression is set to 259kbs and 15 frames, but I think I >> would go full 30 frames and 1Mbps as I've seen recommended somewhere. >> I'll try to up the quality and see it it bloats up the file. >> >> On Mac iShowU sounds good (as Paul points out) >> >> On Linux Ubuntu???? Don't know yet but I would like a recommendation >> because I want to do some Watir and Firewatir screencasts. >> >> Thanks >> >> marekj >> >> Watirloo: Semantic Page Objects in UseCases >> Human Readable Machine Executable Acceptance Testing >> http://github.com/marekj/watirloo/ >> >> >> >> >> On Mon, Feb 23, 2009 at 10:08 AM, Bret Pettichord >> wrote: >> > Marekj, >> > >> > How did you create these videos? What tool did you use? >> > >> > Bret >> > >> > On Thu, Feb 19, 2009 at 2:37 PM, marekj wrote: >> >> >> >> and another Git on Windows screencast showing working with git gui and >> >> git bash together doing some branching and merging and resolving >> >> conflicts with kdiff3. (I find it useful for myself to go through it. >> >> it's fun to do those screencasts). >> >> >> >> http://www.viddler.com/explore/testrus/videos/2/ >> >> >> >> >> >> marekj >> >> >> >> Watirloo: Semantic Page Objects in UseCases >> >> Human Readable Machine Executable Acceptance Testing >> >> http://github.com/marekj/watirloo/ >> >> >> >> >> >> >> >> >> >> On Wed, Feb 18, 2009 at 10:26 PM, marekj wrote: >> >> > ... and I was inspired to make a 10 minute screencast (no voice) >> >> > showing Git GUI on windows. >> >> > this is my first ever screencast and I captured too large of an area >> so >> >> > please watch full screen if you can. I will make another video >> showing >> >> > cloning Watir to your windows machine. This will be fun. >> >> > Do notice I say "Hello Watir Champions" in the screencast >> >> > >> >> > http://www.viddler.com/explore/testrus/videos/1/ >> >> > >> >> > thanks >> >> > >> >> > marekj >> >> > >> >> > Watirloo: Semantic Page Objects in UseCases >> >> > Human Readable Machine Executable Acceptance Testing >> >> > http://github.com/marekj/watirloo/ >> >> > >> >> > >> >> > >> >> > On Wed, Feb 18, 2009 at 4:36 PM, Bret Pettichord < >> bret at pettichord.com> >> >> > wrote: >> >> >> for those of you who want to learn to use git... >> >> >> >> >> >> http://nathanj.github.com/gitguide/tour.html >> >> >> >> >> >> http://gitcasts.com/posts/git-on-windows >> >> >> >> >> >> http://www.slideshare.net/testrus/git-on-windows-plain-introduction >> >> >> >> >> >> -- >> >> >> Bret Pettichord >> >> >> GTalk: bpettichord at gmail.com >> >> >> CTO, WatirCraft LLC, http://www.watircraft.com >> >> >> Lead Developer, Watir, http://www.watir.com >> >> >> Blog (Essays), http://www.io.com/~wazmo/blog >> >> >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> >> >> Training, http://www.watircraft.com/watir-training >> >> >> >> >> >> _______________________________________________ >> >> >> Wtr-development mailing list >> >> >> Wtr-development at rubyforge.org >> >> >> http://rubyforge.org/mailman/listinfo/wtr-development >> >> >> >> >> > >> >> _______________________________________________ >> >> Wtr-development mailing list >> >> Wtr-development at rubyforge.org >> >> http://rubyforge.org/mailman/listinfo/wtr-development >> > >> > >> > >> > -- >> > Bret Pettichord >> > GTalk: bpettichord at gmail.com >> > CTO, WatirCraft LLC, http://www.watircraft.com >> > Lead Developer, Watir, http://www.watir.com >> > Blog (Essays), http://www.io.com/~wazmo/blog >> > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> > Training, http://www.watircraft.com/watir-training >> > >> > _______________________________________________ >> > Wtr-development mailing list >> > Wtr-development at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/wtr-development >> > >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 06:17:45 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 16:47:45 +0530 Subject: [Wtr-development] Setting up watir on windows Message-ID: Hi, I know it has been asked a lot of time. I tried all the things for setting up GIT on windows but not able to do that. Can somebody post here the steps that they have used to set up watir using git on windows. Sorry for the inconvenience. Regards, Angrez -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Fri Mar 6 09:39:38 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 6 Mar 2009 08:39:38 -0600 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: you need to start by using this command: git clone git at github.com:bret/watir.git Bret On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: > Hi, > > I know it has been asked a lot of time. I tried all the things for setting > up GIT on windows but not able to do that. Can somebody post here the steps > that they have used to set up watir using git on windows. > > Sorry for the inconvenience. > > Regards, > Angrez > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 10:54:46 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 21:24:46 +0530 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: I have "pushed" the change. Here is the log Counting objects: 13, done. Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, done. Total 7 (delta 5), reused 0 (delta 0) Pushing to git at github.com:bret/watir.git To git at github.com:bret/watir.git 4348c29..eabfbc9 master -> master updating local tracking ref 'refs/remotes/origin/master' Let me know if it gets into the repository. I can see my comments there on http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb Regards, Angrez On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: > you need to start by using this command: > > git clone git at github.com:bret/watir.git > > Bret > > On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: > >> Hi, >> >> I know it has been asked a lot of time. I tried all the things for setting >> up GIT on windows but not able to do that. Can somebody post here the steps >> that they have used to set up watir using git on windows. >> >> Sorry for the inconvenience. >> >> Regards, >> Angrez >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > GTalk: bpettichord at gmail.com > CTO, WatirCraft LLC, http://www.watircraft.com > Lead Developer, Watir, http://www.watir.com > Blog (Essays), http://www.io.com/~wazmo/blog > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > Training, http://www.watircraft.com/watir-training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Fri Mar 6 11:57:38 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 6 Mar 2009 10:57:38 -0600 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: it worked and all the unit tests passed. http://watirbuild.com/builds/ie_core_tests/eabfbc http://watirbuild.com/builds/ff_mozilla_all_tests/eabfbc thanks! btw, love to see in you on the #watir irc channel sometime! On Fri, Mar 6, 2009 at 9:54 AM, Angrez Singh wrote: > I have "pushed" the change. Here is the log > > Counting objects: 13, done. > Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. > Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, done. > Total 7 (delta 5), reused 0 (delta 0) > Pushing to git at github.com:bret/watir.git > To git at github.com:bret/watir.git > 4348c29..eabfbc9 master -> master > updating local tracking ref 'refs/remotes/origin/master' > > Let me know if it gets into the repository. I can see my comments there on > > http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb > > Regards, > Angrez > > > On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: > >> you need to start by using this command: >> >> git clone git at github.com:bret/watir.git >> >> Bret >> >> On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: >> >>> Hi, >>> >>> I know it has been asked a lot of time. I tried all the things for >>> setting up GIT on windows but not able to do that. Can somebody post here >>> the steps that they have used to set up watir using git on windows. >>> >>> Sorry for the inconvenience. >>> >>> Regards, >>> Angrez >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> >> -- >> Bret Pettichord >> GTalk: bpettichord at gmail.com >> CTO, WatirCraft LLC, http://www.watircraft.com >> Lead Developer, Watir, http://www.watir.com >> Blog (Essays), http://www.io.com/~wazmo/blog >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> Training, http://www.watircraft.com/watir-training >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 12:34:07 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 23:04:07 +0530 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: i would also love to be there but again how to set it up :)? - Angrez On Fri, Mar 6, 2009 at 10:27 PM, Bret Pettichord wrote: > it worked and all the unit tests passed. > http://watirbuild.com/builds/ie_core_tests/eabfbc > http://watirbuild.com/builds/ff_mozilla_all_tests/eabfbc > > thanks! > > btw, love to see in you on the #watir irc channel sometime! > > > On Fri, Mar 6, 2009 at 9:54 AM, Angrez Singh wrote: > >> I have "pushed" the change. Here is the log >> >> Counting objects: 13, done. >> Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. >> Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, >> done. >> Total 7 (delta 5), reused 0 (delta 0) >> Pushing to git at github.com:bret/watir.git >> To git at github.com:bret/watir.git >> 4348c29..eabfbc9 master -> master >> updating local tracking ref 'refs/remotes/origin/master' >> >> Let me know if it gets into the repository. I can see my comments there on >> >> >> http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb >> >> Regards, >> Angrez >> >> >> On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: >> >>> you need to start by using this command: >>> >>> git clone git at github.com:bret/watir.git >>> >>> Bret >>> >>> On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: >>> >>>> Hi, >>>> >>>> I know it has been asked a lot of time. I tried all the things for >>>> setting up GIT on windows but not able to do that. Can somebody post here >>>> the steps that they have used to set up watir using git on windows. >>>> >>>> Sorry for the inconvenience. >>>> >>>> Regards, >>>> Angrez >>>> >>>> _______________________________________________ >>>> Wtr-development mailing list >>>> Wtr-development at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>> >>> >>> >>> >>> -- >>> Bret Pettichord >>> GTalk: bpettichord at gmail.com >>> CTO, WatirCraft LLC, http://www.watircraft.com >>> Lead Developer, Watir, http://www.watir.com >>> Blog (Essays), http://www.io.com/~wazmo/blog >>> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >>> Training, http://www.watircraft.com/watir-training >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > GTalk: bpettichord at gmail.com > CTO, WatirCraft LLC, http://www.watircraft.com > Lead Developer, Watir, http://www.watir.com > Blog (Essays), http://www.io.com/~wazmo/blog > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > Training, http://www.watircraft.com/watir-training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 6 13:11:32 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 6 Mar 2009 11:11:32 -0700 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: http://wiki.openqa.org/display/WTR/The+IRC+Channel There are other non web based clients as well, but mibbit is pretty simple and works through proxies. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 6, 2009 at 10:34 AM, Angrez Singh wrote: > i would also love to be there but again how to set it up :)? > > - Angrez > > > On Fri, Mar 6, 2009 at 10:27 PM, Bret Pettichord wrote: > >> it worked and all the unit tests passed. >> http://watirbuild.com/builds/ie_core_tests/eabfbc >> http://watirbuild.com/builds/ff_mozilla_all_tests/eabfbc >> >> thanks! >> >> btw, love to see in you on the #watir irc channel sometime! >> >> >> On Fri, Mar 6, 2009 at 9:54 AM, Angrez Singh wrote: >> >>> I have "pushed" the change. Here is the log >>> >>> Counting objects: 13, done. >>> Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. >>> Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, >>> done. >>> Total 7 (delta 5), reused 0 (delta 0) >>> Pushing to git at github.com:bret/watir.git >>> To git at github.com:bret/watir.git >>> 4348c29..eabfbc9 master -> master >>> updating local tracking ref 'refs/remotes/origin/master' >>> >>> Let me know if it gets into the repository. I can see my comments there >>> on >>> >>> http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb >>> >>> Regards, >>> Angrez >>> >>> >>> On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: >>> >>>> you need to start by using this command: >>>> >>>> git clone git at github.com:bret/watir.git >>>> >>>> Bret >>>> >>>> On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: >>>> >>>>> Hi, >>>>> >>>>> I know it has been asked a lot of time. I tried all the things for >>>>> setting up GIT on windows but not able to do that. Can somebody post here >>>>> the steps that they have used to set up watir using git on windows. >>>>> >>>>> Sorry for the inconvenience. >>>>> >>>>> Regards, >>>>> Angrez >>>>> >>>>> _______________________________________________ >>>>> Wtr-development mailing list >>>>> Wtr-development at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>>> >>>> >>>> >>>> >>>> -- >>>> Bret Pettichord >>>> GTalk: bpettichord at gmail.com >>>> CTO, WatirCraft LLC, http://www.watircraft.com >>>> Lead Developer, Watir, http://www.watir.com >>>> Blog (Essays), http://www.io.com/~wazmo/blog >>>> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >>>> Training, http://www.watircraft.com/watir-training >>>> >>>> _______________________________________________ >>>> Wtr-development mailing list >>>> Wtr-development at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>> >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> >> -- >> Bret Pettichord >> GTalk: bpettichord at gmail.com >> CTO, WatirCraft LLC, http://www.watircraft.com >> Lead Developer, Watir, http://www.watir.com >> Blog (Essays), http://www.io.com/~wazmo/blog >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> Training, http://www.watircraft.com/watir-training >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.koops at gmail.com Sun Mar 8 20:35:12 2009 From: tim.koops at gmail.com (Tim Koopmans) Date: Mon, 9 Mar 2009 11:35:12 +1100 Subject: [Wtr-development] justaddwatir.com - to be continued? Message-ID: <93ee69e90903081735v237565f4pc73a6c352bf3fd8d@mail.gmail.com> Hi guys, Interested in your thoughts about continuing with http://justaddwatir.com The initial purpose of this site was to act as a cookbook of recipes by example, mostly in response to common questions asked on watir-general. Secondary purpose was to act as a regression suite of more advanced/applied test cases from which to test dev builds against. Brett has kindly offered to create a project on watirbuild.com to host these. At present it is run as a blog with two editors. Test cases are in svn and the setup is typically run on a virtual machine. Basically trawl the user group, find something you want to explore, create a test case with appropriate stub/mock and write a blog post about it. Difficulties I'm having (sure you all do) is balancing work and contributing to open source! So interested in your comments and suggestions for the following questions: 1. Is something like this required? As in a cookbook of recipes ... I personally find cookbooks great value. 2. Is the format appropriate? i.e. wordpress blog with categories 3. Does it add any value to the development process? To users? I'm keen to keep it going in some form or other. Happy to adjust course, invite additional editors or take on advice as required. Regards, Tim Koopmans -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Tue Mar 10 17:43:52 2009 From: marekj.com at gmail.com (marekj) Date: Tue, 10 Mar 2009 16:43:52 -0500 Subject: [Wtr-development] justaddwatir.com - to be continued? In-Reply-To: <93ee69e90903081735v237565f4pc73a6c352bf3fd8d@mail.gmail.com> References: <93ee69e90903081735v237565f4pc73a6c352bf3fd8d@mail.gmail.com> Message-ID: On Sun, Mar 8, 2009 at 7:35 PM, Tim Koopmans wrote: > Hi guys, > snip > Difficulties I'm having (sure you all do) is balancing work and > contributing to open source! So interested in your comments and suggestions > for the following questions: > > 1. Is something like this required? As in a cookbook of recipes ... I > personally find cookbooks great value. > I love cookbook stuff. so the recipe format is great. I learn the most from someone walking through stating a problem, suggesting solution and then showing going about putting the solution in place. > 2. Is the format appropriate? i.e. wordpress blog with categories > not sure, anything is great if written with critical thinking > 3. Does it add any value to the development process? To users? > adds value to me. > I'm keen to keep it going in some form or other. Happy to adjust course, > invite additional editors or take on advice as required. > > Regards, > Tim Koopmans > > Thanks Tim for putting it together. I've looked at some examples and thought: oh! I haven't thought about that... so this is great. I get most of my Watir news from FeedDemon, I slurp rss feeds based on watir keyword mostly and I get unexpected results. and yes, balancing work, family and trying to contribute is hard. I notice I have spurs of some energy to write something and then back to the salt mines and breadmaking marekj -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Wed Mar 11 19:44:43 2009 From: marekj.com at gmail.com (marekj) Date: Wed, 11 Mar 2009 18:44:43 -0500 Subject: [Wtr-development] More XPath speed thoughts In-Reply-To: References: Message-ID: Andrew, code examples with benchmarks would be useful. gist.github.com is a good place I haven't had some problems with slow processing of the page when I have many elements on it marekj | Boiled Watir Award Winner Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Mon, Feb 2, 2009 at 5:35 PM, Andrew McFarlane wrote: > Back in December, I wondered aloud if I could speed up finding a control > via XPath by accessing ie's msxml process. I could not figure out how to do > that. > > I can speed up seeing if a particular element exists by using libxml > instead of rexml. However, if I want to activate an element (e.g. click()) > instead of just examine it, I need to implement a parser, which seems to be > the intent of element_by_absolute_xpath() in the source code. Has anyone > tried to either make element_by_absolute_xpath() faster or worked on > anything else that would make ie xpath support for ie faster? How about > using a fast javascript xpath library? > > Thanks. > > Andrew > > ------------------------------ > Windows Live?: E-mail. Chat. Share. Get more ways to connect. Check it > out. > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Fri Mar 20 08:30:23 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Fri, 20 Mar 2009 12:30:23 +0000 Subject: [Wtr-development] REXML => nokogiri Message-ID: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Hi, Has anyone looked at replacing REXML in Watir with either hpricot to nokogiri? Aidy From bret at pettichord.com Fri Mar 20 10:26:31 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 20 Mar 2009 09:26:31 -0500 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Message-ID: You should go ahead and fork it and try it out. Bret On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis wrote: > Hi, > > Has anyone looked at replacing REXML in Watir with either hpricot to > nokogiri? > > Aidy > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 20 10:27:37 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 20 Mar 2009 08:27:37 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Message-ID: I don't think anyone's looked at it, but I know why you're asking. :) The recent profiling definitely shows a huge speed advantage of either of those libraries over rexml. Might be worth looking into. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 20, 2009 at 6:30 AM, aidy lewis wrote: > Hi, > > Has anyone looked at replacing REXML in Watir with either hpricot to > nokogiri? > > Aidy > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Fri Mar 20 12:59:58 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Fri, 20 Mar 2009 16:59:58 +0000 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Message-ID: <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> OK. I will see if I can directly substitute it in the source. Aidy 2009/3/20 Bret Pettichord : > You should go ahead and fork it and try it out. > > Bret > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > wrote: >> >> Hi, >> >> Has anyone looked at replacing REXML in Watir with either hpricot to >> nokogiri? >> >> Aidy >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > -- > Bret Pettichord > CTO, WatirCraft LLC, www.watircraft.com > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord > GTalk: bpettichord at gmail.com > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > www.watircraft.com/training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From welkin_inc at hotmail.com Fri Mar 20 15:07:43 2009 From: welkin_inc at hotmail.com (Andrew McFarlane) Date: Fri, 20 Mar 2009 13:07:43 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: I've also used libxml. It's authors claim that it is faster. Andrew McFarlane > Date: Fri, 20 Mar 2009 16:59:58 +0000 > From: aidy.lewis at googlemail.com > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] REXML => nokogiri > > OK. I will see if I can directly substitute it in the source. > > Aidy > > 2009/3/20 Bret Pettichord : > > You should go ahead and fork it and try it out. > > > > Bret > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > wrote: > >> > >> Hi, > >> > >> Has anyone looked at replacing REXML in Watir with either hpricot to > >> nokogiri? > >> > >> Aidy > >> _______________________________________________ > >> Wtr-development mailing list > >> Wtr-development at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > -- > > Bret Pettichord > > CTO, WatirCraft LLC, www.watircraft.com > > Lead Developer, Watir, www.watir.com > > > > Blog, www.io.com/~wazmo/blog > > Twitter, www.twitter.com/bpettichord > > GTalk: bpettichord at gmail.com > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > www.watircraft.com/training > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development _________________________________________________________________ Get quick access to your favorite MSN content with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 20 16:12:30 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 20 Mar 2009 14:12:30 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: They're all faster than REXML. REXML is slower by a large margin, and seems to be suffering from neglect, whereas nokogiri and hpricot aren't and additionally have better apis than REXML or libxml. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct 2009/3/20 Andrew McFarlane > I've also used libxml. It's authors claim that it is faster. > > Andrew McFarlane > > > > > > Date: Fri, 20 Mar 2009 16:59:58 +0000 > > From: aidy.lewis at googlemail.com > > To: wtr-development at rubyforge.org > > Subject: Re: [Wtr-development] REXML => nokogiri > > > > > OK. I will see if I can directly substitute it in the source. > > > > Aidy > > > > 2009/3/20 Bret Pettichord : > > > You should go ahead and fork it and try it out. > > > > > > Bret > > > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > > > wrote: > > >> > > >> Hi, > > >> > > >> Has anyone looked at replacing REXML in Watir with either hpricot to > > >> nokogiri? > > >> > > >> Aidy > > >> _______________________________________________ > > >> Wtr-development mailing list > > >> Wtr-development at rubyforge.org > > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > > > > > -- > > > Bret Pettichord > > > CTO, WatirCraft LLC, www.watircraft.com > > > Lead Developer, Watir, www.watir.com > > > > > > Blog, www.io.com/~wazmo/blog > > > Twitter, www.twitter.com/bpettichord > > > GTalk: bpettichord at gmail.com > > > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > > www.watircraft.com/training > > > > > > _______________________________________________ > > > Wtr-development mailing list > > > Wtr-development at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wtr-development > > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > ------------------------------ > Get quick access to your favorite MSN content with Internet Explorer 8. Download > FREE now! > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From welkin_inc at hotmail.com Fri Mar 20 18:45:54 2009 From: welkin_inc at hotmail.com (Andrew McFarlane) Date: Fri, 20 Mar 2009 16:45:54 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: Benchmarks suggest nokogiri is the fastest: http://www.rubyinside.com/ruby-xml-performance-benchmarks-1641.html Andrew Date: Fri, 20 Mar 2009 14:12:30 -0600 From: charley.baker at gmail.com To: wtr-development at rubyforge.org Subject: Re: [Wtr-development] REXML => nokogiri They're all faster than REXML. REXML is slower by a large margin, and seems to be suffering from neglect, whereas nokogiri and hpricot aren't and additionally have better apis than REXML or libxml. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct 2009/3/20 Andrew McFarlane I've also used libxml. It's authors claim that it is faster. Andrew McFarlane > Date: Fri, 20 Mar 2009 16:59:58 +0000 > From: aidy.lewis at googlemail.com > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] REXML => nokogiri > > OK. I will see if I can directly substitute it in the source. > > Aidy > > 2009/3/20 Bret Pettichord : > > You should go ahead and fork it and try it out. > > > > Bret > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > wrote: > >> > >> Hi, > >> > >> Has anyone looked at replacing REXML in Watir with either hpricot to > >> nokogiri? > >> > >> Aidy > >> _______________________________________________ > >> Wtr-development mailing list > >> Wtr-development at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > -- > > Bret Pettichord > > CTO, WatirCraft LLC, www.watircraft.com > > Lead Developer, Watir, www.watir.com > > > > Blog, www.io.com/~wazmo/blog > > Twitter, www.twitter.com/bpettichord > > GTalk: bpettichord at gmail.com > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > www.watircraft.com/training > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development Get quick access to your favorite MSN content with Internet Explorer 8. Download FREE now! _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development _________________________________________________________________ Windows Live? SkyDrive: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 20 20:58:56 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 20 Mar 2009 18:58:56 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: True, but that's not the only benchmark to rate them on. REXML is vastly slower, and additionally it's also lost any traction as far as continuing development which is another criteria. _why has continued development on hpricot, making it competitive and the nokigiri project has some steam right now. So for those reasons, I'd suggest looking at an alternative to REXML. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct 2009/3/20 Andrew McFarlane > Benchmarks suggest nokogiri is the fastest: > http://www.rubyinside.com/ruby-xml-performance-benchmarks-1641.html > > Andrew > > > > ------------------------------ > Date: Fri, 20 Mar 2009 14:12:30 -0600 > From: charley.baker at gmail.com > > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] REXML => nokogiri > > They're all faster than REXML. REXML is slower by a large margin, and seems > to be suffering from neglect, whereas nokogiri and hpricot aren't and > additionally have better apis than REXML or libxml. > > > Charley Baker > blog: http://blog.charleybaker.org/ > Lead Developer, Watir, http://wtr.rubyforge.org > QA Architect, Gap Inc Direct > > > 2009/3/20 Andrew McFarlane > > I've also used libxml. It's authors claim that it is faster. > > Andrew McFarlane > > > > > > Date: Fri, 20 Mar 2009 16:59:58 +0000 > > From: aidy.lewis at googlemail.com > > To: wtr-development at rubyforge.org > > Subject: Re: [Wtr-development] REXML => nokogiri > > > > > OK. I will see if I can directly substitute it in the source. > > > > Aidy > > > > 2009/3/20 Bret Pettichord : > > > You should go ahead and fork it and try it out. > > > > > > Bret > > > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > > > wrote: > > >> > > >> Hi, > > >> > > >> Has anyone looked at replacing REXML in Watir with either hpricot to > > >> nokogiri? > > >> > > >> Aidy > > >> _______________________________________________ > > >> Wtr-development mailing list > > >> Wtr-development at rubyforge.org > > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > > > > > -- > > > Bret Pettichord > > > CTO, WatirCraft LLC, www.watircraft.com > > > Lead Developer, Watir, www.watir.com > > > > > > Blog, www.io.com/~wazmo/blog > > > Twitter, www.twitter.com/bpettichord > > > GTalk: bpettichord at gmail.com > > > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > > www.watircraft.com/training > > > > > > _______________________________________________ > > > Wtr-development mailing list > > > Wtr-development at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wtr-development > > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > ------------------------------ > Get quick access to your favorite MSN content with Internet Explorer 8. Download > FREE now! > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > > > > ------------------------------ > Windows Live? SkyDrive: Get 25 GB of free online storage. Check it out. > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Sat Mar 21 03:14:22 2009 From: jim_matt at swbell.net (jim_matt) Date: Sat, 21 Mar 2009 02:14:22 -0500 Subject: [Wtr-development] I have figured a few things out about click_no _wait References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com><7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: <012101c9a9f4$a96172a0$c701000a@Jimsxp> I think I have figured a few things out with the click_no_wait problem. First, I think the problem with click_no_wait not actually not clicking the button/link is a Ruby 1.8.6-27 problem. It is because the quoted string is not passed into Ruby correctly. In Ruby 1.8.6-26, you get: C:\>ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] C:\>ruby -e "puts \"Does this work?\"" Does this work? C:\> However, on a 1.8.6-27 system, the following happens: C:\>ruby --version ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] C:\>ruby -e "puts \"Does this work?\"" -e:1: unterminated string meets end of file C:\> There is a second problem. When you set the timeout for clicking the popup button longer than 4 seconds, Watir times out first: . . . if (ie.enabled_popup) wc = WinClicker.new wc.clickWindowsButton(/Internet Explorer/, "OK", 30) end >ruby javatest.rb c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in `wait_until': Timed out after 4.006 seconds. (Watir::Exception::TimeOutException) from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in `wait_until' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in `enabled_popup' from javatest.rb:13 >Exit code: 1 So even though I have the click set to not timeout until after 30 seconds, Watir seems to timeout after about 4 seconds. I did not want want to publish what I found out about click_no_wait to Watir-general until I could show that it all worked. I would like any one else to verify what I have found. Do you have any ideas about the timeout? Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Sat Mar 21 13:11:07 2009 From: charley.baker at gmail.com (Charley Baker) Date: Sat, 21 Mar 2009 11:11:07 -0600 Subject: [Wtr-development] I have figured a few things out about click_no _wait In-Reply-To: <012101c9a9f4$a96172a0$c701000a@Jimsxp> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: Hey Jim, Fascinating. Thanks for all the effort to nail this down. I can reproduce it on my side as well. That does seem to be a problem for click_no_wait which works with 1.8.6 p111 but not 1.8.6-27RC2 which explains the disparity between some people seeing it and some not (I hadn't seen the problem until just now since I use 1.8.6p111). I'll also take a look at the timeout issue if I get a chance soon. -c On Sat, Mar 21, 2009 at 1:14 AM, jim_matt wrote: > I think I have figured a few things out with the click_no_wait problem. > > First, I think the problem with click_no_wait not actually not clicking the > button/link is a Ruby 1.8.6-27 problem. It is because the quoted string is > not passed into Ruby correctly. > In Ruby 1.8.6-26, you get: > > C:\>ruby --version > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > C:\>ruby -e "puts \"Does this work?\"" > Does this work? > > C:\> > > However, on a 1.8.6-27 system, the following happens: > > C:\>ruby --version > ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] > > C:\>ruby -e "puts \"Does this work?\"" > -e:1: unterminated string meets end of file > > C:\> > > > There is a second problem. When you set the timeout for clicking the popup > button longer than 4 seconds, Watir times out first: > . > . > . > if (ie.enabled_popup) > wc = WinClicker.new > wc.clickWindowsButton(/Internet Explorer/, "OK", 30) > end > > >ruby javatest.rb > c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in > `wait_until': Timed out after 4.006 seconds. > (Watir::Exception::TimeOutException) > from > c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in > `wait_until' > from > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in > `enabled_popup' > from javatest.rb:13 > >Exit code: 1 > > So even though I have the click set to not timeout until after 30 seconds, > Watir seems to timeout after about 4 seconds. > > I did not want want to publish what I found out about click_no_wait to > Watir-general until I could show that it all worked. I would like any one > else to verify what I have found. > > Do you have any ideas about the timeout? > > Jim > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Mon Mar 23 11:12:41 2009 From: bret at pettichord.com (Bret Pettichord) Date: Mon, 23 Mar 2009 10:12:41 -0500 Subject: [Wtr-development] I have figured a few things out about click_no _wait In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: I just sent out a quick note summarizing the Ruby bug to the Watir General list. This really looks like a Ruby bug. I am wondering whether it is Windows-specific or not, and whether the Ruby core team know about it and have fixed it yet. Bret 2009/3/21 Charley Baker > Hey Jim, > > Fascinating. Thanks for all the effort to nail this down. I can reproduce > it on my side as well. That does seem to be a problem for click_no_wait > which works with 1.8.6 p111 but not 1.8.6-27RC2 which explains the disparity > between some people seeing it and some not (I hadn't seen the problem until > just now since I use 1.8.6p111). > > I'll also take a look at the timeout issue if I get a chance soon. > > -c > > On Sat, Mar 21, 2009 at 1:14 AM, jim_matt wrote: > >> I think I have figured a few things out with the click_no_wait problem. >> >> First, I think the problem with click_no_wait not actually not clicking >> the button/link is a Ruby 1.8.6-27 problem. It is because the quoted string >> is not passed into Ruby correctly. >> In Ruby 1.8.6-26, you get: >> >> C:\>ruby --version >> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] >> >> C:\>ruby -e "puts \"Does this work?\"" >> Does this work? >> >> C:\> >> >> However, on a 1.8.6-27 system, the following happens: >> >> C:\>ruby --version >> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] >> >> C:\>ruby -e "puts \"Does this work?\"" >> -e:1: unterminated string meets end of file >> >> C:\> >> >> >> There is a second problem. When you set the timeout for clicking the >> popup button longer than 4 seconds, Watir times out first: >> . >> . >> . >> if (ie.enabled_popup) >> wc = WinClicker.new >> wc.clickWindowsButton(/Internet Explorer/, "OK", 30) >> end >> >> >ruby javatest.rb >> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in >> `wait_until': Timed out after 4.006 seconds. >> (Watir::Exception::TimeOutException) >> from >> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in >> `wait_until' >> from >> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in >> `enabled_popup' >> from javatest.rb:13 >> >Exit code: 1 >> >> So even though I have the click set to not timeout until after 30 seconds, >> Watir seems to timeout after about 4 seconds. >> >> I did not want want to publish what I found out about click_no_wait to >> Watir-general until I could show that it all worked. I would like any one >> else to verify what I have found. >> >> Do you have any ideas about the timeout? >> >> Jim >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Mon Mar 23 21:30:43 2009 From: charley.baker at gmail.com (Charley Baker) Date: Mon, 23 Mar 2009 19:30:43 -0600 Subject: [Wtr-development] I have figured a few things out about click_no _wait In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: I was thinking the same thing. I'm now running 1.8.6 p287 on OSX, ran the same quick command line one liner and it works fine. This seems to be a problem with the Windows version of Ruby with patchlevel 287, or whatever libraries are being used in Windows with the latest one click installer. Fun. -c 2009/3/23 Bret Pettichord > I just sent out a quick note summarizing the Ruby bug to the Watir General > list. > > This really looks like a Ruby bug. I am wondering whether it is > Windows-specific or not, and whether the Ruby core team know about it and > have fixed it yet. > > Bret > > 2009/3/21 Charley Baker > > Hey Jim, >> >> Fascinating. Thanks for all the effort to nail this down. I can reproduce >> it on my side as well. That does seem to be a problem for click_no_wait >> which works with 1.8.6 p111 but not 1.8.6-27RC2 which explains the disparity >> between some people seeing it and some not (I hadn't seen the problem until >> just now since I use 1.8.6p111). >> >> I'll also take a look at the timeout issue if I get a chance soon. >> >> -c >> >> On Sat, Mar 21, 2009 at 1:14 AM, jim_matt wrote: >> >>> I think I have figured a few things out with the click_no_wait problem. >>> >>> First, I think the problem with click_no_wait not actually not clicking >>> the button/link is a Ruby 1.8.6-27 problem. It is because the quoted string >>> is not passed into Ruby correctly. >>> In Ruby 1.8.6-26, you get: >>> >>> C:\>ruby --version >>> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] >>> >>> C:\>ruby -e "puts \"Does this work?\"" >>> Does this work? >>> >>> C:\> >>> >>> However, on a 1.8.6-27 system, the following happens: >>> >>> C:\>ruby --version >>> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] >>> >>> C:\>ruby -e "puts \"Does this work?\"" >>> -e:1: unterminated string meets end of file >>> >>> C:\> >>> >>> >>> There is a second problem. When you set the timeout for clicking the >>> popup button longer than 4 seconds, Watir times out first: >>> . >>> . >>> . >>> if (ie.enabled_popup) >>> wc = WinClicker.new >>> wc.clickWindowsButton(/Internet Explorer/, "OK", 30) >>> end >>> >>> >ruby javatest.rb >>> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in >>> `wait_until': Timed out after 4.006 seconds. >>> (Watir::Exception::TimeOutException) >>> from >>> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in >>> `wait_until' >>> from >>> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in >>> `enabled_popup' >>> from javatest.rb:13 >>> >Exit code: 1 >>> >>> So even though I have the click set to not timeout until after 30 >>> seconds, Watir seems to timeout after about 4 seconds. >>> >>> I did not want want to publish what I found out about click_no_wait to >>> Watir-general until I could show that it all worked. I would like any one >>> else to verify what I have found. >>> >>> Do you have any ideas about the timeout? >>> >>> Jim >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > CTO, WatirCraft LLC, www.watircraft.com > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord > GTalk: bpettichord at gmail.com > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > www.watircraft.com/training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at watircraft.com Tue Mar 24 10:13:07 2009 From: bret at watircraft.com (Bret Pettichord) Date: Tue, 24 Mar 2009 09:13:07 -0500 Subject: [Wtr-development] Fwd: Click no wait In-Reply-To: References: Message-ID: A possible solution... ---------- Forwarded message ---------- From: Hugh McGowan Date: Mon, Mar 23, 2009 at 10:59 PM Subject: Click no wait To: bret at watircraft.com Hey Bret, I saw this click no wait issue on Friday too and worked around it by doing a gsub of double quotes " with three of them """ to work properly in dos for the command that is sent to the shell (but not the outer quotes). I'm on vacation and have only an iPhone connection so have not been able to make sure it works with the unit tests and in unix but it may save you some time or help point you in the right direction Hugh -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Tue Mar 24 19:46:10 2009 From: jim_matt at swbell.net (jim_matt) Date: Tue, 24 Mar 2009 18:46:10 -0500 Subject: [Wtr-development] Fwd: Click no wait References: Message-ID: <017b01c9acda$b639f770$c701000a@Jimsxp> I tried this and it does work on 1.8.6-27, but it does not work on 1.8.6-26. So it would be another temporary workaround, but expect it to break the next release. Jim ----- Original Message ----- From: Bret Pettichord To: Watir development Sent: Tuesday, March 24, 2009 9:13 AM Subject: [Wtr-development] Fwd: Click no wait A possible solution... ---------- Forwarded message ---------- From: Hugh McGowan Date: Mon, Mar 23, 2009 at 10:59 PM Subject: Click no wait To: bret at watircraft.com Hey Bret, I saw this click no wait issue on Friday too and worked around it by doing a gsub of double quotes " with three of them """ to work properly in dos for the command that is sent to the shell (but not the outer quotes). I'm on vacation and have only an iPhone connection so have not been able to make sure it works with the unit tests and in unix but it may save you some time or help point you in the right direction Hugh -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training ------------------------------------------------------------------------------ _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Wed Mar 25 00:30:40 2009 From: jim_matt at swbell.net (jim_matt) Date: Tue, 24 Mar 2009 23:30:40 -0500 Subject: [Wtr-development] Bug report for string escaping in Ruby 1.8.6-27 References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com><7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com><012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: <02dd01c9ad02$74651050$c701000a@Jimsxp> All, I have entered a bug report in the Ruby bug tracking system about the problem escaping the input string into Ruby. This is part of the problem with click_no_wait not working with Ruby 1.8.6. I do not know if the problem is in Ruby, but I figured that they were the best ones to figure that out. In case you are interested, the issue number is 1315. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Wed Mar 25 11:06:40 2009 From: marekj.com at gmail.com (marekj) Date: Wed, 25 Mar 2009 10:06:40 -0500 Subject: [Wtr-development] Bug report for string escaping in Ruby 1.8.6-27 In-Reply-To: <02dd01c9ad02$74651050$c701000a@Jimsxp> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> <02dd01c9ad02$74651050$c701000a@Jimsxp> Message-ID: Thanks Jim http://redmine.ruby-lang.org/issues/show/1315 marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ 2009/3/24 jim_matt > All, > > I have entered a bug report in the Ruby bug tracking system about the > problem escaping the input string into Ruby. This is part of the problem > with click_no_wait not working with Ruby 1.8.6. > > I do not know if the problem is in Ruby, but I figured that they were the > best ones to figure that out. In case you are interested, the issue number > is 1315. > > Jim > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Wed Mar 25 20:37:03 2009 From: bret at pettichord.com (Bret Pettichord) Date: Wed, 25 Mar 2009 19:37:03 -0500 Subject: [Wtr-development] Bug report for string escaping in Ruby 1.8.6-27 In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> <02dd01c9ad02$74651050$c701000a@Jimsxp> Message-ID: Thanks fro the report. I'm watching the issue. Bret 2009/3/25 marekj > Thanks Jim > http://redmine.ruby-lang.org/issues/show/1315 > > marekj > > Watirloo: Semantic Page Objects in UseCases > http://github.com/marekj/watirloo/ > > > > 2009/3/24 jim_matt > >> All, >> >> I have entered a bug report in the Ruby bug tracking system about the >> problem escaping the input string into Ruby. This is part of the problem >> with click_no_wait not working with Ruby 1.8.6. >> >> I do not know if the problem is in Ruby, but I figured that they were the >> best ones to figure that out. In case you are interested, the issue number >> is 1315. >> >> Jim >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Wed Mar 25 20:06:02 2009 From: bret at pettichord.com (Bret Pettichord) Date: Wed, 25 Mar 2009 19:06:02 -0500 Subject: [Wtr-development] rexml Message-ID: someone want to look at this or help Aidy with forking? Bret ---------- Forwarded message ---------- From: Adrian Lewis Date: Wed, Mar 25, 2009 at 12:30 PM Subject: To: bret at pettichord.com Bret, I am having problems forking on git hub. I include REXML => nokogiri with test Aidy This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this This e-mail has been sent by one of the following wholly-owned subsidiaries of the BBC: BBC Worldwide Limited, Registration Number: 1420028 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ BBC World News Limited, Registration Number: 04514407 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ BBC World Distribution Limited, Registration Number: 04514408, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ie-class.rb Type: application/octet-stream Size: 29330 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nokogiri_unit_test.rb Type: application/octet-stream Size: 648 bytes Desc: not available URL: From angrez at gmail.com Thu Mar 26 02:00:54 2009 From: angrez at gmail.com (Angrez Singh) Date: Thu, 26 Mar 2009 11:30:54 +0530 Subject: [Wtr-development] rexml In-Reply-To: References: Message-ID: I can take a look at it. But not sure how to fork and start working? Any pointers? - Angrez 2009/3/26 Bret Pettichord > someone want to look at this or help Aidy with forking? > > Bret > > ---------- Forwarded message ---------- > From: Adrian Lewis > Date: Wed, Mar 25, 2009 at 12:30 PM > Subject: > To: bret at pettichord.com > > > Bret, > > > > I am having problems forking on git hub. > > > > I include REXML => nokogiri with test > > > > Aidy > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance > on it and notify the sender immediately. > > Please note that the BBC monitors e-mails sent or received. Further > communication will signify your consent to this > > This e-mail has been sent by one of the following wholly-owned subsidiaries > of the BBC: > > BBC Worldwide Limited, Registration Number: 1420028 England, Registered > Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ > BBC World News Limited, Registration Number: 04514407 England, Registered > Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ > BBC World Distribution Limited, Registration Number: 04514408, Registered > Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ > > > > > > > -- > Bret Pettichord > CTO, WatirCraft LLC, www.watircraft.com > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord > GTalk: bpettichord at gmail.com > > Watir Training: Portland/Beaverton April 16-17 > www.watircraft.com/training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zeljko.filipin at wa-research.ch Thu Mar 26 05:54:53 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Thu, 26 Mar 2009 10:54:53 +0100 Subject: [Wtr-development] rexml In-Reply-To: References: Message-ID: > From: Adrian Lewis > I am having problems forking on git hub. Aidy, I have been there recently too. :) Could you be more specific? What is the problem? ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Thu Mar 26 07:05:10 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Thu, 26 Mar 2009 11:05:10 +0000 Subject: [Wtr-development] rexml In-Reply-To: References: Message-ID: <7ac2300c0903260405m194310dma55152e7251c0328@mail.gmail.com> Hi, I forked Watir, but everyone time I edit I am asked for a new admistration name. I cannot proceed with the current name. Aidy On 26/03/2009, ?eljko Filipin wrote: > > From: Adrian Lewis > > I am having problems forking on git hub. > > Aidy, > > I have been there recently too. :) > > Could you be more specific? What is the problem? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From zeljko.filipin at wa-research.ch Thu Mar 26 07:11:32 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Thu, 26 Mar 2009 12:11:32 +0100 Subject: [Wtr-development] rexml In-Reply-To: <7ac2300c0903260405m194310dma55152e7251c0328@mail.gmail.com> References: <7ac2300c0903260405m194310dma55152e7251c0328@mail.gmail.com> Message-ID: On Thu, Mar 26, 2009 at 12:05, aidy lewis wrote: > I forked Watir, but everyone time I edit I am asked for a new > admistration name. You edit it locally with git? ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From alister.scott at gmail.com Thu Mar 26 07:09:33 2009 From: alister.scott at gmail.com (Alister Scott) Date: Thu, 26 Mar 2009 21:09:33 +1000 Subject: [Wtr-development] Watir.com migration? Message-ID: <16bf298e0903260409o53444dd1w9fff49b2a0bde360@mail.gmail.com> Hi Guys, I am really keen to help out with the watir.com stuff, but I am at a standstill because I don't know how to proceed. I posted some questions on the grouphug thing: http://watircraft.grouphub.com/projects/2375489/posts/20323259/comments and here they are: - Where are the license keys stored (these are required to configure both JIRA and Confluence - What is the JIRA home directory on the server? - What is the JIRA attachment directory (under the home directory?)? - What is the Confluence home directory? - What is the Confluence attachment directory (under the home directory?)? - What port is Confluence running on? (I have tried 80) - What type of installation has been used? Standalone? - Who will be importing the existing data? Cheers, Alister -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Thu Mar 26 10:56:12 2009 From: charley.baker at gmail.com (Charley Baker) Date: Thu, 26 Mar 2009 08:56:12 -0600 Subject: [Wtr-development] Watir.com migration? In-Reply-To: <16bf298e0903260409o53444dd1w9fff49b2a0bde360@mail.gmail.com> References: <16bf298e0903260409o53444dd1w9fff49b2a0bde360@mail.gmail.com> Message-ID: Alister, Just updated basecamp. Also set you up as an administrator, LMK if you don't get the email from the server with the password. -c 2009/3/26 Alister Scott > Hi Guys, > > I am really keen to help out with the watir.com stuff, but I am at a > standstill because I don't know how to proceed. > > I posted some questions on the grouphug thing: > http://watircraft.grouphub.com/projects/2375489/posts/20323259/commentsand here they are: > > > - Where are the license keys stored (these are required to configure > both JIRA and Confluence > - What is the JIRA home directory on the server? > - What is the JIRA attachment directory (under the home directory?)? > - What is the Confluence home directory? > - What is the Confluence attachment directory (under the home > directory?)? > - What port is Confluence running on? (I have tried 80) > - What type of installation has been used? Standalone? > - Who will be importing the existing data? > > Cheers, > > Alister > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Thu Mar 26 12:05:44 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Thu, 26 Mar 2009 16:05:44 +0000 Subject: [Wtr-development] (Was:rexml, now github on windows) Message-ID: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Has anyone had a probelm with cloning? $ git clone git clone git at github.com:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ warning: You appear to have cloned an empty repository. fatal: The remote end hung up unexpectedly Think it is the FireWall, but if I try $ git clone http://github.com/:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/watir/.git/ fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did you run git update-server-info on the server? Cheers Aidy On 26/03/2009, ?eljko Filipin wrote: > On Thu, Mar 26, 2009 at 12:05, aidy lewis wrote: > > I forked Watir, but everyone time I edit I am asked for a new > > admistration name. > > You edit it locally with git? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From zeljko.filipin at wa-research.ch Thu Mar 26 13:17:50 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Thu, 26 Mar 2009 18:17:50 +0100 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: On Thu, Mar 26, 2009 at 17:05, aidy lewis wrote: > Has anyone had a probelm with cloning? Which OS do you use (forgot to ask the first time)? ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Thu Mar 26 13:23:41 2009 From: charley.baker at gmail.com (Charley Baker) Date: Thu, 26 Mar 2009 11:23:41 -0600 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Never seen that before, unless you're behind a proxy or corporate firewall which git doesn't really deal with well. -c On Thu, Mar 26, 2009 at 10:05 AM, aidy lewis wrote: > Has anyone had a probelm with cloning? > > $ git clone git clone git at github.com:aidylewis/watir.git > Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ > warning: You appear to have cloned an empty repository. > fatal: The remote end hung up unexpectedly > > Think it is the FireWall, but if I try > > $ git clone http://github.com/:aidylewis/watir.git > > Initialized empty Git repository in > C:/aidy_watir_fork/AidyWatir/watir/.git/ > fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did > you run git update-server-info on the server? > > Cheers > > Aidy > > > On 26/03/2009, ?eljko Filipin wrote: > > On Thu, Mar 26, 2009 at 12:05, aidy lewis > wrote: > > > I forked Watir, but everyone time I edit I am asked for a new > > > admistration name. > > > > You edit it locally with git? > > > > ?eljko > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Thu Mar 26 13:44:22 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Thu, 26 Mar 2009 17:44:22 +0000 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: <7ac2300c0903261044w44aa21c8gcf14000b03eeba33@mail.gmail.com> windows, using msysgit Aidy On 26/03/2009, ?eljko Filipin wrote: > On Thu, Mar 26, 2009 at 17:05, aidy lewis wrote: > > Has anyone had a probelm with cloning? > > Which OS do you use (forgot to ask the first time)? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From zeljko.filipin at wa-research.ch Sat Mar 28 16:18:38 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Sat, 28 Mar 2009 21:18:38 +0100 Subject: [Wtr-development] Git and Github on Mac Message-ID: I do not usually announce my blog posts here, but I have blogged how to contribute code to Watir. I have lost two Friday nights fighting with Git and Github to make one line change to Watir code and push it to Github. Maybe what I have learned will help future contributors in not making the same mistakes. The post has a lot of images and examples what to do, and what not to do. http://zeljkofilipin.com/2009/03/28/git-and-github-on-mac/ Let me know if I you like it, or do not like it. ?eljko -- Lead Loudmouth, Watir, watir.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Sat Mar 28 16:40:47 2009 From: charley.baker at gmail.com (Charley Baker) Date: Sat, 28 Mar 2009 14:40:47 -0600 Subject: [Wtr-development] [wtr-general] Git and Github on Mac In-Reply-To: References: Message-ID: I liked it a lot, read it this morning. It's a great intro to how to contribute to Watir or any github project from scratch. :) -c On Sat, Mar 28, 2009 at 2:18 PM, ?eljko Filipin wrote: > I do not usually announce my blog posts here, but I have blogged how to > contribute code to Watir. I have lost two Friday nights fighting with Git > and Github to make one line change to Watir code and push it to Github. > Maybe what I have learned will help future contributors in not making the > same mistakes. The post has a lot of images and examples what to do, and > what not to do. > > http://zeljkofilipin.com/2009/03/28/git-and-github-on-mac/ > > Let me know if I you like it, or do not like it. > > ?eljko > -- > Lead Loudmouth, Watir, watir.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 at 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-unsubscribe at googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > -~----------~----~----~----~------~----~------~--~--- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Sun Mar 29 15:21:27 2009 From: bret at pettichord.com (Bret Pettichord) Date: Sun, 29 Mar 2009 14:21:27 -0500 Subject: [Wtr-development] [wtr-general] Git and Github on Mac In-Reply-To: References: Message-ID: <49CFCA37.2070803@pettichord.com> Zeljko, For your information, after you accidently messed up the whitespace and pushed these changes to your repo, you could have used the "git reset" command to undo your changes. git reset HEAD~ git push Instead you deleted your entire repo and started over. I know I was coaching you at that point, and it was late and you were tired, but I thought I would share this for next time. BTW, this is a good example of something that you can do with Git that is not possible with SVN. Bret ?eljko Filipin wrote: > I do not usually announce my blog posts here, but I have blogged how > to contribute code to Watir. I have lost two Friday nights fighting > with Git and Github to make one line change to Watir code and push it > to Github. Maybe what I have learned will help future contributors in > not making the same mistakes. The post has a lot of images and > examples what to do, and what not to do. > > http://zeljkofilipin.com/2009/03/28/git-and-github-on-mac/ > > Let me know if I you like it, or do not like it. > > ?eljko > -- > Lead Loudmouth, Watir, watir.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 at 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-unsubscribe at googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > -~----------~----~----~----~------~----~------~--~--- > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training From zeljko.filipin at wa-research.ch Mon Mar 30 05:04:01 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Mon, 30 Mar 2009 11:04:01 +0200 Subject: [Wtr-development] [wtr-general] Re: Git and Github on Mac In-Reply-To: <49CFCA37.2070803@pettichord.com> References: <49CFCA37.2070803@pettichord.com> Message-ID: On Sun, Mar 29, 2009 at 21:21, Bret Pettichord wrote: > git reset HEAD~ > git push Bret, Thank you for letting me know that. I am not surprised that Git can do such undo magic. :) I will add it to the blog post right now, maybe it helps somebody. ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Tue Mar 31 18:28:25 2009 From: marekj.com at gmail.com (marekj) Date: Tue, 31 Mar 2009 17:28:25 -0500 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Aidy $ git clone git at github.com:aidylewis/watir.git should work. for firewall I read this but didn't have luck setting it up http://blog.codeslower.com/2008/8/Using-PuTTY-and-SSL-to-securely-access-GitHub-repositories-via-SSH marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Thu, Mar 26, 2009 at 11:05 AM, aidy lewis wrote: > Has anyone had a probelm with cloning? > > $ git clone git clone git at github.com:aidylewis/watir.git > Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ > warning: You appear to have cloned an empty repository. > fatal: The remote end hung up unexpectedly > > Think it is the FireWall, but if I try > > $ git clone http://github.com/:aidylewis/watir.git > > Initialized empty Git repository in > C:/aidy_watir_fork/AidyWatir/watir/.git/ > fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did > you run git update-server-info on the server? > > Cheers > > Aidy > > > On 26/03/2009, ?eljko Filipin wrote: > > On Thu, Mar 26, 2009 at 12:05, aidy lewis > wrote: > > > I forked Watir, but everyone time I edit I am asked for a new > > > admistration name. > > > > You edit it locally with git? > > > > ?eljko > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasnow at hotmail.com Tue Mar 31 19:46:38 2009 From: jasnow at hotmail.com (Al Snow) Date: Tue, 31 Mar 2009 19:46:38 -0400 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Aidy, Please note that you repeated "git clone" (colored red below) twice in your original email. Thanks, Al Snow Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow Date: Tue, 31 Mar 2009 17:28:25 -0500 From: marekj.com at gmail.com To: wtr-development at rubyforge.org Subject: Re: [Wtr-development] (Was:rexml, now github on windows) Aidy $ git clone git at github.com:aidylewis/watir.git should work. for firewall I read this but didn't have luck setting it up http://blog.codeslower.com/2008/8/Using-PuTTY-and-SSL-to-securely-access-GitHub-repositories-via-SSH marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Thu, Mar 26, 2009 at 11:05 AM, aidy lewis wrote: Has anyone had a probelm with cloning? $ git clone git clone git at github.com:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ warning: You appear to have cloned an empty repository. fatal: The remote end hung up unexpectedly Think it is the FireWall, but if I try $ git clone http://github.com/:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/watir/.git/ fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did you run git update-server-info on the server? Cheers Aidy On 26/03/2009, ?eljko Filipin wrote: > On Thu, Mar 26, 2009 at 12:05, aidy lewis wrote: > > I forked Watir, but everyone time I edit I am asked for a new > > admistration name. > > You edit it locally with git? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development _________________________________________________________________ Internet Explorer 8 ? Get your Hotmail Accelerated. Download free! http://clk.atdmt.com/MRT/go/141323790/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alister.scott at gmail.com Tue Mar 31 20:42:12 2009 From: alister.scott at gmail.com (Alister Scott) Date: Wed, 1 Apr 2009 10:42:12 +1000 Subject: [Wtr-development] Introducing Watif: Web Application Testing in FORTRAN In-Reply-To: <96f388ca-4681-462b-b737-6980bb0f7106@x31g2000prc.googlegroups.com> References: <96f388ca-4681-462b-b737-6980bb0f7106@x31g2000prc.googlegroups.com> Message-ID: <16bf298e0903311742h3857a896ld780e480b24cb2c2@mail.gmail.com> Hi, After months of dedicated hard work, I am pleased to announce the immediate release of Watif: Web Application Testing in FORTRAN. Check it out and let me know if you need any more information: http://tinyurl.com/watif Cheers, Alister Scott Brisbane, Australia http://watirmelon.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Tue Mar 31 21:19:15 2009 From: bret at pettichord.com (Bret Pettichord) Date: Tue, 31 Mar 2009 20:19:15 -0500 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Sharp eyes, Al. Aidy, this is the correct syntax: > git clone git at github.com:aidylewis/watir.git Bret 2009/3/31 Al Snow > Aidy, > > Please note that you repeated "*git clone*" (colored red below) twice in > your original email. > > Thanks, > Al Snow > Linkedin: http://www.linkedin.com/in/alsnow > Google Talk: jasnow1 > Twitter: jasnow > > ------------------------------ > Date: Tue, 31 Mar 2009 17:28:25 -0500 > From: marekj.com at gmail.com > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] (Was:rexml, now github on windows) > > > Aidy > $ git clone git at github.com:aidylewis/watir.git > should work. > for firewall I read this but didn't have luck setting it up > > http://blog.codeslower.com/2008/8/Using-PuTTY-and-SSL-to-securely-access-GitHub-repositories-via-SSH > > > > > marekj > > Watirloo: Semantic Page Objects in UseCases > http://github.com/marekj/watirloo/ > > > > On Thu, Mar 26, 2009 at 11:05 AM, aidy lewis wrote: > > Has anyone had a probelm with cloning? > > $ *git clone git clone* git at github.com:aidylewis/watir.git > Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ > warning: You appear to have cloned an empty repository. > fatal: The remote end hung up unexpectedly > > Think it is the FireWall, but if I try > > $ git clone http://github.com/:aidylewis/watir.git > > Initialized empty Git repository in > C:/aidy_watir_fork/AidyWatir/watir/.git/ > fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did > you run git update-server-info on the server? > > Cheers > > Aidy > > > On 26/03/2009, ?eljko Filipin wrote: > > On Thu, Mar 26, 2009 at 12:05, aidy lewis > wrote: > > > I forked Watir, but everyone time I edit I am asked for a new > > > admistration name. > > > > You edit it locally with git? > > > > ?eljko > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > > > > ------------------------------ > Internet Explorer 8 ? Get your Hotmail Accelerated. Download free! > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Tue Mar 31 22:46:43 2009 From: jim_matt at swbell.net (jim_matt) Date: Tue, 31 Mar 2009 21:46:43 -0500 Subject: [Wtr-development] Introducing Watif: Web Application Testing inFORTRAN References: <96f388ca-4681-462b-b737-6980bb0f7106@x31g2000prc.googlegroups.com> <16bf298e0903311742h3857a896ld780e480b24cb2c2@mail.gmail.com> Message-ID: <008901c9b274$17dd9d80$c701000a@Jimsxp> I have been waithing 30 years for this! FORTRAN was my first programming language, punch cards and all. Now I can die happy. Jim ----- Original Message ----- From: Alister Scott To: wtr-development at rubyforge.org Sent: Tuesday, March 31, 2009 7:42 PM Subject: [Wtr-development] Introducing Watif: Web Application Testing inFORTRAN Hi, After months of dedicated hard work, I am pleased to announce the immediate release of Watif: Web Application Testing in FORTRAN. Check it out and let me know if you need any more information: http://tinyurl.com/watif Cheers, Alister Scott Brisbane, Australia http://watirmelon.wordpress.com/ ------------------------------------------------------------------------------ _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Sun Mar 1 20:57:38 2009 From: jim_matt at swbell.net (jim_matt) Date: Sun, 1 Mar 2009 19:57:38 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work References: Message-ID: <009b01c99ada$4448a790$c701000a@Jimsxp> I have several javascript popups that I need to dismiss with an OK or a cancel. I am using the popupchecker method described on the wiki. At first I was using the click_no_wait method to click the button that cause the popup to come up. It did not work. The popup came up but it never got to the popupchecker. Someone suggested that I use the click! method. I tried that and the first popup came up and it clicked it sucessfully. Later in the script there is another javascript popup that comes up. This time neither the click_no_wait nor the click! method works. It looks like it hangs before it ever gets to the popupchecker method. I say this because I put some "puts" in the popupchecker method and they do not get executed until after I manually click OK or Cancel. I have used popupchecker in fxri to make sure it would work. I can execute popupchecker in fxri to dismiss the popups so I know there is nothing technically wrong with the code. I am confused why click! would work the first time and not the second time. Does anyone have any ideas I can try? Jim From marekj.com at gmail.com Mon Mar 2 11:29:47 2009 From: marekj.com at gmail.com (marekj) Date: Mon, 2 Mar 2009 10:29:47 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: <009b01c99ada$4448a790$c701000a@Jimsxp> References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: Jim, I have some strange stuff too, like popups coming up after clicking a radio button. I have not invested a lot of time into perfecting a popup dismissing code. I just hack it with threads. So for example I have a radio button click and popup comes up. Here is what I do #set 2nd radio in a group that causes popup threads << Thread.new { page.radio_group(:name, 'blabla').set 2} # dismiss popup with clickJSDialog threads << Thread.new { system("rubyw c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb OK 5") } # let it rip threads.each {|x| x.join} so far this hack works. I haven't ran benchmarks but it only happens in one page in my apps. I also use unexpected popups and I dismiss it with autoit. Since I test on WinXP autoit is my solution. def kill_popups autoit = WIN32OLE.new('AutoItX3.Control') loop do ["Microsoft Internet Explorer", "Internet Explorer", "VBScript", "Security Alert"].each do |dialog_title| if (autoit.WinWait(dialog_title, '', 1) == 1) case dialog_title when "Microsoft Internet Explorer", "Internet Explorer" autoit.Send('{Enter}') when "Error" $autoit.Send('{N}') when "VBScript", "Security Alert" autoit.Send('{Y}') else autoit.Send('{ESC}') end end end sleep 20 #close your eyes and rest end end # exectue process as a thread KILL_POPUPS = Thread.new { kill_popups} marekj Watirloo: Semantic Page Objects in UseCases Human Readable Machine Executable Acceptance Testing http://github.com/marekj/watirloo/ On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: > I have several javascript popups that I need to dismiss with an OK or a > cancel. I am using the popupchecker method described on the wiki. At first > I was using the click_no_wait method to click the button that cause the > popup to come up. It did not work. The popup came up but it never got to > the popupchecker. Someone suggested that I use the click! method. I tried > that and the first popup came up and it clicked it sucessfully. Later in > the script there is another javascript popup that comes up. This time > neither the click_no_wait nor the click! method works. It looks like it > hangs before it ever gets to the popupchecker method. I say this because I > put some "puts" in the popupchecker method and they do not get executed > until after I manually click OK or Cancel. > > I have used popupchecker in fxri to make sure it would work. I can execute > popupchecker in fxri to dismiss the popups so I know there is nothing > technically wrong with the code. > > I am confused why click! would work the first time and not the second time. > > Does anyone have any ideas I can try? > > Jim > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Mon Mar 2 12:38:27 2009 From: bret at pettichord.com (Bret Pettichord) Date: Mon, 2 Mar 2009 11:38:27 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: I think someone has submitted a patch for click_no_wait to fix a bug that only showed up on some windows platforms. Not sure if this ever made it to trunk, but it needs to get there. Bret On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: > Jim, > I have some strange stuff too, like popups coming up after clicking a radio > button. I have not invested a lot of time into perfecting a popup dismissing > code. I just hack it with threads. > So for example I have a radio button click and popup comes up. Here is what > I do > > #set 2nd radio in a group that causes popup > threads << Thread.new { page.radio_group(:name, 'blabla').set 2} > # dismiss popup with clickJSDialog > threads << Thread.new { system("rubyw > c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb > OK 5") } > # let it rip > threads.each {|x| x.join} > > so far this hack works. I haven't ran benchmarks but it only happens in one > page in my apps. > > I also use unexpected popups and I dismiss it with autoit. Since I test on > WinXP autoit is my solution. > > def kill_popups > autoit = WIN32OLE.new('AutoItX3.Control') > loop do > ["Microsoft Internet Explorer", > "Internet Explorer", "VBScript", > "Security Alert"].each do |dialog_title| > if (autoit.WinWait(dialog_title, '', 1) == 1) > case dialog_title > when "Microsoft Internet Explorer", "Internet Explorer" > autoit.Send('{Enter}') > when "Error" > $autoit.Send('{N}') > when "VBScript", "Security Alert" > autoit.Send('{Y}') > else > autoit.Send('{ESC}') > end > end > end > sleep 20 #close your eyes and rest > end > end > > # exectue process as a thread > KILL_POPUPS = Thread.new { kill_popups} > > > > > marekj > > Watirloo: Semantic Page Objects in UseCases > Human Readable Machine Executable Acceptance Testing > http://github.com/marekj/watirloo/ > > > > > > On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: > > I have several javascript popups that I need to dismiss with an OK or a > > cancel. I am using the popupchecker method described on the wiki. At > first > > I was using the click_no_wait method to click the button that cause the > > popup to come up. It did not work. The popup came up but it never got > to > > the popupchecker. Someone suggested that I use the click! method. I > tried > > that and the first popup came up and it clicked it sucessfully. Later in > > the script there is another javascript popup that comes up. This time > > neither the click_no_wait nor the click! method works. It looks like it > > hangs before it ever gets to the popupchecker method. I say this because > I > > put some "puts" in the popupchecker method and they do not get executed > > until after I manually click OK or Cancel. > > > > I have used popupchecker in fxri to make sure it would work. I can > execute > > popupchecker in fxri to dismiss the popups so I know there is nothing > > technically wrong with the code. > > > > I am confused why click! would work the first time and not the second > time. > > > > Does anyone have any ideas I can try? > > > > Jim > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Mon Mar 2 13:17:10 2009 From: charley.baker at gmail.com (Charley Baker) Date: Mon, 2 Mar 2009 11:17:10 -0700 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: Added a comment to the JIRA issue for this: http://jira.openqa.org/browse/WTR-283. The patch didn't work on my winxp vm. -c On Mon, Mar 2, 2009 at 10:38 AM, Bret Pettichord wrote: > I think someone has submitted a patch for click_no_wait to fix a bug that > only showed up on some windows platforms. > > Not sure if this ever made it to trunk, but it needs to get there. > > Bret > > On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: > >> Jim, >> I have some strange stuff too, like popups coming up after clicking a >> radio button. I have not invested a lot of time into perfecting a popup >> dismissing code. I just hack it with threads. >> So for example I have a radio button click and popup comes up. Here is >> what I do >> >> #set 2nd radio in a group that causes popup >> threads << Thread.new { page.radio_group(:name, 'blabla').set 2} >> # dismiss popup with clickJSDialog >> threads << Thread.new { system("rubyw >> c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb >> OK 5") } >> # let it rip >> threads.each {|x| x.join} >> >> so far this hack works. I haven't ran benchmarks but it only happens in >> one page in my apps. >> >> I also use unexpected popups and I dismiss it with autoit. Since I test on >> WinXP autoit is my solution. >> >> def kill_popups >> autoit = WIN32OLE.new('AutoItX3.Control') >> loop do >> ["Microsoft Internet Explorer", >> "Internet Explorer", "VBScript", >> "Security Alert"].each do |dialog_title| >> if (autoit.WinWait(dialog_title, '', 1) == 1) >> case dialog_title >> when "Microsoft Internet Explorer", "Internet Explorer" >> autoit.Send('{Enter}') >> when "Error" >> $autoit.Send('{N}') >> when "VBScript", "Security Alert" >> autoit.Send('{Y}') >> else >> autoit.Send('{ESC}') >> end >> end >> end >> sleep 20 #close your eyes and rest >> end >> end >> >> # exectue process as a thread >> KILL_POPUPS = Thread.new { kill_popups} >> >> >> >> >> marekj >> >> Watirloo: Semantic Page Objects in UseCases >> Human Readable Machine Executable Acceptance Testing >> http://github.com/marekj/watirloo/ >> >> >> >> >> >> On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: >> > I have several javascript popups that I need to dismiss with an OK or a >> > cancel. I am using the popupchecker method described on the wiki. At >> first >> > I was using the click_no_wait method to click the button that cause the >> > popup to come up. It did not work. The popup came up but it never got >> to >> > the popupchecker. Someone suggested that I use the click! method. I >> tried >> > that and the first popup came up and it clicked it sucessfully. Later >> in >> > the script there is another javascript popup that comes up. This time >> > neither the click_no_wait nor the click! method works. It looks like it >> > hangs before it ever gets to the popupchecker method. I say this >> because I >> > put some "puts" in the popupchecker method and they do not get executed >> > until after I manually click OK or Cancel. >> > >> > I have used popupchecker in fxri to make sure it would work. I can >> execute >> > popupchecker in fxri to dismiss the popups so I know there is nothing >> > technically wrong with the code. >> > >> > I am confused why click! would work the first time and not the second >> time. >> > >> > Does anyone have any ideas I can try? >> > >> > Jim >> > _______________________________________________ >> > Wtr-development mailing list >> > Wtr-development at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/wtr-development >> > >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > GTalk: bpettichord at gmail.com > CTO, WatirCraft LLC, http://www.watircraft.com > Lead Developer, Watir, http://www.watir.com > Blog (Essays), http://www.io.com/~wazmo/blog > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > Training, http://www.watircraft.com/watir-training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Mon Mar 2 14:41:06 2009 From: bret at pettichord.com (Bret Pettichord) Date: Mon, 2 Mar 2009 13:41:06 -0600 Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: Darn! On Mon, Mar 2, 2009 at 12:17 PM, Charley Baker wrote: > Added a comment to the JIRA issue for this: > http://jira.openqa.org/browse/WTR-283. The patch didn't work on my winxp > vm. > > -c > > > On Mon, Mar 2, 2009 at 10:38 AM, Bret Pettichord wrote: > >> I think someone has submitted a patch for click_no_wait to fix a bug that >> only showed up on some windows platforms. >> >> Not sure if this ever made it to trunk, but it needs to get there. >> >> Bret >> >> On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: >> >>> Jim, >>> I have some strange stuff too, like popups coming up after clicking a >>> radio button. I have not invested a lot of time into perfecting a popup >>> dismissing code. I just hack it with threads. >>> So for example I have a radio button click and popup comes up. Here is >>> what I do >>> >>> #set 2nd radio in a group that causes popup >>> threads << Thread.new { page.radio_group(:name, 'blabla').set 2} >>> # dismiss popup with clickJSDialog >>> threads << Thread.new { system("rubyw >>> c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb >>> OK 5") } >>> # let it rip >>> threads.each {|x| x.join} >>> >>> so far this hack works. I haven't ran benchmarks but it only happens in >>> one page in my apps. >>> >>> I also use unexpected popups and I dismiss it with autoit. Since I test >>> on WinXP autoit is my solution. >>> >>> def kill_popups >>> autoit = WIN32OLE.new('AutoItX3.Control') >>> loop do >>> ["Microsoft Internet Explorer", >>> "Internet Explorer", "VBScript", >>> "Security Alert"].each do |dialog_title| >>> if (autoit.WinWait(dialog_title, '', 1) == 1) >>> case dialog_title >>> when "Microsoft Internet Explorer", "Internet Explorer" >>> autoit.Send('{Enter}') >>> when "Error" >>> $autoit.Send('{N}') >>> when "VBScript", "Security Alert" >>> autoit.Send('{Y}') >>> else >>> autoit.Send('{ESC}') >>> end >>> end >>> end >>> sleep 20 #close your eyes and rest >>> end >>> end >>> >>> # exectue process as a thread >>> KILL_POPUPS = Thread.new { kill_popups} >>> >>> >>> >>> >>> marekj >>> >>> Watirloo: Semantic Page Objects in UseCases >>> Human Readable Machine Executable Acceptance Testing >>> http://github.com/marekj/watirloo/ >>> >>> >>> >>> >>> >>> On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: >>> > I have several javascript popups that I need to dismiss with an OK or a >>> > cancel. I am using the popupchecker method described on the wiki. At >>> first >>> > I was using the click_no_wait method to click the button that cause the >>> > popup to come up. It did not work. The popup came up but it never got >>> to >>> > the popupchecker. Someone suggested that I use the click! method. I >>> tried >>> > that and the first popup came up and it clicked it sucessfully. Later >>> in >>> > the script there is another javascript popup that comes up. This time >>> > neither the click_no_wait nor the click! method works. It looks like >>> it >>> > hangs before it ever gets to the popupchecker method. I say this >>> because I >>> > put some "puts" in the popupchecker method and they do not get executed >>> > until after I manually click OK or Cancel. >>> > >>> > I have used popupchecker in fxri to make sure it would work. I can >>> execute >>> > popupchecker in fxri to dismiss the popups so I know there is nothing >>> > technically wrong with the code. >>> > >>> > I am confused why click! would work the first time and not the second >>> time. >>> > >>> > Does anyone have any ideas I can try? >>> > >>> > Jim >>> > _______________________________________________ >>> > Wtr-development mailing list >>> > Wtr-development at rubyforge.org >>> > http://rubyforge.org/mailman/listinfo/wtr-development >>> > >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> >> -- >> Bret Pettichord >> GTalk: bpettichord at gmail.com >> CTO, WatirCraft LLC, http://www.watircraft.com >> Lead Developer, Watir, http://www.watir.com >> Blog (Essays), http://www.io.com/~wazmo/blog >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> Training, http://www.watircraft.com/watir-training >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael_hwee at yahoo.com Mon Mar 2 18:18:07 2009 From: michael_hwee at yahoo.com (Michael Hwee) Date: Mon, 2 Mar 2009 15:18:07 -0800 (PST) Subject: [Wtr-development] Trouble getting click_no_wait and click! to work In-Reply-To: References: <009b01c99ada$4448a790$c701000a@Jimsxp> Message-ID: <345481.99420.qm@web31805.mail.mud.yahoo.com> Charley, Can you try this? module Watir class RadioCheckCommon < InputElement def set_no_wait(set=true) locate unless @o @o.checked = set @o.fireEvent("onClick") end end end # Activate the radio or Checkbox (that trigger the popup) $ie.radio(:id, 'MyRadioID').set_no_wait # call your popup handler after that. Michael ________________________________ From: Charley Baker To: Watir development Sent: Monday, March 2, 2009 10:17:10 AM Subject: Re: [Wtr-development] Trouble getting click_no_wait and click! to work Added a comment to the JIRA issue for this: http://jira.openqa.org/browse/WTR-283. The patch didn't work on my winxp vm. -c On Mon, Mar 2, 2009 at 10:38 AM, Bret Pettichord wrote: I think someone has submitted a patch for click_no_wait to fix a bug that only showed up on some windows platforms. Not sure if this ever made it to trunk, but it needs to get there. Bret On Mon, Mar 2, 2009 at 10:29 AM, marekj wrote: Jim, I have some strange stuff too, like popups coming up after clicking a radio button. I have not invested a lot of time into perfecting a popup dismissing code. I just hack it with threads. So for example I have a radio button click and popup comes up. Here is what I do #set 2nd radio in a group that causes popup threads << Thread.new { page.radio_group(:name, 'blabla').set 2} # dismiss popup with clickJSDialog threads << Thread.new { system("rubyw c:\\ruby\\lib\\ruby\\gems\\1.8\\gems\\watir-1.5.3\\watir\\clickJSDialog.rb OK 5") } # let it rip threads.each {|x| x.join} so far this hack works. I haven't ran benchmarks but it only happens in one page in my apps. I also use unexpected popups and I dismiss it with autoit. Since I test on WinXP autoit is my solution. def kill_popups autoit = WIN32OLE.new('AutoItX3.Control') loop do ["Microsoft Internet Explorer", "Internet Explorer", "VBScript", "Security Alert"].each do |dialog_title| if (autoit.WinWait(dialog_title, '', 1) == 1) case dialog_title when "Microsoft Internet Explorer", "Internet Explorer" autoit.Send('{Enter}') when "Error" $autoit.Send('{N}') when "VBScript", "Security Alert" autoit.Send('{Y}') else autoit.Send('{ESC}') end end end sleep 20 #close your eyes and rest end end # exectue process as a thread KILL_POPUPS = Thread.new { kill_popups} marekj Watirloo: Semantic Page Objects in UseCases Human Readable Machine Executable Acceptance Testing http://github.com/marekj/watirloo/ On Sun, Mar 1, 2009 at 7:57 PM, jim_matt wrote: > I have several javascript popups that I need to dismiss with an OK or a > cancel. I am using the popupchecker method described on the wiki. At first > I was using the click_no_wait method to click the button that cause the > popup to come up. It did not work. The popup came up but it never got to > the popupchecker. Someone suggested that I use the click! method. I tried > that and the first popup came up and it clicked it sucessfully. Later in > the script there is another javascript popup that comes up. This time > neither the click_no_wait nor the click! method works. It looks like it > hangs before it ever gets to the popupchecker method. I say this because I > put some "puts" in the popupchecker method and they do not get executed > until after I manually click OK or Cancel. > > I have used popupchecker in fxri to make sure it would work. I can execute > popupchecker in fxri to dismiss the popups so I know there is nothing > technically wrong with the code. > > I am confused why click! would work the first time and not the second time. > > Does anyone have any ideas I can try? > > Jim > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 01:14:52 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 11:44:52 +0530 Subject: [Wtr-development] git on windows In-Reply-To: References: Message-ID: I was able to download the source code and make changes to it. But how should I send the changes to github, its there on my local repository. I tried to push the changes to "master" (that is the only branch which it showed me in GUI), i got following error Looking up github.com ... done. Connecting to github.com (port 9418) ... 65.74.177.129 done. fatal: protocol error: expected sha/ref, got ' *********' You can't push to git://github.com/user/repo.git Use git at github.com:user/repo.git *********' Any suggestions? - Angrez On Tue, Feb 24, 2009 at 1:47 AM, marekj wrote: > On Windows I downloaded Windows Encoder (free). Both for 64 bit and 32bit. > http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx > It has a screencapture configuration that encodes a small file. > Default compression is set to 259kbs and 15 frames, but I think I > would go full 30 frames and 1Mbps as I've seen recommended somewhere. > I'll try to up the quality and see it it bloats up the file. > > On Mac iShowU sounds good (as Paul points out) > > On Linux Ubuntu???? Don't know yet but I would like a recommendation > because I want to do some Watir and Firewatir screencasts. > > Thanks > > marekj > > Watirloo: Semantic Page Objects in UseCases > Human Readable Machine Executable Acceptance Testing > http://github.com/marekj/watirloo/ > > > > > On Mon, Feb 23, 2009 at 10:08 AM, Bret Pettichord > wrote: > > Marekj, > > > > How did you create these videos? What tool did you use? > > > > Bret > > > > On Thu, Feb 19, 2009 at 2:37 PM, marekj wrote: > >> > >> and another Git on Windows screencast showing working with git gui and > >> git bash together doing some branching and merging and resolving > >> conflicts with kdiff3. (I find it useful for myself to go through it. > >> it's fun to do those screencasts). > >> > >> http://www.viddler.com/explore/testrus/videos/2/ > >> > >> > >> marekj > >> > >> Watirloo: Semantic Page Objects in UseCases > >> Human Readable Machine Executable Acceptance Testing > >> http://github.com/marekj/watirloo/ > >> > >> > >> > >> > >> On Wed, Feb 18, 2009 at 10:26 PM, marekj wrote: > >> > ... and I was inspired to make a 10 minute screencast (no voice) > >> > showing Git GUI on windows. > >> > this is my first ever screencast and I captured too large of an area > so > >> > please watch full screen if you can. I will make another video showing > >> > cloning Watir to your windows machine. This will be fun. > >> > Do notice I say "Hello Watir Champions" in the screencast > >> > > >> > http://www.viddler.com/explore/testrus/videos/1/ > >> > > >> > thanks > >> > > >> > marekj > >> > > >> > Watirloo: Semantic Page Objects in UseCases > >> > Human Readable Machine Executable Acceptance Testing > >> > http://github.com/marekj/watirloo/ > >> > > >> > > >> > > >> > On Wed, Feb 18, 2009 at 4:36 PM, Bret Pettichord > > >> > wrote: > >> >> for those of you who want to learn to use git... > >> >> > >> >> http://nathanj.github.com/gitguide/tour.html > >> >> > >> >> http://gitcasts.com/posts/git-on-windows > >> >> > >> >> http://www.slideshare.net/testrus/git-on-windows-plain-introduction > >> >> > >> >> -- > >> >> Bret Pettichord > >> >> GTalk: bpettichord at gmail.com > >> >> CTO, WatirCraft LLC, http://www.watircraft.com > >> >> Lead Developer, Watir, http://www.watir.com > >> >> Blog (Essays), http://www.io.com/~wazmo/blog > >> >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > >> >> Training, http://www.watircraft.com/watir-training > >> >> > >> >> _______________________________________________ > >> >> Wtr-development mailing list > >> >> Wtr-development at rubyforge.org > >> >> http://rubyforge.org/mailman/listinfo/wtr-development > >> >> > >> > > >> _______________________________________________ > >> Wtr-development mailing list > >> Wtr-development at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > -- > > Bret Pettichord > > GTalk: bpettichord at gmail.com > > CTO, WatirCraft LLC, http://www.watircraft.com > > Lead Developer, Watir, http://www.watir.com > > Blog (Essays), http://www.io.com/~wazmo/blog > > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > > Training, http://www.watircraft.com/watir-training > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Fri Mar 6 01:32:03 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 6 Mar 2009 00:32:03 -0600 Subject: [Wtr-development] git on windows In-Reply-To: References: Message-ID: This is your problem: You can't push to git://github.com/user/repo.git Use git at github.com:user/repo.git That means you cloned using the wrong url. I think you need to change your "remote" to fix this. I'm too brain dead right now to be of further help (12:30 am). Bret On Fri, Mar 6, 2009 at 12:14 AM, Angrez Singh wrote: > I was able to download the source code and make changes to it. But how > should I send the changes to github, its there on my local repository. > > I tried to push the changes to "master" (that is the only branch which it > showed me in GUI), i got following error > Looking up github.com ... done. > Connecting to github.com (port 9418) ... 65.74.177.129 done. > fatal: protocol error: expected sha/ref, got ' > *********' > > You can't push to git://github.com/user/repo.git > Use git at github.com:user/repo.git > > *********' > Any suggestions? > > - Angrez > > > On Tue, Feb 24, 2009 at 1:47 AM, marekj wrote: > >> On Windows I downloaded Windows Encoder (free). Both for 64 bit and >> 32bit. >> http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx >> It has a screencapture configuration that encodes a small file. >> Default compression is set to 259kbs and 15 frames, but I think I >> would go full 30 frames and 1Mbps as I've seen recommended somewhere. >> I'll try to up the quality and see it it bloats up the file. >> >> On Mac iShowU sounds good (as Paul points out) >> >> On Linux Ubuntu???? Don't know yet but I would like a recommendation >> because I want to do some Watir and Firewatir screencasts. >> >> Thanks >> >> marekj >> >> Watirloo: Semantic Page Objects in UseCases >> Human Readable Machine Executable Acceptance Testing >> http://github.com/marekj/watirloo/ >> >> >> >> >> On Mon, Feb 23, 2009 at 10:08 AM, Bret Pettichord >> wrote: >> > Marekj, >> > >> > How did you create these videos? What tool did you use? >> > >> > Bret >> > >> > On Thu, Feb 19, 2009 at 2:37 PM, marekj wrote: >> >> >> >> and another Git on Windows screencast showing working with git gui and >> >> git bash together doing some branching and merging and resolving >> >> conflicts with kdiff3. (I find it useful for myself to go through it. >> >> it's fun to do those screencasts). >> >> >> >> http://www.viddler.com/explore/testrus/videos/2/ >> >> >> >> >> >> marekj >> >> >> >> Watirloo: Semantic Page Objects in UseCases >> >> Human Readable Machine Executable Acceptance Testing >> >> http://github.com/marekj/watirloo/ >> >> >> >> >> >> >> >> >> >> On Wed, Feb 18, 2009 at 10:26 PM, marekj wrote: >> >> > ... and I was inspired to make a 10 minute screencast (no voice) >> >> > showing Git GUI on windows. >> >> > this is my first ever screencast and I captured too large of an area >> so >> >> > please watch full screen if you can. I will make another video >> showing >> >> > cloning Watir to your windows machine. This will be fun. >> >> > Do notice I say "Hello Watir Champions" in the screencast >> >> > >> >> > http://www.viddler.com/explore/testrus/videos/1/ >> >> > >> >> > thanks >> >> > >> >> > marekj >> >> > >> >> > Watirloo: Semantic Page Objects in UseCases >> >> > Human Readable Machine Executable Acceptance Testing >> >> > http://github.com/marekj/watirloo/ >> >> > >> >> > >> >> > >> >> > On Wed, Feb 18, 2009 at 4:36 PM, Bret Pettichord < >> bret at pettichord.com> >> >> > wrote: >> >> >> for those of you who want to learn to use git... >> >> >> >> >> >> http://nathanj.github.com/gitguide/tour.html >> >> >> >> >> >> http://gitcasts.com/posts/git-on-windows >> >> >> >> >> >> http://www.slideshare.net/testrus/git-on-windows-plain-introduction >> >> >> >> >> >> -- >> >> >> Bret Pettichord >> >> >> GTalk: bpettichord at gmail.com >> >> >> CTO, WatirCraft LLC, http://www.watircraft.com >> >> >> Lead Developer, Watir, http://www.watir.com >> >> >> Blog (Essays), http://www.io.com/~wazmo/blog >> >> >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> >> >> Training, http://www.watircraft.com/watir-training >> >> >> >> >> >> _______________________________________________ >> >> >> Wtr-development mailing list >> >> >> Wtr-development at rubyforge.org >> >> >> http://rubyforge.org/mailman/listinfo/wtr-development >> >> >> >> >> > >> >> _______________________________________________ >> >> Wtr-development mailing list >> >> Wtr-development at rubyforge.org >> >> http://rubyforge.org/mailman/listinfo/wtr-development >> > >> > >> > >> > -- >> > Bret Pettichord >> > GTalk: bpettichord at gmail.com >> > CTO, WatirCraft LLC, http://www.watircraft.com >> > Lead Developer, Watir, http://www.watir.com >> > Blog (Essays), http://www.io.com/~wazmo/blog >> > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> > Training, http://www.watircraft.com/watir-training >> > >> > _______________________________________________ >> > Wtr-development mailing list >> > Wtr-development at rubyforge.org >> > http://rubyforge.org/mailman/listinfo/wtr-development >> > >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 06:17:45 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 16:47:45 +0530 Subject: [Wtr-development] Setting up watir on windows Message-ID: Hi, I know it has been asked a lot of time. I tried all the things for setting up GIT on windows but not able to do that. Can somebody post here the steps that they have used to set up watir using git on windows. Sorry for the inconvenience. Regards, Angrez -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Fri Mar 6 09:39:38 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 6 Mar 2009 08:39:38 -0600 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: you need to start by using this command: git clone git at github.com:bret/watir.git Bret On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: > Hi, > > I know it has been asked a lot of time. I tried all the things for setting > up GIT on windows but not able to do that. Can somebody post here the steps > that they have used to set up watir using git on windows. > > Sorry for the inconvenience. > > Regards, > Angrez > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 10:54:46 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 21:24:46 +0530 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: I have "pushed" the change. Here is the log Counting objects: 13, done. Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, done. Total 7 (delta 5), reused 0 (delta 0) Pushing to git at github.com:bret/watir.git To git at github.com:bret/watir.git 4348c29..eabfbc9 master -> master updating local tracking ref 'refs/remotes/origin/master' Let me know if it gets into the repository. I can see my comments there on http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb Regards, Angrez On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: > you need to start by using this command: > > git clone git at github.com:bret/watir.git > > Bret > > On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: > >> Hi, >> >> I know it has been asked a lot of time. I tried all the things for setting >> up GIT on windows but not able to do that. Can somebody post here the steps >> that they have used to set up watir using git on windows. >> >> Sorry for the inconvenience. >> >> Regards, >> Angrez >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > GTalk: bpettichord at gmail.com > CTO, WatirCraft LLC, http://www.watircraft.com > Lead Developer, Watir, http://www.watir.com > Blog (Essays), http://www.io.com/~wazmo/blog > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > Training, http://www.watircraft.com/watir-training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Fri Mar 6 11:57:38 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 6 Mar 2009 10:57:38 -0600 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: it worked and all the unit tests passed. http://watirbuild.com/builds/ie_core_tests/eabfbc http://watirbuild.com/builds/ff_mozilla_all_tests/eabfbc thanks! btw, love to see in you on the #watir irc channel sometime! On Fri, Mar 6, 2009 at 9:54 AM, Angrez Singh wrote: > I have "pushed" the change. Here is the log > > Counting objects: 13, done. > Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. > Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, done. > Total 7 (delta 5), reused 0 (delta 0) > Pushing to git at github.com:bret/watir.git > To git at github.com:bret/watir.git > 4348c29..eabfbc9 master -> master > updating local tracking ref 'refs/remotes/origin/master' > > Let me know if it gets into the repository. I can see my comments there on > > http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb > > Regards, > Angrez > > > On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: > >> you need to start by using this command: >> >> git clone git at github.com:bret/watir.git >> >> Bret >> >> On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: >> >>> Hi, >>> >>> I know it has been asked a lot of time. I tried all the things for >>> setting up GIT on windows but not able to do that. Can somebody post here >>> the steps that they have used to set up watir using git on windows. >>> >>> Sorry for the inconvenience. >>> >>> Regards, >>> Angrez >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> >> -- >> Bret Pettichord >> GTalk: bpettichord at gmail.com >> CTO, WatirCraft LLC, http://www.watircraft.com >> Lead Developer, Watir, http://www.watir.com >> Blog (Essays), http://www.io.com/~wazmo/blog >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> Training, http://www.watircraft.com/watir-training >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord GTalk: bpettichord at gmail.com CTO, WatirCraft LLC, http://www.watircraft.com Lead Developer, Watir, http://www.watir.com Blog (Essays), http://www.io.com/~wazmo/blog MiniBlog (Links), http://feeds.feedburner.com/bretshotlist Training, http://www.watircraft.com/watir-training -------------- next part -------------- An HTML attachment was scrubbed... URL: From angrez at gmail.com Fri Mar 6 12:34:07 2009 From: angrez at gmail.com (Angrez Singh) Date: Fri, 6 Mar 2009 23:04:07 +0530 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: i would also love to be there but again how to set it up :)? - Angrez On Fri, Mar 6, 2009 at 10:27 PM, Bret Pettichord wrote: > it worked and all the unit tests passed. > http://watirbuild.com/builds/ie_core_tests/eabfbc > http://watirbuild.com/builds/ff_mozilla_all_tests/eabfbc > > thanks! > > btw, love to see in you on the #watir irc channel sometime! > > > On Fri, Mar 6, 2009 at 9:54 AM, Angrez Singh wrote: > >> I have "pushed" the change. Here is the log >> >> Counting objects: 13, done. >> Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. >> Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, >> done. >> Total 7 (delta 5), reused 0 (delta 0) >> Pushing to git at github.com:bret/watir.git >> To git at github.com:bret/watir.git >> 4348c29..eabfbc9 master -> master >> updating local tracking ref 'refs/remotes/origin/master' >> >> Let me know if it gets into the repository. I can see my comments there on >> >> >> http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb >> >> Regards, >> Angrez >> >> >> On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: >> >>> you need to start by using this command: >>> >>> git clone git at github.com:bret/watir.git >>> >>> Bret >>> >>> On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: >>> >>>> Hi, >>>> >>>> I know it has been asked a lot of time. I tried all the things for >>>> setting up GIT on windows but not able to do that. Can somebody post here >>>> the steps that they have used to set up watir using git on windows. >>>> >>>> Sorry for the inconvenience. >>>> >>>> Regards, >>>> Angrez >>>> >>>> _______________________________________________ >>>> Wtr-development mailing list >>>> Wtr-development at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>> >>> >>> >>> >>> -- >>> Bret Pettichord >>> GTalk: bpettichord at gmail.com >>> CTO, WatirCraft LLC, http://www.watircraft.com >>> Lead Developer, Watir, http://www.watir.com >>> Blog (Essays), http://www.io.com/~wazmo/blog >>> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >>> Training, http://www.watircraft.com/watir-training >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > GTalk: bpettichord at gmail.com > CTO, WatirCraft LLC, http://www.watircraft.com > Lead Developer, Watir, http://www.watir.com > Blog (Essays), http://www.io.com/~wazmo/blog > MiniBlog (Links), http://feeds.feedburner.com/bretshotlist > Training, http://www.watircraft.com/watir-training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 6 13:11:32 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 6 Mar 2009 11:11:32 -0700 Subject: [Wtr-development] Setting up watir on windows In-Reply-To: References: Message-ID: http://wiki.openqa.org/display/WTR/The+IRC+Channel There are other non web based clients as well, but mibbit is pretty simple and works through proxies. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 6, 2009 at 10:34 AM, Angrez Singh wrote: > i would also love to be there but again how to set it up :)? > > - Angrez > > > On Fri, Mar 6, 2009 at 10:27 PM, Bret Pettichord wrote: > >> it worked and all the unit tests passed. >> http://watirbuild.com/builds/ie_core_tests/eabfbc >> http://watirbuild.com/builds/ff_mozilla_all_tests/eabfbc >> >> thanks! >> >> btw, love to see in you on the #watir irc channel sometime! >> >> >> On Fri, Mar 6, 2009 at 9:54 AM, Angrez Singh wrote: >> >>> I have "pushed" the change. Here is the log >>> >>> Counting objects: 13, done. >>> Compressing objects: 100% (7/7) Compressing objects: 100% (7/7), done. >>> Writing objects: 100% (7/7) Writing objects: 100% (7/7), 604 bytes, >>> done. >>> Total 7 (delta 5), reused 0 (delta 0) >>> Pushing to git at github.com:bret/watir.git >>> To git at github.com:bret/watir.git >>> 4348c29..eabfbc9 master -> master >>> updating local tracking ref 'refs/remotes/origin/master' >>> >>> Let me know if it gets into the repository. I can see my comments there >>> on >>> >>> http://github.com/bret/watir/commits/master/firewatir/lib/firewatir/elements/form.rb >>> >>> Regards, >>> Angrez >>> >>> >>> On Fri, Mar 6, 2009 at 8:09 PM, Bret Pettichord wrote: >>> >>>> you need to start by using this command: >>>> >>>> git clone git at github.com:bret/watir.git >>>> >>>> Bret >>>> >>>> On Fri, Mar 6, 2009 at 5:17 AM, Angrez Singh wrote: >>>> >>>>> Hi, >>>>> >>>>> I know it has been asked a lot of time. I tried all the things for >>>>> setting up GIT on windows but not able to do that. Can somebody post here >>>>> the steps that they have used to set up watir using git on windows. >>>>> >>>>> Sorry for the inconvenience. >>>>> >>>>> Regards, >>>>> Angrez >>>>> >>>>> _______________________________________________ >>>>> Wtr-development mailing list >>>>> Wtr-development at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>>> >>>> >>>> >>>> >>>> -- >>>> Bret Pettichord >>>> GTalk: bpettichord at gmail.com >>>> CTO, WatirCraft LLC, http://www.watircraft.com >>>> Lead Developer, Watir, http://www.watir.com >>>> Blog (Essays), http://www.io.com/~wazmo/blog >>>> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >>>> Training, http://www.watircraft.com/watir-training >>>> >>>> _______________________________________________ >>>> Wtr-development mailing list >>>> Wtr-development at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>> >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> >> -- >> Bret Pettichord >> GTalk: bpettichord at gmail.com >> CTO, WatirCraft LLC, http://www.watircraft.com >> Lead Developer, Watir, http://www.watir.com >> Blog (Essays), http://www.io.com/~wazmo/blog >> MiniBlog (Links), http://feeds.feedburner.com/bretshotlist >> Training, http://www.watircraft.com/watir-training >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.koops at gmail.com Sun Mar 8 20:35:12 2009 From: tim.koops at gmail.com (Tim Koopmans) Date: Mon, 9 Mar 2009 11:35:12 +1100 Subject: [Wtr-development] justaddwatir.com - to be continued? Message-ID: <93ee69e90903081735v237565f4pc73a6c352bf3fd8d@mail.gmail.com> Hi guys, Interested in your thoughts about continuing with http://justaddwatir.com The initial purpose of this site was to act as a cookbook of recipes by example, mostly in response to common questions asked on watir-general. Secondary purpose was to act as a regression suite of more advanced/applied test cases from which to test dev builds against. Brett has kindly offered to create a project on watirbuild.com to host these. At present it is run as a blog with two editors. Test cases are in svn and the setup is typically run on a virtual machine. Basically trawl the user group, find something you want to explore, create a test case with appropriate stub/mock and write a blog post about it. Difficulties I'm having (sure you all do) is balancing work and contributing to open source! So interested in your comments and suggestions for the following questions: 1. Is something like this required? As in a cookbook of recipes ... I personally find cookbooks great value. 2. Is the format appropriate? i.e. wordpress blog with categories 3. Does it add any value to the development process? To users? I'm keen to keep it going in some form or other. Happy to adjust course, invite additional editors or take on advice as required. Regards, Tim Koopmans -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Tue Mar 10 17:43:52 2009 From: marekj.com at gmail.com (marekj) Date: Tue, 10 Mar 2009 16:43:52 -0500 Subject: [Wtr-development] justaddwatir.com - to be continued? In-Reply-To: <93ee69e90903081735v237565f4pc73a6c352bf3fd8d@mail.gmail.com> References: <93ee69e90903081735v237565f4pc73a6c352bf3fd8d@mail.gmail.com> Message-ID: On Sun, Mar 8, 2009 at 7:35 PM, Tim Koopmans wrote: > Hi guys, > snip > Difficulties I'm having (sure you all do) is balancing work and > contributing to open source! So interested in your comments and suggestions > for the following questions: > > 1. Is something like this required? As in a cookbook of recipes ... I > personally find cookbooks great value. > I love cookbook stuff. so the recipe format is great. I learn the most from someone walking through stating a problem, suggesting solution and then showing going about putting the solution in place. > 2. Is the format appropriate? i.e. wordpress blog with categories > not sure, anything is great if written with critical thinking > 3. Does it add any value to the development process? To users? > adds value to me. > I'm keen to keep it going in some form or other. Happy to adjust course, > invite additional editors or take on advice as required. > > Regards, > Tim Koopmans > > Thanks Tim for putting it together. I've looked at some examples and thought: oh! I haven't thought about that... so this is great. I get most of my Watir news from FeedDemon, I slurp rss feeds based on watir keyword mostly and I get unexpected results. and yes, balancing work, family and trying to contribute is hard. I notice I have spurs of some energy to write something and then back to the salt mines and breadmaking marekj -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Wed Mar 11 19:44:43 2009 From: marekj.com at gmail.com (marekj) Date: Wed, 11 Mar 2009 18:44:43 -0500 Subject: [Wtr-development] More XPath speed thoughts In-Reply-To: References: Message-ID: Andrew, code examples with benchmarks would be useful. gist.github.com is a good place I haven't had some problems with slow processing of the page when I have many elements on it marekj | Boiled Watir Award Winner Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Mon, Feb 2, 2009 at 5:35 PM, Andrew McFarlane wrote: > Back in December, I wondered aloud if I could speed up finding a control > via XPath by accessing ie's msxml process. I could not figure out how to do > that. > > I can speed up seeing if a particular element exists by using libxml > instead of rexml. However, if I want to activate an element (e.g. click()) > instead of just examine it, I need to implement a parser, which seems to be > the intent of element_by_absolute_xpath() in the source code. Has anyone > tried to either make element_by_absolute_xpath() faster or worked on > anything else that would make ie xpath support for ie faster? How about > using a fast javascript xpath library? > > Thanks. > > Andrew > > ------------------------------ > Windows Live?: E-mail. Chat. Share. Get more ways to connect. Check it > out. > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Fri Mar 20 08:30:23 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Fri, 20 Mar 2009 12:30:23 +0000 Subject: [Wtr-development] REXML => nokogiri Message-ID: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Hi, Has anyone looked at replacing REXML in Watir with either hpricot to nokogiri? Aidy From bret at pettichord.com Fri Mar 20 10:26:31 2009 From: bret at pettichord.com (Bret Pettichord) Date: Fri, 20 Mar 2009 09:26:31 -0500 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Message-ID: You should go ahead and fork it and try it out. Bret On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis wrote: > Hi, > > Has anyone looked at replacing REXML in Watir with either hpricot to > nokogiri? > > Aidy > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 20 10:27:37 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 20 Mar 2009 08:27:37 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Message-ID: I don't think anyone's looked at it, but I know why you're asking. :) The recent profiling definitely shows a huge speed advantage of either of those libraries over rexml. Might be worth looking into. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 20, 2009 at 6:30 AM, aidy lewis wrote: > Hi, > > Has anyone looked at replacing REXML in Watir with either hpricot to > nokogiri? > > Aidy > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Fri Mar 20 12:59:58 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Fri, 20 Mar 2009 16:59:58 +0000 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> Message-ID: <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> OK. I will see if I can directly substitute it in the source. Aidy 2009/3/20 Bret Pettichord : > You should go ahead and fork it and try it out. > > Bret > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > wrote: >> >> Hi, >> >> Has anyone looked at replacing REXML in Watir with either hpricot to >> nokogiri? >> >> Aidy >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > -- > Bret Pettichord > CTO, WatirCraft LLC, www.watircraft.com > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord > GTalk: bpettichord at gmail.com > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > www.watircraft.com/training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From welkin_inc at hotmail.com Fri Mar 20 15:07:43 2009 From: welkin_inc at hotmail.com (Andrew McFarlane) Date: Fri, 20 Mar 2009 13:07:43 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: I've also used libxml. It's authors claim that it is faster. Andrew McFarlane > Date: Fri, 20 Mar 2009 16:59:58 +0000 > From: aidy.lewis at googlemail.com > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] REXML => nokogiri > > OK. I will see if I can directly substitute it in the source. > > Aidy > > 2009/3/20 Bret Pettichord : > > You should go ahead and fork it and try it out. > > > > Bret > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > wrote: > >> > >> Hi, > >> > >> Has anyone looked at replacing REXML in Watir with either hpricot to > >> nokogiri? > >> > >> Aidy > >> _______________________________________________ > >> Wtr-development mailing list > >> Wtr-development at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > -- > > Bret Pettichord > > CTO, WatirCraft LLC, www.watircraft.com > > Lead Developer, Watir, www.watir.com > > > > Blog, www.io.com/~wazmo/blog > > Twitter, www.twitter.com/bpettichord > > GTalk: bpettichord at gmail.com > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > www.watircraft.com/training > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development _________________________________________________________________ Get quick access to your favorite MSN content with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 20 16:12:30 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 20 Mar 2009 14:12:30 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: They're all faster than REXML. REXML is slower by a large margin, and seems to be suffering from neglect, whereas nokogiri and hpricot aren't and additionally have better apis than REXML or libxml. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct 2009/3/20 Andrew McFarlane > I've also used libxml. It's authors claim that it is faster. > > Andrew McFarlane > > > > > > Date: Fri, 20 Mar 2009 16:59:58 +0000 > > From: aidy.lewis at googlemail.com > > To: wtr-development at rubyforge.org > > Subject: Re: [Wtr-development] REXML => nokogiri > > > > > OK. I will see if I can directly substitute it in the source. > > > > Aidy > > > > 2009/3/20 Bret Pettichord : > > > You should go ahead and fork it and try it out. > > > > > > Bret > > > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > > > wrote: > > >> > > >> Hi, > > >> > > >> Has anyone looked at replacing REXML in Watir with either hpricot to > > >> nokogiri? > > >> > > >> Aidy > > >> _______________________________________________ > > >> Wtr-development mailing list > > >> Wtr-development at rubyforge.org > > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > > > > > -- > > > Bret Pettichord > > > CTO, WatirCraft LLC, www.watircraft.com > > > Lead Developer, Watir, www.watir.com > > > > > > Blog, www.io.com/~wazmo/blog > > > Twitter, www.twitter.com/bpettichord > > > GTalk: bpettichord at gmail.com > > > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > > www.watircraft.com/training > > > > > > _______________________________________________ > > > Wtr-development mailing list > > > Wtr-development at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wtr-development > > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > ------------------------------ > Get quick access to your favorite MSN content with Internet Explorer 8. Download > FREE now! > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From welkin_inc at hotmail.com Fri Mar 20 18:45:54 2009 From: welkin_inc at hotmail.com (Andrew McFarlane) Date: Fri, 20 Mar 2009 16:45:54 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: Benchmarks suggest nokogiri is the fastest: http://www.rubyinside.com/ruby-xml-performance-benchmarks-1641.html Andrew Date: Fri, 20 Mar 2009 14:12:30 -0600 From: charley.baker at gmail.com To: wtr-development at rubyforge.org Subject: Re: [Wtr-development] REXML => nokogiri They're all faster than REXML. REXML is slower by a large margin, and seems to be suffering from neglect, whereas nokogiri and hpricot aren't and additionally have better apis than REXML or libxml. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct 2009/3/20 Andrew McFarlane I've also used libxml. It's authors claim that it is faster. Andrew McFarlane > Date: Fri, 20 Mar 2009 16:59:58 +0000 > From: aidy.lewis at googlemail.com > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] REXML => nokogiri > > OK. I will see if I can directly substitute it in the source. > > Aidy > > 2009/3/20 Bret Pettichord : > > You should go ahead and fork it and try it out. > > > > Bret > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > wrote: > >> > >> Hi, > >> > >> Has anyone looked at replacing REXML in Watir with either hpricot to > >> nokogiri? > >> > >> Aidy > >> _______________________________________________ > >> Wtr-development mailing list > >> Wtr-development at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > -- > > Bret Pettichord > > CTO, WatirCraft LLC, www.watircraft.com > > Lead Developer, Watir, www.watir.com > > > > Blog, www.io.com/~wazmo/blog > > Twitter, www.twitter.com/bpettichord > > GTalk: bpettichord at gmail.com > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > www.watircraft.com/training > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development Get quick access to your favorite MSN content with Internet Explorer 8. Download FREE now! _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development _________________________________________________________________ Windows Live? SkyDrive: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009 -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Fri Mar 20 20:58:56 2009 From: charley.baker at gmail.com (Charley Baker) Date: Fri, 20 Mar 2009 18:58:56 -0600 Subject: [Wtr-development] REXML => nokogiri In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: True, but that's not the only benchmark to rate them on. REXML is vastly slower, and additionally it's also lost any traction as far as continuing development which is another criteria. _why has continued development on hpricot, making it competitive and the nokigiri project has some steam right now. So for those reasons, I'd suggest looking at an alternative to REXML. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct 2009/3/20 Andrew McFarlane > Benchmarks suggest nokogiri is the fastest: > http://www.rubyinside.com/ruby-xml-performance-benchmarks-1641.html > > Andrew > > > > ------------------------------ > Date: Fri, 20 Mar 2009 14:12:30 -0600 > From: charley.baker at gmail.com > > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] REXML => nokogiri > > They're all faster than REXML. REXML is slower by a large margin, and seems > to be suffering from neglect, whereas nokogiri and hpricot aren't and > additionally have better apis than REXML or libxml. > > > Charley Baker > blog: http://blog.charleybaker.org/ > Lead Developer, Watir, http://wtr.rubyforge.org > QA Architect, Gap Inc Direct > > > 2009/3/20 Andrew McFarlane > > I've also used libxml. It's authors claim that it is faster. > > Andrew McFarlane > > > > > > Date: Fri, 20 Mar 2009 16:59:58 +0000 > > From: aidy.lewis at googlemail.com > > To: wtr-development at rubyforge.org > > Subject: Re: [Wtr-development] REXML => nokogiri > > > > > OK. I will see if I can directly substitute it in the source. > > > > Aidy > > > > 2009/3/20 Bret Pettichord : > > > You should go ahead and fork it and try it out. > > > > > > Bret > > > > > > On Fri, Mar 20, 2009 at 7:30 AM, aidy lewis > > > > wrote: > > >> > > >> Hi, > > >> > > >> Has anyone looked at replacing REXML in Watir with either hpricot to > > >> nokogiri? > > >> > > >> Aidy > > >> _______________________________________________ > > >> Wtr-development mailing list > > >> Wtr-development at rubyforge.org > > >> http://rubyforge.org/mailman/listinfo/wtr-development > > > > > > > > > > > > -- > > > Bret Pettichord > > > CTO, WatirCraft LLC, www.watircraft.com > > > Lead Developer, Watir, www.watir.com > > > > > > Blog, www.io.com/~wazmo/blog > > > Twitter, www.twitter.com/bpettichord > > > GTalk: bpettichord at gmail.com > > > > > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > > > www.watircraft.com/training > > > > > > _______________________________________________ > > > Wtr-development mailing list > > > Wtr-development at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wtr-development > > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > ------------------------------ > Get quick access to your favorite MSN content with Internet Explorer 8. Download > FREE now! > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > > > > ------------------------------ > Windows Live? SkyDrive: Get 25 GB of free online storage. Check it out. > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Sat Mar 21 03:14:22 2009 From: jim_matt at swbell.net (jim_matt) Date: Sat, 21 Mar 2009 02:14:22 -0500 Subject: [Wtr-development] I have figured a few things out about click_no _wait References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com><7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> Message-ID: <012101c9a9f4$a96172a0$c701000a@Jimsxp> I think I have figured a few things out with the click_no_wait problem. First, I think the problem with click_no_wait not actually not clicking the button/link is a Ruby 1.8.6-27 problem. It is because the quoted string is not passed into Ruby correctly. In Ruby 1.8.6-26, you get: C:\>ruby --version ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] C:\>ruby -e "puts \"Does this work?\"" Does this work? C:\> However, on a 1.8.6-27 system, the following happens: C:\>ruby --version ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] C:\>ruby -e "puts \"Does this work?\"" -e:1: unterminated string meets end of file C:\> There is a second problem. When you set the timeout for clicking the popup button longer than 4 seconds, Watir times out first: . . . if (ie.enabled_popup) wc = WinClicker.new wc.clickWindowsButton(/Internet Explorer/, "OK", 30) end >ruby javatest.rb c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in `wait_until': Timed out after 4.006 seconds. (Watir::Exception::TimeOutException) from c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in `wait_until' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in `enabled_popup' from javatest.rb:13 >Exit code: 1 So even though I have the click set to not timeout until after 30 seconds, Watir seems to timeout after about 4 seconds. I did not want want to publish what I found out about click_no_wait to Watir-general until I could show that it all worked. I would like any one else to verify what I have found. Do you have any ideas about the timeout? Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Sat Mar 21 13:11:07 2009 From: charley.baker at gmail.com (Charley Baker) Date: Sat, 21 Mar 2009 11:11:07 -0600 Subject: [Wtr-development] I have figured a few things out about click_no _wait In-Reply-To: <012101c9a9f4$a96172a0$c701000a@Jimsxp> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: Hey Jim, Fascinating. Thanks for all the effort to nail this down. I can reproduce it on my side as well. That does seem to be a problem for click_no_wait which works with 1.8.6 p111 but not 1.8.6-27RC2 which explains the disparity between some people seeing it and some not (I hadn't seen the problem until just now since I use 1.8.6p111). I'll also take a look at the timeout issue if I get a chance soon. -c On Sat, Mar 21, 2009 at 1:14 AM, jim_matt wrote: > I think I have figured a few things out with the click_no_wait problem. > > First, I think the problem with click_no_wait not actually not clicking the > button/link is a Ruby 1.8.6-27 problem. It is because the quoted string is > not passed into Ruby correctly. > In Ruby 1.8.6-26, you get: > > C:\>ruby --version > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > C:\>ruby -e "puts \"Does this work?\"" > Does this work? > > C:\> > > However, on a 1.8.6-27 system, the following happens: > > C:\>ruby --version > ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] > > C:\>ruby -e "puts \"Does this work?\"" > -e:1: unterminated string meets end of file > > C:\> > > > There is a second problem. When you set the timeout for clicking the popup > button longer than 4 seconds, Watir times out first: > . > . > . > if (ie.enabled_popup) > wc = WinClicker.new > wc.clickWindowsButton(/Internet Explorer/, "OK", 30) > end > > >ruby javatest.rb > c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in > `wait_until': Timed out after 4.006 seconds. > (Watir::Exception::TimeOutException) > from > c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in > `wait_until' > from > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in > `enabled_popup' > from javatest.rb:13 > >Exit code: 1 > > So even though I have the click set to not timeout until after 30 seconds, > Watir seems to timeout after about 4 seconds. > > I did not want want to publish what I found out about click_no_wait to > Watir-general until I could show that it all worked. I would like any one > else to verify what I have found. > > Do you have any ideas about the timeout? > > Jim > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Mon Mar 23 11:12:41 2009 From: bret at pettichord.com (Bret Pettichord) Date: Mon, 23 Mar 2009 10:12:41 -0500 Subject: [Wtr-development] I have figured a few things out about click_no _wait In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: I just sent out a quick note summarizing the Ruby bug to the Watir General list. This really looks like a Ruby bug. I am wondering whether it is Windows-specific or not, and whether the Ruby core team know about it and have fixed it yet. Bret 2009/3/21 Charley Baker > Hey Jim, > > Fascinating. Thanks for all the effort to nail this down. I can reproduce > it on my side as well. That does seem to be a problem for click_no_wait > which works with 1.8.6 p111 but not 1.8.6-27RC2 which explains the disparity > between some people seeing it and some not (I hadn't seen the problem until > just now since I use 1.8.6p111). > > I'll also take a look at the timeout issue if I get a chance soon. > > -c > > On Sat, Mar 21, 2009 at 1:14 AM, jim_matt wrote: > >> I think I have figured a few things out with the click_no_wait problem. >> >> First, I think the problem with click_no_wait not actually not clicking >> the button/link is a Ruby 1.8.6-27 problem. It is because the quoted string >> is not passed into Ruby correctly. >> In Ruby 1.8.6-26, you get: >> >> C:\>ruby --version >> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] >> >> C:\>ruby -e "puts \"Does this work?\"" >> Does this work? >> >> C:\> >> >> However, on a 1.8.6-27 system, the following happens: >> >> C:\>ruby --version >> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] >> >> C:\>ruby -e "puts \"Does this work?\"" >> -e:1: unterminated string meets end of file >> >> C:\> >> >> >> There is a second problem. When you set the timeout for clicking the >> popup button longer than 4 seconds, Watir times out first: >> . >> . >> . >> if (ie.enabled_popup) >> wc = WinClicker.new >> wc.clickWindowsButton(/Internet Explorer/, "OK", 30) >> end >> >> >ruby javatest.rb >> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in >> `wait_until': Timed out after 4.006 seconds. >> (Watir::Exception::TimeOutException) >> from >> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in >> `wait_until' >> from >> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in >> `enabled_popup' >> from javatest.rb:13 >> >Exit code: 1 >> >> So even though I have the click set to not timeout until after 30 seconds, >> Watir seems to timeout after about 4 seconds. >> >> I did not want want to publish what I found out about click_no_wait to >> Watir-general until I could show that it all worked. I would like any one >> else to verify what I have found. >> >> Do you have any ideas about the timeout? >> >> Jim >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Mon Mar 23 21:30:43 2009 From: charley.baker at gmail.com (Charley Baker) Date: Mon, 23 Mar 2009 19:30:43 -0600 Subject: [Wtr-development] I have figured a few things out about click_no _wait In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: I was thinking the same thing. I'm now running 1.8.6 p287 on OSX, ran the same quick command line one liner and it works fine. This seems to be a problem with the Windows version of Ruby with patchlevel 287, or whatever libraries are being used in Windows with the latest one click installer. Fun. -c 2009/3/23 Bret Pettichord > I just sent out a quick note summarizing the Ruby bug to the Watir General > list. > > This really looks like a Ruby bug. I am wondering whether it is > Windows-specific or not, and whether the Ruby core team know about it and > have fixed it yet. > > Bret > > 2009/3/21 Charley Baker > > Hey Jim, >> >> Fascinating. Thanks for all the effort to nail this down. I can reproduce >> it on my side as well. That does seem to be a problem for click_no_wait >> which works with 1.8.6 p111 but not 1.8.6-27RC2 which explains the disparity >> between some people seeing it and some not (I hadn't seen the problem until >> just now since I use 1.8.6p111). >> >> I'll also take a look at the timeout issue if I get a chance soon. >> >> -c >> >> On Sat, Mar 21, 2009 at 1:14 AM, jim_matt wrote: >> >>> I think I have figured a few things out with the click_no_wait problem. >>> >>> First, I think the problem with click_no_wait not actually not clicking >>> the button/link is a Ruby 1.8.6-27 problem. It is because the quoted string >>> is not passed into Ruby correctly. >>> In Ruby 1.8.6-26, you get: >>> >>> C:\>ruby --version >>> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] >>> >>> C:\>ruby -e "puts \"Does this work?\"" >>> Does this work? >>> >>> C:\> >>> >>> However, on a 1.8.6-27 system, the following happens: >>> >>> C:\>ruby --version >>> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] >>> >>> C:\>ruby -e "puts \"Does this work?\"" >>> -e:1: unterminated string meets end of file >>> >>> C:\> >>> >>> >>> There is a second problem. When you set the timeout for clicking the >>> popup button longer than 4 seconds, Watir times out first: >>> . >>> . >>> . >>> if (ie.enabled_popup) >>> wc = WinClicker.new >>> wc.clickWindowsButton(/Internet Explorer/, "OK", 30) >>> end >>> >>> >ruby javatest.rb >>> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:59:in >>> `wait_until': Timed out after 4.006 seconds. >>> (Watir::Exception::TimeOutException) >>> from >>> c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/waiter.rb:80:in >>> `wait_until' >>> from >>> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/enabled_popup.rb:10:in >>> `enabled_popup' >>> from javatest.rb:13 >>> >Exit code: 1 >>> >>> So even though I have the click set to not timeout until after 30 >>> seconds, Watir seems to timeout after about 4 seconds. >>> >>> I did not want want to publish what I found out about click_no_wait to >>> Watir-general until I could show that it all worked. I would like any one >>> else to verify what I have found. >>> >>> Do you have any ideas about the timeout? >>> >>> Jim >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> Wtr-development at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Bret Pettichord > CTO, WatirCraft LLC, www.watircraft.com > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord > GTalk: bpettichord at gmail.com > > Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 > www.watircraft.com/training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at watircraft.com Tue Mar 24 10:13:07 2009 From: bret at watircraft.com (Bret Pettichord) Date: Tue, 24 Mar 2009 09:13:07 -0500 Subject: [Wtr-development] Fwd: Click no wait In-Reply-To: References: Message-ID: A possible solution... ---------- Forwarded message ---------- From: Hugh McGowan Date: Mon, Mar 23, 2009 at 10:59 PM Subject: Click no wait To: bret at watircraft.com Hey Bret, I saw this click no wait issue on Friday too and worked around it by doing a gsub of double quotes " with three of them """ to work properly in dos for the command that is sent to the shell (but not the outer quotes). I'm on vacation and have only an iPhone connection so have not been able to make sure it works with the unit tests and in unix but it may save you some time or help point you in the right direction Hugh -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Tue Mar 24 19:46:10 2009 From: jim_matt at swbell.net (jim_matt) Date: Tue, 24 Mar 2009 18:46:10 -0500 Subject: [Wtr-development] Fwd: Click no wait References: Message-ID: <017b01c9acda$b639f770$c701000a@Jimsxp> I tried this and it does work on 1.8.6-27, but it does not work on 1.8.6-26. So it would be another temporary workaround, but expect it to break the next release. Jim ----- Original Message ----- From: Bret Pettichord To: Watir development Sent: Tuesday, March 24, 2009 9:13 AM Subject: [Wtr-development] Fwd: Click no wait A possible solution... ---------- Forwarded message ---------- From: Hugh McGowan Date: Mon, Mar 23, 2009 at 10:59 PM Subject: Click no wait To: bret at watircraft.com Hey Bret, I saw this click no wait issue on Friday too and worked around it by doing a gsub of double quotes " with three of them """ to work properly in dos for the command that is sent to the shell (but not the outer quotes). I'm on vacation and have only an iPhone connection so have not been able to make sure it works with the unit tests and in unix but it may save you some time or help point you in the right direction Hugh -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training ------------------------------------------------------------------------------ _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Wed Mar 25 00:30:40 2009 From: jim_matt at swbell.net (jim_matt) Date: Tue, 24 Mar 2009 23:30:40 -0500 Subject: [Wtr-development] Bug report for string escaping in Ruby 1.8.6-27 References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com><7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com><012101c9a9f4$a96172a0$c701000a@Jimsxp> Message-ID: <02dd01c9ad02$74651050$c701000a@Jimsxp> All, I have entered a bug report in the Ruby bug tracking system about the problem escaping the input string into Ruby. This is part of the problem with click_no_wait not working with Ruby 1.8.6. I do not know if the problem is in Ruby, but I figured that they were the best ones to figure that out. In case you are interested, the issue number is 1315. Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Wed Mar 25 11:06:40 2009 From: marekj.com at gmail.com (marekj) Date: Wed, 25 Mar 2009 10:06:40 -0500 Subject: [Wtr-development] Bug report for string escaping in Ruby 1.8.6-27 In-Reply-To: <02dd01c9ad02$74651050$c701000a@Jimsxp> References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> <02dd01c9ad02$74651050$c701000a@Jimsxp> Message-ID: Thanks Jim http://redmine.ruby-lang.org/issues/show/1315 marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ 2009/3/24 jim_matt > All, > > I have entered a bug report in the Ruby bug tracking system about the > problem escaping the input string into Ruby. This is part of the problem > with click_no_wait not working with Ruby 1.8.6. > > I do not know if the problem is in Ruby, but I figured that they were the > best ones to figure that out. In case you are interested, the issue number > is 1315. > > Jim > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Wed Mar 25 20:37:03 2009 From: bret at pettichord.com (Bret Pettichord) Date: Wed, 25 Mar 2009 19:37:03 -0500 Subject: [Wtr-development] Bug report for string escaping in Ruby 1.8.6-27 In-Reply-To: References: <7ac2300c0903200530g144e2847i39f03f57fab4ed4a@mail.gmail.com> <7ac2300c0903200959y6583f1fax54d5fe0caa5cbe8d@mail.gmail.com> <012101c9a9f4$a96172a0$c701000a@Jimsxp> <02dd01c9ad02$74651050$c701000a@Jimsxp> Message-ID: Thanks fro the report. I'm watching the issue. Bret 2009/3/25 marekj > Thanks Jim > http://redmine.ruby-lang.org/issues/show/1315 > > marekj > > Watirloo: Semantic Page Objects in UseCases > http://github.com/marekj/watirloo/ > > > > 2009/3/24 jim_matt > >> All, >> >> I have entered a bug report in the Ruby bug tracking system about the >> problem escaping the input string into Ruby. This is part of the problem >> with click_no_wait not working with Ruby 1.8.6. >> >> I do not know if the problem is in Ruby, but I figured that they were the >> best ones to figure that out. In case you are interested, the issue number >> is 1315. >> >> Jim >> >> >> _______________________________________________ >> Wtr-development mailing list >> Wtr-development at rubyforge.org >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Wed Mar 25 20:06:02 2009 From: bret at pettichord.com (Bret Pettichord) Date: Wed, 25 Mar 2009 19:06:02 -0500 Subject: [Wtr-development] rexml Message-ID: someone want to look at this or help Aidy with forking? Bret ---------- Forwarded message ---------- From: Adrian Lewis Date: Wed, Mar 25, 2009 at 12:30 PM Subject: To: bret at pettichord.com Bret, I am having problems forking on git hub. I include REXML => nokogiri with test Aidy This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this This e-mail has been sent by one of the following wholly-owned subsidiaries of the BBC: BBC Worldwide Limited, Registration Number: 1420028 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ BBC World News Limited, Registration Number: 04514407 England, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ BBC World Distribution Limited, Registration Number: 04514408, Registered Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ie-class.rb Type: application/octet-stream Size: 29330 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nokogiri_unit_test.rb Type: application/octet-stream Size: 648 bytes Desc: not available URL: From angrez at gmail.com Thu Mar 26 02:00:54 2009 From: angrez at gmail.com (Angrez Singh) Date: Thu, 26 Mar 2009 11:30:54 +0530 Subject: [Wtr-development] rexml In-Reply-To: References: Message-ID: I can take a look at it. But not sure how to fork and start working? Any pointers? - Angrez 2009/3/26 Bret Pettichord > someone want to look at this or help Aidy with forking? > > Bret > > ---------- Forwarded message ---------- > From: Adrian Lewis > Date: Wed, Mar 25, 2009 at 12:30 PM > Subject: > To: bret at pettichord.com > > > Bret, > > > > I am having problems forking on git hub. > > > > I include REXML => nokogiri with test > > > > Aidy > This e-mail (and any attachments) is confidential and may contain > personal views which are not the views of the BBC unless specifically > stated. If you have received it in error, please delete it from your system. > Do not use, copy or disclose the information in any way nor act in reliance > on it and notify the sender immediately. > > Please note that the BBC monitors e-mails sent or received. Further > communication will signify your consent to this > > This e-mail has been sent by one of the following wholly-owned subsidiaries > of the BBC: > > BBC Worldwide Limited, Registration Number: 1420028 England, Registered > Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ > BBC World News Limited, Registration Number: 04514407 England, Registered > Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ > BBC World Distribution Limited, Registration Number: 04514408, Registered > Address: BBC Media Centre, 201 Wood Lane, London, W12 7TQ > > > > > > > -- > Bret Pettichord > CTO, WatirCraft LLC, www.watircraft.com > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord > GTalk: bpettichord at gmail.com > > Watir Training: Portland/Beaverton April 16-17 > www.watircraft.com/training > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zeljko.filipin at wa-research.ch Thu Mar 26 05:54:53 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Thu, 26 Mar 2009 10:54:53 +0100 Subject: [Wtr-development] rexml In-Reply-To: References: Message-ID: > From: Adrian Lewis > I am having problems forking on git hub. Aidy, I have been there recently too. :) Could you be more specific? What is the problem? ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Thu Mar 26 07:05:10 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Thu, 26 Mar 2009 11:05:10 +0000 Subject: [Wtr-development] rexml In-Reply-To: References: Message-ID: <7ac2300c0903260405m194310dma55152e7251c0328@mail.gmail.com> Hi, I forked Watir, but everyone time I edit I am asked for a new admistration name. I cannot proceed with the current name. Aidy On 26/03/2009, ?eljko Filipin wrote: > > From: Adrian Lewis > > I am having problems forking on git hub. > > Aidy, > > I have been there recently too. :) > > Could you be more specific? What is the problem? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From zeljko.filipin at wa-research.ch Thu Mar 26 07:11:32 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Thu, 26 Mar 2009 12:11:32 +0100 Subject: [Wtr-development] rexml In-Reply-To: <7ac2300c0903260405m194310dma55152e7251c0328@mail.gmail.com> References: <7ac2300c0903260405m194310dma55152e7251c0328@mail.gmail.com> Message-ID: On Thu, Mar 26, 2009 at 12:05, aidy lewis wrote: > I forked Watir, but everyone time I edit I am asked for a new > admistration name. You edit it locally with git? ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From alister.scott at gmail.com Thu Mar 26 07:09:33 2009 From: alister.scott at gmail.com (Alister Scott) Date: Thu, 26 Mar 2009 21:09:33 +1000 Subject: [Wtr-development] Watir.com migration? Message-ID: <16bf298e0903260409o53444dd1w9fff49b2a0bde360@mail.gmail.com> Hi Guys, I am really keen to help out with the watir.com stuff, but I am at a standstill because I don't know how to proceed. I posted some questions on the grouphug thing: http://watircraft.grouphub.com/projects/2375489/posts/20323259/comments and here they are: - Where are the license keys stored (these are required to configure both JIRA and Confluence - What is the JIRA home directory on the server? - What is the JIRA attachment directory (under the home directory?)? - What is the Confluence home directory? - What is the Confluence attachment directory (under the home directory?)? - What port is Confluence running on? (I have tried 80) - What type of installation has been used? Standalone? - Who will be importing the existing data? Cheers, Alister -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Thu Mar 26 10:56:12 2009 From: charley.baker at gmail.com (Charley Baker) Date: Thu, 26 Mar 2009 08:56:12 -0600 Subject: [Wtr-development] Watir.com migration? In-Reply-To: <16bf298e0903260409o53444dd1w9fff49b2a0bde360@mail.gmail.com> References: <16bf298e0903260409o53444dd1w9fff49b2a0bde360@mail.gmail.com> Message-ID: Alister, Just updated basecamp. Also set you up as an administrator, LMK if you don't get the email from the server with the password. -c 2009/3/26 Alister Scott > Hi Guys, > > I am really keen to help out with the watir.com stuff, but I am at a > standstill because I don't know how to proceed. > > I posted some questions on the grouphug thing: > http://watircraft.grouphub.com/projects/2375489/posts/20323259/commentsand here they are: > > > - Where are the license keys stored (these are required to configure > both JIRA and Confluence > - What is the JIRA home directory on the server? > - What is the JIRA attachment directory (under the home directory?)? > - What is the Confluence home directory? > - What is the Confluence attachment directory (under the home > directory?)? > - What port is Confluence running on? (I have tried 80) > - What type of installation has been used? Standalone? > - Who will be importing the existing data? > > Cheers, > > Alister > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Thu Mar 26 12:05:44 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Thu, 26 Mar 2009 16:05:44 +0000 Subject: [Wtr-development] (Was:rexml, now github on windows) Message-ID: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Has anyone had a probelm with cloning? $ git clone git clone git at github.com:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ warning: You appear to have cloned an empty repository. fatal: The remote end hung up unexpectedly Think it is the FireWall, but if I try $ git clone http://github.com/:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/watir/.git/ fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did you run git update-server-info on the server? Cheers Aidy On 26/03/2009, ?eljko Filipin wrote: > On Thu, Mar 26, 2009 at 12:05, aidy lewis wrote: > > I forked Watir, but everyone time I edit I am asked for a new > > admistration name. > > You edit it locally with git? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From zeljko.filipin at wa-research.ch Thu Mar 26 13:17:50 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Thu, 26 Mar 2009 18:17:50 +0100 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: On Thu, Mar 26, 2009 at 17:05, aidy lewis wrote: > Has anyone had a probelm with cloning? Which OS do you use (forgot to ask the first time)? ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Thu Mar 26 13:23:41 2009 From: charley.baker at gmail.com (Charley Baker) Date: Thu, 26 Mar 2009 11:23:41 -0600 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Never seen that before, unless you're behind a proxy or corporate firewall which git doesn't really deal with well. -c On Thu, Mar 26, 2009 at 10:05 AM, aidy lewis wrote: > Has anyone had a probelm with cloning? > > $ git clone git clone git at github.com:aidylewis/watir.git > Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ > warning: You appear to have cloned an empty repository. > fatal: The remote end hung up unexpectedly > > Think it is the FireWall, but if I try > > $ git clone http://github.com/:aidylewis/watir.git > > Initialized empty Git repository in > C:/aidy_watir_fork/AidyWatir/watir/.git/ > fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did > you run git update-server-info on the server? > > Cheers > > Aidy > > > On 26/03/2009, ?eljko Filipin wrote: > > On Thu, Mar 26, 2009 at 12:05, aidy lewis > wrote: > > > I forked Watir, but everyone time I edit I am asked for a new > > > admistration name. > > > > You edit it locally with git? > > > > ?eljko > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aidy.lewis at googlemail.com Thu Mar 26 13:44:22 2009 From: aidy.lewis at googlemail.com (aidy lewis) Date: Thu, 26 Mar 2009 17:44:22 +0000 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: <7ac2300c0903261044w44aa21c8gcf14000b03eeba33@mail.gmail.com> windows, using msysgit Aidy On 26/03/2009, ?eljko Filipin wrote: > On Thu, Mar 26, 2009 at 17:05, aidy lewis wrote: > > Has anyone had a probelm with cloning? > > Which OS do you use (forgot to ask the first time)? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > From zeljko.filipin at wa-research.ch Sat Mar 28 16:18:38 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Sat, 28 Mar 2009 21:18:38 +0100 Subject: [Wtr-development] Git and Github on Mac Message-ID: I do not usually announce my blog posts here, but I have blogged how to contribute code to Watir. I have lost two Friday nights fighting with Git and Github to make one line change to Watir code and push it to Github. Maybe what I have learned will help future contributors in not making the same mistakes. The post has a lot of images and examples what to do, and what not to do. http://zeljkofilipin.com/2009/03/28/git-and-github-on-mac/ Let me know if I you like it, or do not like it. ?eljko -- Lead Loudmouth, Watir, watir.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From charley.baker at gmail.com Sat Mar 28 16:40:47 2009 From: charley.baker at gmail.com (Charley Baker) Date: Sat, 28 Mar 2009 14:40:47 -0600 Subject: [Wtr-development] [wtr-general] Git and Github on Mac In-Reply-To: References: Message-ID: I liked it a lot, read it this morning. It's a great intro to how to contribute to Watir or any github project from scratch. :) -c On Sat, Mar 28, 2009 at 2:18 PM, ?eljko Filipin wrote: > I do not usually announce my blog posts here, but I have blogged how to > contribute code to Watir. I have lost two Friday nights fighting with Git > and Github to make one line change to Watir code and push it to Github. > Maybe what I have learned will help future contributors in not making the > same mistakes. The post has a lot of images and examples what to do, and > what not to do. > > http://zeljkofilipin.com/2009/03/28/git-and-github-on-mac/ > > Let me know if I you like it, or do not like it. > > ?eljko > -- > Lead Loudmouth, Watir, watir.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 at 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-unsubscribe at googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > -~----------~----~----~----~------~----~------~--~--- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Sun Mar 29 15:21:27 2009 From: bret at pettichord.com (Bret Pettichord) Date: Sun, 29 Mar 2009 14:21:27 -0500 Subject: [Wtr-development] [wtr-general] Git and Github on Mac In-Reply-To: References: Message-ID: <49CFCA37.2070803@pettichord.com> Zeljko, For your information, after you accidently messed up the whitespace and pushed these changes to your repo, you could have used the "git reset" command to undo your changes. git reset HEAD~ git push Instead you deleted your entire repo and started over. I know I was coaching you at that point, and it was late and you were tired, but I thought I would share this for next time. BTW, this is a good example of something that you can do with Git that is not possible with SVN. Bret ?eljko Filipin wrote: > I do not usually announce my blog posts here, but I have blogged how > to contribute code to Watir. I have lost two Friday nights fighting > with Git and Github to make one line change to Watir code and push it > to Github. Maybe what I have learned will help future contributors in > not making the same mistakes. The post has a lot of images and > examples what to do, and what not to do. > > http://zeljkofilipin.com/2009/03/28/git-and-github-on-mac/ > > Let me know if I you like it, or do not like it. > > ?eljko > -- > Lead Loudmouth, Watir, watir.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 at 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-unsubscribe at googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > -~----------~----~----~----~------~----~------~--~--- > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training From zeljko.filipin at wa-research.ch Mon Mar 30 05:04:01 2009 From: zeljko.filipin at wa-research.ch (=?UTF-8?Q?=C5=BDeljko_Filipin?=) Date: Mon, 30 Mar 2009 11:04:01 +0200 Subject: [Wtr-development] [wtr-general] Re: Git and Github on Mac In-Reply-To: <49CFCA37.2070803@pettichord.com> References: <49CFCA37.2070803@pettichord.com> Message-ID: On Sun, Mar 29, 2009 at 21:21, Bret Pettichord wrote: > git reset HEAD~ > git push Bret, Thank you for letting me know that. I am not surprised that Git can do such undo magic. :) I will add it to the blog post right now, maybe it helps somebody. ?eljko -------------- next part -------------- An HTML attachment was scrubbed... URL: From marekj.com at gmail.com Tue Mar 31 18:28:25 2009 From: marekj.com at gmail.com (marekj) Date: Tue, 31 Mar 2009 17:28:25 -0500 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Aidy $ git clone git at github.com:aidylewis/watir.git should work. for firewall I read this but didn't have luck setting it up http://blog.codeslower.com/2008/8/Using-PuTTY-and-SSL-to-securely-access-GitHub-repositories-via-SSH marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Thu, Mar 26, 2009 at 11:05 AM, aidy lewis wrote: > Has anyone had a probelm with cloning? > > $ git clone git clone git at github.com:aidylewis/watir.git > Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ > warning: You appear to have cloned an empty repository. > fatal: The remote end hung up unexpectedly > > Think it is the FireWall, but if I try > > $ git clone http://github.com/:aidylewis/watir.git > > Initialized empty Git repository in > C:/aidy_watir_fork/AidyWatir/watir/.git/ > fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did > you run git update-server-info on the server? > > Cheers > > Aidy > > > On 26/03/2009, ?eljko Filipin wrote: > > On Thu, Mar 26, 2009 at 12:05, aidy lewis > wrote: > > > I forked Watir, but everyone time I edit I am asked for a new > > > admistration name. > > > > You edit it locally with git? > > > > ?eljko > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasnow at hotmail.com Tue Mar 31 19:46:38 2009 From: jasnow at hotmail.com (Al Snow) Date: Tue, 31 Mar 2009 19:46:38 -0400 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Aidy, Please note that you repeated "git clone" (colored red below) twice in your original email. Thanks, Al Snow Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow Date: Tue, 31 Mar 2009 17:28:25 -0500 From: marekj.com at gmail.com To: wtr-development at rubyforge.org Subject: Re: [Wtr-development] (Was:rexml, now github on windows) Aidy $ git clone git at github.com:aidylewis/watir.git should work. for firewall I read this but didn't have luck setting it up http://blog.codeslower.com/2008/8/Using-PuTTY-and-SSL-to-securely-access-GitHub-repositories-via-SSH marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Thu, Mar 26, 2009 at 11:05 AM, aidy lewis wrote: Has anyone had a probelm with cloning? $ git clone git clone git at github.com:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ warning: You appear to have cloned an empty repository. fatal: The remote end hung up unexpectedly Think it is the FireWall, but if I try $ git clone http://github.com/:aidylewis/watir.git Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/watir/.git/ fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did you run git update-server-info on the server? Cheers Aidy On 26/03/2009, ?eljko Filipin wrote: > On Thu, Mar 26, 2009 at 12:05, aidy lewis wrote: > > I forked Watir, but everyone time I edit I am asked for a new > > admistration name. > > You edit it locally with git? > > ?eljko > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development _________________________________________________________________ Internet Explorer 8 ? Get your Hotmail Accelerated. Download free! http://clk.atdmt.com/MRT/go/141323790/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From alister.scott at gmail.com Tue Mar 31 20:42:12 2009 From: alister.scott at gmail.com (Alister Scott) Date: Wed, 1 Apr 2009 10:42:12 +1000 Subject: [Wtr-development] Introducing Watif: Web Application Testing in FORTRAN In-Reply-To: <96f388ca-4681-462b-b737-6980bb0f7106@x31g2000prc.googlegroups.com> References: <96f388ca-4681-462b-b737-6980bb0f7106@x31g2000prc.googlegroups.com> Message-ID: <16bf298e0903311742h3857a896ld780e480b24cb2c2@mail.gmail.com> Hi, After months of dedicated hard work, I am pleased to announce the immediate release of Watif: Web Application Testing in FORTRAN. Check it out and let me know if you need any more information: http://tinyurl.com/watif Cheers, Alister Scott Brisbane, Australia http://watirmelon.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bret at pettichord.com Tue Mar 31 21:19:15 2009 From: bret at pettichord.com (Bret Pettichord) Date: Tue, 31 Mar 2009 20:19:15 -0500 Subject: [Wtr-development] (Was:rexml, now github on windows) In-Reply-To: References: <7ac2300c0903260905od41db15m510560e8af0fd8d0@mail.gmail.com> Message-ID: Sharp eyes, Al. Aidy, this is the correct syntax: > git clone git at github.com:aidylewis/watir.git Bret 2009/3/31 Al Snow > Aidy, > > Please note that you repeated "*git clone*" (colored red below) twice in > your original email. > > Thanks, > Al Snow > Linkedin: http://www.linkedin.com/in/alsnow > Google Talk: jasnow1 > Twitter: jasnow > > ------------------------------ > Date: Tue, 31 Mar 2009 17:28:25 -0500 > From: marekj.com at gmail.com > To: wtr-development at rubyforge.org > Subject: Re: [Wtr-development] (Was:rexml, now github on windows) > > > Aidy > $ git clone git at github.com:aidylewis/watir.git > should work. > for firewall I read this but didn't have luck setting it up > > http://blog.codeslower.com/2008/8/Using-PuTTY-and-SSL-to-securely-access-GitHub-repositories-via-SSH > > > > > marekj > > Watirloo: Semantic Page Objects in UseCases > http://github.com/marekj/watirloo/ > > > > On Thu, Mar 26, 2009 at 11:05 AM, aidy lewis wrote: > > Has anyone had a probelm with cloning? > > $ *git clone git clone* git at github.com:aidylewis/watir.git > Initialized empty Git repository in C:/aidy_watir_fork/AidyWatir/git/.git/ > warning: You appear to have cloned an empty repository. > fatal: The remote end hung up unexpectedly > > Think it is the FireWall, but if I try > > $ git clone http://github.com/:aidylewis/watir.git > > Initialized empty Git repository in > C:/aidy_watir_fork/AidyWatir/watir/.git/ > fatal: http://github.com/:aidylewis/watir.git/info/refs not found: did > you run git update-server-info on the server? > > Cheers > > Aidy > > > On 26/03/2009, ?eljko Filipin wrote: > > On Thu, Mar 26, 2009 at 12:05, aidy lewis > wrote: > > > I forked Watir, but everyone time I edit I am asked for a new > > > admistration name. > > > > You edit it locally with git? > > > > ?eljko > > > > _______________________________________________ > > Wtr-development mailing list > > Wtr-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wtr-development > > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > > > > ------------------------------ > Internet Explorer 8 ? Get your Hotmail Accelerated. Download free! > > _______________________________________________ > Wtr-development mailing list > Wtr-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > -- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord GTalk: bpettichord at gmail.com Watir Training: Portland/Beaverton April 16-17 www.watircraft.com/training -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim_matt at swbell.net Tue Mar 31 22:46:43 2009 From: jim_matt at swbell.net (jim_matt) Date: Tue, 31 Mar 2009 21:46:43 -0500 Subject: [Wtr-development] Introducing Watif: Web Application Testing inFORTRAN References: <96f388ca-4681-462b-b737-6980bb0f7106@x31g2000prc.googlegroups.com> <16bf298e0903311742h3857a896ld780e480b24cb2c2@mail.gmail.com> Message-ID: <008901c9b274$17dd9d80$c701000a@Jimsxp> I have been waithing 30 years for this! FORTRAN was my first programming language, punch cards and all. Now I can die happy. Jim ----- Original Message ----- From: Alister Scott To: wtr-development at rubyforge.org Sent: Tuesday, March 31, 2009 7:42 PM Subject: [Wtr-development] Introducing Watif: Web Application Testing inFORTRAN Hi, After months of dedicated hard work, I am pleased to announce the immediate release of Watif: Web Application Testing in FORTRAN. Check it out and let me know if you need any more information: http://tinyurl.com/watif Cheers, Alister Scott Brisbane, Australia http://watirmelon.wordpress.com/ ------------------------------------------------------------------------------ _______________________________________________ Wtr-development mailing list Wtr-development at rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development -------------- next part -------------- An HTML attachment was scrubbed... URL: