Wednesday, 24 April 2013

What .OPT file is used for? | Silk Test interview questions

.opt file is used to set the options
Say in your script you set the option
Agent.SetOption (OPT_WINDOW_TIMEOUT, 5)
Agent SetOption (OPTVINDOW_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.

No comments: