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 test on different Config files
 
but Require 'config.rb' dint work
 
 
I have found out a work arround I have stored the variables in a file and then
started reading them line by line and using them in my file ....
 
ie
 
Alltest.rb config.txt
 
instead of writing config.rb
 
Thought of sharing. I dont know whether it is appropriate way of doing but works

Bret Pettichord <[EMAIL PROTECTED]> wrote:
require 'config.rb'

If that doesn't work, then you'll need to explain more what you want to do.

Bret

On 3/31/06, Deepa Mallapareddy < [EMAIL PROTECTED]> wrote:
Hi all,
 
     I have to give a config file( file with variables like username and pwd and URL ) as an argument when running a suite.  and I should be able to use the variables in this entire test suite Im eunning.
 
Can you please suggest
 
Any input on this will be appreciated.
 
Thanks in Advance!
Deepa


Whatever you can do or dream you can, begin it. Boldness has genius, power, and magic in it.
--Johann Wolfgang von Goethe
 
------------------------------------------------------------------------
Deepa Mallapareddy,
4981,Catoctin Drive,
Apt#15,San Diego
CA - 92115

How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general



Whatever you can do or dream you can, begin it. Boldness has genius, power, and magic in it.
--Johann Wolfgang von Goethe
 
------------------------------------------------------------------------
Deepa Mallapareddy,
4981,Catoctin Drive,
Apt#15,San Diego
CA - 92115


Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to