SilkTest Projects

 

Storing project information

SilkTest Classic stores project-related information in the following two project files:

projectname.vtp

                The project file has a Verify Test Project (.vtp) extension and is organized as an .ini file. It stores the names and locations of files used by the project.

Projectname.ini

                The project initialization file, similar to the partner.ini file, stores information about options sets, queries, and other resources included in your project.

 

The projectname\extend directory is used only for local testing on the host machine. If you want to test on remote Agent machines, you must copy the .ini files from the projectname\extend directory to the <SilkTest Classic installation directory>\extend directory on the target machines.

 

File references

The .vtp files of SilkTest Classic use relative paths for files on the same root drive and absolute paths for files with different root drives. The use of relative and absolute file paths is not configurable and cannot be overridden.

 

Project Explorer

Files tab: Category, Profile, Script, Include/Frame, Plan, Results, Data

Global tab: Records, Classes, Enums, Window Declarations, Testcases, Appstates, Functions, Constants

 

SilkTest Projects->SilkTest Classic File Types

 

FileType

Extension

Description

Project

.vtp

SilkTest Classic projects organize all the resources associated with a test set and present them visually in the Project Explorer, making it easy to see, manage, and work within your test environment. The project file has a Verify Test Project (.vtp) extension and is organized as an .ini file; it stores the names and locations of files used by the project. Each project file also has an associated project initialization file: projectname.ini.

Testplan

.pln

An automated test plan is an outline that organizes and enhances the testing process, references test cases, and allows execution of test cases according to the test plan detail. It can be of type masterplan or of subplan that is referenced by a masterplan.

Test Frame*

.inc

A specific kind of include file that upon creation automatically captures a declaration of the AUT's main window including the URL of the Web application or plan and executable name for client/server applications; acts as a central repository of information about the AUT; can also include declarations for other windows, as well as application states, variables, and constants.

4Test Script*

.t

Contains recorded and hand-written automated test cases, written in 4Test language, that verify the behavior of the AUT.

Data driven Script

.g.t

Contains data driven test cases that pull their data from databases.

4Test Include File

.inc

A file that contains window declarations, constants, variables, classes, and user defined functions.

Suite

.s

Allow sequential execution of several test scripts.

Text File

.txt

An ASCII file that can be used for the following:

l  Store data that will be used to drive a data driven test case.

l  Print a file in another document (Word) or presentation (PowerPoint).

l  Accompany your automation as a readme file.

l  Transform a tab-delimited plan into a SilkTest Classic plan.

Results File

.res

Is automatically created to store a history of results for a test plan or script execution.

 

SilkTest Projects->Organizing Projects

 

If you add object files, which are .to and .ino files, to your project, the files will display under the Data node on the Files tab. Objects defined in object files will not display in the Global tab. You cannot modify object files within the SilkTest Classic editor because object files are binary.

 

You may add a folder to any of the categories (nodes) on the files tab of the Project Explorer. You may not add a folder to the root project folder, nor change the title of the root nodes.

When you are naming a folder, you may use alphanumeric characters, underscore character, character space, or hyphens. Folder names may be a maximum of 256 characters long. Creating folders with more than 256 characters is possible, but SilkTest Classic will truncate the name when you save the project. The concatenated length of the names of all folders within a project may not exceed 256 characters. You may not use periods of parentheses in folder names.