Test data location as a parameter?
Posted: Sun Nov 20, 2011 7:55 am
Hello - we are primarily using another tool for automation and are investigating using Ranorex instead.
One of the requirements is that we can launch tests using CCNET on many different environments (around 10 or so right now). For a variety of reasons the environment configurations are not consistent - primarily in that the source code does not sit in the same drive or directory on each machine and it is certainly not in the same drive/directory as our development machines.
So, when we launch a Ranorex test we pass in the suite we want to run (which is great), but it always fails because the test data sheet cannot be found.
There must be some way to pass that information through to the executable, but I can't puzzle it out. I can see that the location is defined in the test suite file, but that doesn't really help me because I don't want to write a script to change that location in every test suite - there must be a way to pass that value in (if you can pass the test suite file location in, logically you must be able to past the test data file location as well otherwise your suite is unusable).
Thanks in advance!
One of the requirements is that we can launch tests using CCNET on many different environments (around 10 or so right now). For a variety of reasons the environment configurations are not consistent - primarily in that the source code does not sit in the same drive or directory on each machine and it is certainly not in the same drive/directory as our development machines.
So, when we launch a Ranorex test we pass in the suite we want to run (which is great), but it always fails because the test data sheet cannot be found.
There must be some way to pass that information through to the executable, but I can't puzzle it out. I can see that the location is defined in the test suite file, but that doesn't really help me because I don't want to write a script to change that location in every test suite - there must be a way to pass that value in (if you can pass the test suite file location in, logically you must be able to past the test data file location as well otherwise your suite is unusable).
Thanks in advance!