| || |
Finding related functions and methods in SilkTest
Hopefully others may find these techniques useful from time to time when attempting to find related functions and methods in SilkTest's rich built-in library.
It is at time difficult to find logically related SilkTest
functions and methods using both the online help utility
as well as the 4Test Language Reference Manual. The remainder
of this document describes actions you can take to
find related functions, listed in the order I think will
result in the fastest results:
A. Using the Library Browser
In addition to a [traditional Window's] online help utility
SilkTest also provides a terse description of each [or at
least most] built-in functions and methods. This utility is accessed
via the Help->Library Browser... menu item. Once opened you
can then select a "class" [via the Methods tab], a "property"
[via the Properties tab], or a list of "functions by programming
task" [via the Functions tab]. Unfortunately there is not
a "data type" tab nor the ability to search the tabs
for a particular string [which would be most useful when
trying to find a particular class]. Descriptions provided by the
Library Browser are extremely terse--to get more details on a
found function or method either use the online help utility or
the 4Test Language Reference Manual.
B. Using "Functions By Programmming Tasks"
In earlier releases of the Language Reference Manual there
was a chapter that listed functions grouped by programming
task, such as "Date and Time", "Character and String
Conversions", etc. This section is not longer documented
in the Language Reference Manual, but it is available in
the online help utility:
1. Open online Help and select the Index tab
2. Type in "functions"
3. Select the "organized by programming tasks" list item
4. I recommend bookmarking this useful entry
[This section of online help essentially describes the same
list of "functions by programming tasks" which are described in
the Library Browser's Functions tab, but in much greater detail].
C. Using an "Index"
The index at the end of the Language Preference Manual can
not be trusted to list all related functions. For example the
entry for "dates" only lists about 50% of the functions
that can be used to manipulate the DATE and DATETIME
data types. This situation is [interestingly] *not*
improved using the online help's Index tab, nor the Find
tab even when the "maximum" database was created under the
D. Using "Find" with the Language Reference Manual in PDF
A final alternative exists: working the PDF version of
the Language Reference Manual using Acrobat's Find
command. For example searching forward in the document
for "date" finds all all functions associated with DATE and
DATETIME objects. While this method is rather cumbersome
and the slowest to produce results it does in fact allow you
to reliably find *all* related functions, based on a keyword
of your choice.
The PDF version of the Language Reference Manual can be
downloaded from the Segue Support website [which will
require your login ID and password].