15 years ago
Setting relative path of external data source files
I have got a bunch of soap ui testsuites running on hudson. Two of them run and one of the does not. The only difference is i am using a data source for the test suite. The data source comes from an external file which is a *.xls. When i run the suite I see the message
[SoapUIProTestCaseRunner] running step [DataValidationYahoo]
java.io.FileNotFoundException: C:/Documents and Settings/stacy/src/qa/APITests/DataValidationYahoo.xls (No such file or directory)
This is not the path on the right path on the machine where i am running the tests. This is the absolute path on my machine.
How do i set it to be a relative path ?
[SoapUIProTestCaseRunner] running step [DataValidationYahoo]
java.io.FileNotFoundException: C:/Documents and Settings/stacy/src/qa/APITests/DataValidationYahoo.xls (No such file or directory)
This is not the path on the right path on the machine where i am running the tests. This is the absolute path on my machine.
How do i set it to be a relative path ?