Showing posts with label optionset. Show all posts
Showing posts with label optionset. Show all posts

Thursday, June 19, 2008

.opt files in Silk test

Definition for .opt file extension
Configuration file that contains preferences and options settings for a specific program; modified by the program when the user selects different options within the program.

OPT files are referenced by several programs including Borland Delphi and SilkTest, Microsoft Visual Studio, Symantec pcAnywhere, and Macrovision FLEXnet Manager.

Options Sets Usage in Silktest
Options sets save all current options except General Options. Options sets can be very useful when trying to use the same scripts on different operating systems. The primary differences between the two may be compiler constants.

You can use options set for following purposes.


  1. To save and load the Silktest Project settings

  2. Run a plan file for particular settings

  3. Specify your options set file, while running from command prompt

See a sample batch file to run the scripts by using options set.
Silktest - Run script in different browsers

Friday, March 21, 2008

Silktest - Run script in different browsers

SilkTest has options set feature. It is used to save the required silktest settings. I have used batch file to run the script for different browsers. It is easy to run your scripts, without any settings manually.

Below batch file is run for My_IE6DOM.opt (option set). You can try for suite instead of script-wise.

IE6DOM.bat



rem ******************************************************
rem Used to run the scripts for different option sets
rem *******************************************************

rem * Setting path to SilkTest application *
set APP_SILK="c:\Program Files\Segue\SilkTest\partner.exe"

rem * Setting path to Silk source *
set SRC_SILK=C:\Automation\AUT\Silk

rem * Setting SilkTest options file*
set SRC_OPTIONS=%SRC_SILK%\..\My_IE6DOM.opt


rem *****************************************
rem * Running Security test suite *
rem *****************************************

rem * Running Security Options test script *
%APP_SILK% -q -opt %SRC_OPTIONS% -r %SRC_SILK%\scripts\security.t