SilkTest Question:

I want to set current path run time?

Tweet Share WhatsApp

Answer:

I want to set current path run time - means if I am having scripts on *C:Silktest*XYZ.pln then in Initialise function - I want to set path as
*C:Silktest *
How to do that in ST ?
Also I want to set few run time options , not thr' run time option dialog box but pragmatically Note ::All options present in Runtime dialog
1. Use files
2. Result file path
I checked for .opt file option ..
that is for Agents ONLY I guess..



The "CurrentPath" would return the current path.....Manipulate this string to set your current path......
In .opt file set
[Runtime]
UseFiles=C:SilkTesttest.inc;extendexplorer.inc;so on.........
ResultsPath=C:Silktest

Download SilkTest PDF Read All 146 SilkTest Questions
Previous QuestionNext Question
How to write the single silk statement in two lines?How can we use more than one browser in silktest. Suppose I want to use three browser how do write script for this case?