Interview Questions

What .OPT file is used for?

SilkTest Questions and Anwsers

(Continued from previous question...)

97. What .OPT file is used for?

.opt file is used to set the options.......
Say in your script you set the option
Agent.SetOption (OPT_WINDOW_TIMEOUT, 5)
Agent.SetOption (OPT_WINDOW_RETRY, 0.06)
Agent.SetOption (OPT_KEYBOARD_DELAY, 0.3)
For few options you can set in your script.....If you are going to set more number of options, it is better to set in an .opt file and use that .opt file....
The above example is for Agent option....There are other options e,g General, Runtime etc which you have to set in the .opt file

(Continued on next question...)

Other Interview Questions