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
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 o
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
--~--~-~--~~~--
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
--~--~
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 wrote:
>
> require is a p
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 in
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 wrote:
> Hi Every one.
>
> I just started with new Watir(new version). Earlier I had framework
> which use to call all related test cases in one fil