background image
<< Library Browser- The standard Library Browser contents | Library Browser- txt to add the information >>
Library Browser- Modifying the Library Browser contents
<< Library Browser- The standard Library Browser contents | Library Browser- txt to add the information >>
User's Guide
329
18 M
ODIFYING
THE
L
IBRARY
B
ROWSER
Modifying the Library Browser contents
Properties
The Library Browser also shows all built-in and user-defined properties. As
with user-defined methods, the description for user-defined properties by
default is User defined.
Functions
By default, the Library Browser shows all built-in functions but does not
display your user-defined functions.
Modifying the Library Browser contents
4test.txt
The core contents of the Library Browser are based on a standard SilkTest
text file, 4test.txt, which contains information for the built-in methods,
properties, and functions. You can edit 4test.txt to include your user-defined
information, then have SilkTest compile the file (creating 4test.hlp) to make it
available to the Library Browser. (Information about methods in 4test.hlp is
also used in the Verify Window dialog for methods.)
Note SilkTest does not update 4test.txt with user-defined
information; instead it populates the Library Browser from
information it receives when include files are compiled in memory.
You modify 4test.txt to override the default information displayed
for user-defined objects.
Procedure To enhance the Library Browser's contents:
1
Make a backup copy of the default 4test.txt, which is in the directory
where you installed SilkTest.
Store your backup copy in a different directory.
2
In an ASCII text editor, edit the 4test.txt file in your SilkTest installation
directory.
3
Quit, then restart SilkTest, which will automatically compile the
modified 4test.txt.
Steps 2 and 3 are described next.
Note There is another approach to updating the Library Browser
you can use--maintain information in different source files. See
"Using multiple source files" on page 334.
Modifying the source file
Simply looking through 4test.txt should give you all the help you need about
how to structure the information in the file. The following table lists all the
keywords and describes how they are used. Following the table are examples.