background image
<< Tutoria 3. AutoComplete | Using FunctionTip >>

Overview of AutoComplete

<< Tutoria 3. AutoComplete | Using FunctionTip >>
4
Using
AutoComplete
Overview of AutoComplete
AutoComplete makes it easier to work with 4Test, significantly reducing scripting errors and
decreasing the need to type text into your 4Test files by automatically completing functions, members,
application states, and data types. There are four AutoComplete options:
·
Function Tip: provides the function signature in a tooltip
·
Member List: displays window children, properties, methods, variables available to your
4Test file
·
AppState List: displays a list of the currently defined application states
·
DataType List: displays a list of built-in and user-defined data types
AutoComplete works with 4Test files defined by users and by SilkTest.
If you create a new 4Test file, you must name and save it as either a .t , .g.t, or .inc file in order for
AutoComplete to work. After a 4Test file has been saved once, AutoComplete recognizes any changes
you make to this file in the 4Test Editor and to include files that you reference via a 4Test use
statement or the Use Files text box on the SilkTest Runtime Options dialog. When working with an
existing 4Test file, you do not need to save or compile in order to access newly defined functions,
methods, or members.
AutoComplete only works with 4Test files (.t, .g.t, and .inc). It does not work on comment lines or
within plan, suite, or text files. AutoComplete can handle Unicode content.