Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43951

Wiki Page: How can a path within a Test Plan be substituted with a constant?

$
0
0
On occasion it may be necessary to run a SilkTest testplan on a machine which may have a different root directory or structure to the machine which the testplan was originally created on. A variable can be set within the testplan which defines the root directory of the testplan and used in place of a hard coded path. This is done using a symbol definition statement within the testplan to define the path. This must be set at the lowest level of the testplan if it is to be used for all subplans. It could be defined as such ; [ ] $Path = c:\test [ ] [-] test [ ] script: $Path\test.t [ ] testcase: test The above example will look for the script in the following location c:\test\test.t Old KB# 21197

Viewing all articles
Browse latest Browse all 43951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>