Silk
test consists of many file types which have been discussed in this article.
There are various types of files that are used by the silk test in the process
of automation testing.
Each of the files is used for a specific purpose or we
can say function such as certain files are required by the silk test for the
creation and execution of the tests.
Now we shall discuss the different file
types available one by one:
- Test plan (.pln): This file
type in silk test facilitates the creation of the test suites. But the
test suites can be created lonely if this file type is combined with the
test scripts.
Testone
Script:
test.t
Test
case: one
Testtwo
Script:
test.t
Test
case: second
Here in the above example the main test
script file is test. t. on the other hand the ‘one’ and the ‘second’ are the
names of the test cases in the main script file test.t. Whenever this file type
is run the test cases one and second are automatically picked up by the main
script file and executed.
- Test script (.t): This file
type in the silk test is used while writing the actual test scripts. Whenever
such a file is in run session the test one and test two test cases are
executed by it in a predefined order and at the end the note pad application
is closed.
- Frame file (.inc): The windows
and the controls present in the AUT or application under test are defined
by an abstraction layer. These windows as well as the controls are
referenced later in .t files.
- Result file (.res): This file
type consists of all the test run results which have the names of all the
passed as well as failed tests along with their suitable descriptions. These
file types may or may not contain log messages.
Leaving
out the result file (.res) type, almost all the other file types are based up on
text. Therefore, the editing of all those files can be edited either using the
silk test IDE or by using a text editor.
In the silk test version that was
released in the year of 2006, the files can be saved in either of the two formats
namely:
- ANSI format or
- The UTF – 8 format
- Project (.vtp): This file type is saved with an extension of 'verify test project' and
is used as storage for the locations as well as the names of the files
that are currently in use by some project. With this file type there is
another associated file type .ini extension since it is an initialization
file.
- Data driven script (.g.t): This
file type stores the data driven test cases which are use to pull out data
from the data bases.
- Suite (.s): With the help of
this file type the sequential execution of several test scripts is
possible.
- Text file (.txt): This is an
ascii file type and can be used for the following purposes:
a) For storing a data that
can be used for driving a test.
b) For printing a file in
some another document.
c) The test automation file
is accompanied by this file type as a read me file.
d) For transformation of a
tab delimited plan in to a silk test plan.
Entire
above discussed source files are compiled and stored as the ‘pseudo code object
files’ at either of the times:
- When the files are loaded or
- When any change has occurred in
the file types.
No comments:
Post a Comment