[Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Eli Smith
Greetings, Rubyists. Ruby newbie here with an SciTE question. How do I stop SciTE from repeating my input chars in IRB? I cant figure out which bit to flip off but its got me crazed. The suggestions at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/143959 didnt solve

Re: [Wtr-general] Validating all php generated html code?

2006-04-04 Thread jkohl
If you're looking at pure HTML validation, I'd look at doing this at the HTTP layer. If I'm not mistaken, most web browsers (IE included) fill in missing closing tags. You will probably see IE's version of the HTML, not necessarily what the PHP scripts are actually generating. Someone who knows

Re: [Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Paul Carvalho
Hello Eli, there's a lot of information you didn't offer to allow us to help you better.What version of Ruby are you using (so we know the version of SciTE)? What version of Watir?How are you executing the scripts? Which input chars are being echoed? Can you include a sample of your code and the

Re: [Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Eli Smith
Fair enough, Paul. Lemme spill my guts. Im using Ruby 1.8.2, Watir 1.4.1, and SciTE 1.59 on a Winserver 2003 with SP1. To see the problem: Start SciTE on Windows. Select Tools Run irb from the menu system. Type into the command window provided. Each character

Re: [Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Paul Carvalho
Ah, now I see. I am using Ruby 1.8.4-16 with SciTE 1.67. There is *no* Run irb under the Tools menu.I guess it didn't work so they took it out. Sorry. Looks like you'll have to CMD-prompt it to work around this problem. Cheers. Paul.On 04/04/06, Eli Smith [EMAIL PROTECTED] wrote:

Re: [Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Cain, Mark
You can type: Cmd Echo off Cd \ruby\bin Irb Ruby code here But this is just a command window inside SciTE. It is a much better experience via a command window. If you want an IRB window inside your editor, download the latest version if FreeRide and it has one built in.

Re: [Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Paul Carvalho
Hi Eli, you can execute your scripts from within SciTE too. Just press [F8] to see the output pane and press [F5] to run the script. The output pane shows you the output that you would normally see in a command window. No need to run it separately. Hope this helps. Paul.On 04/04/06, Eli Smith

Re: [Wtr-general] SciTE Repeats Input Chars in IRB

2006-04-04 Thread Bret Pettichord
I think this has been said before, but i bears repeating.The Ruby breakpoint package is a great debuggerWhat you do is add code like this: require 'breakpoint'; breakpointAnd then when that line is executed, you get dropped into IRB at that context. Install breakpoint thus: gem install

Re: [Wtr-general] Validating all php generated html code?

2006-04-04 Thread Bret Pettichord
I agree. Watir is not the right tool for this.Perl's Mechanize or something similar in Ruby would probably be the thing to use.BretOn 4/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If you're looking at pure HTML validation, I'd look at doing this at the HTTPlayer. If I'm not mistaken, most

Re: [Wtr-general] Files as argument when running a suite

2006-04-04 Thread Deepa Mallapareddy
Thanks a lot Bret ...This did not work My problem was to : Have a config file where in the user specifies few Global Variables like Username and pwd and the path which he wants to be tested and My requirement was to give the Config file as an argument coz User might want to

Re: [Wtr-general] Files as argument when running a suite

2006-04-04 Thread Sean Gallagher
Deepa, Check out YAML --it's already included with Ruby. (and works really well!) More info here http://yaml4r.sourceforge.net/ including a good cookbook. http://yaml4r.sourceforge.net/cookbook/ I am using YAML to solve a similar problem. Good luck! Sean -- http://testmethods.net/