You can package your Silk Test Classic project into a single compressed file that you can relocate to a different computer. When you unpack your project you will have a fully functional set of test files. This is useful if you need to relocate a project, email a project to a co-worker, or send a project to technical support.
Description | Extension |
---|---|
plan files | .pln |
script files | .t |
include files | .inc |
suite files | .s |
results files (optional) | .res and .rex |
data files | - |
Silk Test Classic takes these files and bundles them up into a new file with an .stp extension. The .stp file includes the configuration files necessary for Silk Test Classic to set up the proper testing environment such as project.ini, testplan.ini, optionset .opt files, and any .ini files found in the …\Silk Test Classic projects\<Project name>\extend directory.
You have the option of including .res and .rex files when you package a Silk Test Classic project because these files are sometimes quite large and not necessary to run the project.
When you package a project, Silk Test Classic checks to make sure that the paths used within the project are properly maintained. If you try to compress a project containing ambiguous paths, Silk Test Classic displays a warning message. Silk Test Classic tracks the paths in a project in a log file.
Files associated with a project, but not necessary to run tests, for example bitmap or document files, which you have manually added to the project are included when Silk Test Classic packages a project.
If Silk Test Classic finds any include:, script:, or use: statements in the project files that refer to files with absolute paths, c:\program files\Silk\Silk Test\, Silk Test Classic verifies if you have checked the Use links for absolute files? check box on the Export Project or on the Email Project dialog boxes.
If you uncheck the Use links for absolute files? check box, Silk Test Classic includes the files referenced by absolute paths in the packaged project. For example, if the original file is stored on c:\temp\myfile.t, when unpacked at the new location, the file is placed on c:\temp\myfile.t.
The following table compares the results of packaging projects based on whether there are any absolute file references in your source files, and how you respond to the Use links for absolute files? check box on the Export Project or on the Email Project dialog boxes.
Any absolute references in source files? | Use links for absolute files? | Results |
---|---|---|
No | Checked or unchecked | Package unpacks to any location. |
Yes | Checked | Files referenced by absolute paths are not included in the packaged project. |
Yes | Unchecked | Files referenced by absolute paths are put into a ZIP file within the packaged project. |
For best results when packaging and unpacking Silk Test Classic projects:
If you are running Silk Test Classic Runtime, you may not package or email a project.
If you are running the Agent, you may package or email a project.