| || |
script for specifying search path in General Options
I am calling 15 tests in a batch test.
Before running these tests i need to specify the location of all the called tests in
Tools>General Options>Folders>Search path for callef tests.
Now the problem is t, that winrunner doesnt accepts more than 8 test locations to be specified there at a time. So every time i have to delete the previous few test locations and specify the locations for remaing 7 test to run all of them succesfully.
Now my question is that can we run a small script or few lines of code as start up script .....before the actual script so that it sets up all these locations of tests in General Options automatically as i run the test.
Pls if someo one can provide me the code for this..it'll be great..
Thanks in advance
Re: script for specifying search path in General Options
Either you call the tests including the path:
call_close "C:\\folder\\testname" ();
Or you can change the searchpath using
you can retrieve the current searchpath. Use this for a backup of the original searchpath and restore it using setvar() at the end of your test.