Silk Installation Configuration and Testing

This web page describes the installation, configuration, and some degree of usage of the Silk tool on the Windows 2000 platform.
 
 

Silk Installation

1) Connect to the "licenseserver" server's "silktest" drive (i.e. "net use *  \\licenseserver.raleigh.ibm.com\silktest"), ID is "hive\alchakra". (When prompted, password is STEVEDIDNOTPUBLISHTHISPASSWORD!) (or "net use *  \\inswin05\C$", password is normal test password)

2) Change directories to the "@software" directory and execute the "SilkTest6.exe" program, which will extract files and start the "Silk Test 6.0 Setup" GUI.

3) In the "Welcome" panel, click "Next" to continue.

4) In the "License Agreement" panel, click "Yes" to accept the license agreement".

5) In the "Silk Test Licensing" panel, click "Next" to proceed.

6) For the "Hostname" field, enter the value "licenseserver.raleigh.ibm.com\silktest" or "wpswin5.raleigh.ibm.com" and press "Next" (port was "5461").

(might not see the following step)
7) A new dialog box will appear querying whether you want to setup a new license server, select "No".

8) In the "Choose Destination Location" panel, accept the default and click "Next".

9) In the "Setup Type" panel, select "Silk Test", and click "Next".

10) In the "SilkTest Products Selection" panel, select "Silk Test" and "Reference Documentation", then click "Next".

11) In the "Start Copying Files" panel, click "Next" to proceed.

12) In the "Select Java Version" panel, select the JDK of your choice (i.e. "JDK 1.3.x"), and click "Next".

13) In the "Select Language for Browser Include Files" panel, accept "English" as the default and click "Next".

14) In the "Select Default Browser" panel, select the browser of your choice that is on your machine, then click "Next" (i.e "Netscape 6.x) (note, this can be changed later by using the "SilkTest Runtime Options dialog").

15) In the "SilkTest Results Logging" panel, click "Next" (the dialog said "An MSDE or MSSQL 7.0 database is required to use SilkTest Results Logging. This feature allows the SilkTest user to save test results to a database. An installer to set up SilkTest Results Respository, Results Logging and the demonstration-only Results Viewer is included in the "ResultsRepository" folder on the install CD and available from the download area.")

16) In the "Select Program Folder" panel, accept the default ("SilkTest") and click "Next". Wait a minth.

17) After several seconds you will be queried as to whether you wish to reboot your machine now or later. Choose your option and click "Finish".
 
 

Running Silk

1) From the Windows "Start" menu button, select "Programs", "SilkTest" and then select "SilkTest".

2) In the SilkTest GUI, from the top menu bar select "File", and "Open". In the browser scope to your file (i.e. "installjava.t")

3) In the SilkTest GUI, from the top menu bar select "Options", and "Extensions".

4) In the "Extensions" window, select the "Java Application" if you want to execute a Java program, and if you want to use a browser, enable that also (i.e. "Internet Explorer 6"). Only if your script uses a browser or Java will you be able to enable this extension.

5) In the SilkTest GUI, from the top menu bar select "Options" and "Runtime...".

6) In the Runtime Options window, in the "Use Path" field, enter the path to your runtime extensions (i.e. "C:\Program Files\Segue\SilkTest\Extend", and in the "Use Files" field, include the full path and name for any extension file (i.e. "C:\Program Files\IBM HTTP Server\htdocs\frame2.inc"), then click "OK".

7) To invoke the script, or after any changes are made to a script, you need to compile it. Select the window that it is in and from the Silktest menu bar, select "Run", and "Compile". You must compile any extensions first.

8) Once you have compiled all scripts you can execute the entire script by selecting the main script panel, and select "Run" and "Run". Alternatively you can select individual test cases from the main script panel, and click the "Run Testcase" button on the top of the SilkTest GUI.

9) You can optionally record a set of GUI operations by selecting "Record" "Actions", which will pop up a dialog box reflecting the operations you are performing. Do the stuff, and in the dialog box click "Copy to clipboard". In the "Update Files" dialog box, select "Past script only" (otherwise it will be added to your extension file if you use the "Paste script and update window declaration(s).  Click "OK". CLi
 
 
 
 
 

Silk Resources

On \\inswin05\C, in a parallel to the "@software" directory, there are directories which contain working examples of code develped at IBM (i.e "@silk\insCommon-Silk553", and "@silk\insCommon-Silk, which has in it example code written by Mike Wiles and the INS team, and ".

Silk Test web page =   "http://mwst710/SilkTest/index.html"

Jessee James in Texas is the Silk expert.
George Fredrick is a Silk expert.

Example Silk Script  (by George Fridrich)
 

Silk file heirarchy

Silk files include at the top level a "*.pln" file (with a ".pln" extenstion), which is a test plan. Beneath this file is a "*.t" testcase file (with a ".t" extenstion). Beneath this are functional tests with a "*.t" or "*.inc" (with a ".t" or ".inc" extenstion). The tool is st