I typically use relative path folders. (.\testdata.xls)
Hue Mach Dieu wrote:
Hi All
Currently, I define the fix path of test data. But in this way is not so
good when we run test script in other computer with difference folder.
Currently, The structure of my test script like this
--testScript
-- TC1
-- TC1.rb
-- TC2
-- TC2.rb
-- ..
-- Util
-- config.rb
-- Testdata.xls
In config.rb, I define like this
$input_test_data_path = 'D:\TestScript\testdata.xls'
And use $input_test_data_path in TC1, TC2,...
Does have anyway to define the test data location more suitable
Thank you for help
Hue
_______________________________________________
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