[wtr-general] Re: require function is not working

2009-06-15 Thread Chethan
Thanks every one, The error was not get displayed in the command prompt, It was writing in to a log file. I figured about this. Regards, Chethan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group.

[wtr-general] Re: require function is not working

2009-06-14 Thread Anna Gabutero
On Sat, Jun 13, 2009 at 05:50:19AM -0700, Chethan wrote: I am using require earlier, I even make sure that when I call the file present working directory is same, as I said earlier I was using this type of frame work earlier it was working absolutely well. I tried many a times, more over I

[wtr-general] Re: require function is not working

2009-06-13 Thread Chethan
I am using require earlier, I even make sure that when I call the file present working directory is same, as I said earlier I was using this type of frame work earlier it was working absolutely well. I tried many a times, more over I am not getting any error after it run. Thanks, Chethan

[wtr-general] Re: require function is not working

2009-06-13 Thread Richard Wijdenes
When I see this code require 'testcase_01' require 'testcase_02' I automatically assume it should be: require 'testcase_01.rb' require 'testcase_02.rb' Maybe I'm oversimplifying your problem, but I've made this mistake myself a few times. Grtz. Richard

[wtr-general] Re: require function is not working

2009-06-12 Thread karimnumerouno
you have the runit framework that can be used to run testcases in batch mode something similar to JUNIT Test Suite file On Jun 12, 5:06 pm, Chethan chethan2...@gmail.com wrote: Hi Every one. I just started with new Watir(new version). Earlier I had framework which use to call all related

[wtr-general] Re: require function is not working

2009-06-12 Thread Chuck van der Linden
require is a pretty fundimental part of Ruby. it's not a Watir function. I doubt it has changed, so you should be looking elsewhere (path settings perhaps?) for the cause of your error. Providing actual errors you are getting instead of just saying 'not at all working' would be highly useful

[wtr-general] Re: require function is not working

2009-06-12 Thread Wesley Chen
I think you have to do that: $:.unshift File.join(File.dirname(__FILE__)) require 'test01' In some editor, such as Netbeans, if you require file name directly, it always find in the Lib folder. Thanks. Wesley Chen. On Sat, Jun 13, 2009 at 7:23 AM, Chuck van der Linden sqa...@gmail.comwrote: