Setting General Options

You can use the general options to configure aspects of the general system behavior, such as the editor and your workspace. Options that you set in the General Options dialog box are written to the partner.ini file.

  1. Click Options > General. The General Options dialog box appears.
  2. Check the Create backups check box to create a backup file each time you save a file. The backup file has an underscore _ appended to the extension. By default, this check box is checked.
  3. Check the Show full path check box to see the full path of files in Silk Test Classic. This option is useful if you have a complex directory structure, or if you work from both local and network copies. By default, this check box is checked.
  4. Check the Save files before running check box so that all open modified files are written to disk before executing a script, suite, or test plan. By default, this check box is checked. If you uncheck the check box, only the modified script, suite, or test plan is written to disk before running it.
  5. From the Save outline list, select in which state outline files are saved.

    Outline files include .pln, .inc, .t, and .g.t files.

  6. In the Width of tabs field, specify the number of spaces in a tab stop. The default is 4 spaces.
  7. Check the Show toolbar check box to display the toolbar. By default, this check box is checked.
  8. Check the Show toolbar tips check box to display a on-screen description of a toolbar button (ToolTip) when you place the mouse cursor over the button. Silk Test Classic uses the standard Windows mechanism for displaying ToolTips. You can customize the appearance of the ToolTips by using the standard Windows Display Properties dialog box. By default, this check box is checked.
  9. In the Project history size field, specify the number of recent projects to display on the File menu. You can specify an integer from 0 to 4. The default size is 4.
  10. In the File history size field, specify the number of recent file actions to display on the File menu. You can specify an integer from 0 to 9. The default size is 9.
  11. Specify the extensions for include files in the Include file extensions field. Separate the extensions with a space. Files with other extensions are treated like text files, and are displayed in the text editor only. The default include file extensions are inc, lib, and opt.
  12. Check the Prefer Locator check box to use locators to resolve the window declaration, whenever both locators and tags are present. By default, this check box is checked.
  13. In the Data file for attributes and queries field, specify the default path for the test-plan initialization file. Specify the full path and file name. The file extension is arbitrary. The default test-plan initialization file is testplan.ini.
    Note: You can only specify one data file for attributes and queries at a time.
  14. In the Help files for library browser field, specify the files that Silk Test Classic should use to compile its help file (4test.hlp) for the Library Browser. Separate the entries with a comma. The default file is 4test.txt, which includes information for all the built-in classes and functions.
  15. To disable saving object files during compilation, uncheck all check boxes in the Auto-Complete area as well as the Save object files during compilation check box on the Runtime Options dialog box.
    1. Check the Function tip check box to display the function signature in a tooltip whenever you type an open parenthesis ( after a function, test case, or method in a 4Test file. The function signature includes the return argument type, the pass-mode, the data type, the names of any arguments, and any optional attributes that are defined. The first argument is highlighted in bold text. As you enter each argument and then type a comma, the next argument that you are expected to type is highlighted. The expected argument is always indicated with bold text; for example, if you backspace or delete an argument within your function, the expected argument is updated accordingly in the function tip.
    2. Check the Member list check box to display the members from which you can select when you type a period "." after a member name in a 4Test file. The members that you see in the MemberList are dependant upon the MemberList Options that you have selected.
    3. Check the Datatype list check box to display the list of the built-in and user-defined non-winclass types whenever you type the keyword of after a list, an array [ ], or a varargs; for example, list of.
    4. Check the Appstate list check box to display a list of the currently defined application states when you type the keyword appstate as part of a test case declaration; for example testcase foo () appstate.
  16. Specify how much detail appears in your MemberList by selecting the inheritance level from the Inheritance Level list.
    • Select Below AnyWin Class to display methods for any class derived from the AnyWin class. This is the default inheritance level.
      Note: Methods that are defined in and above the AnyWin class, such as Click and Exist, which are defined in the Winclass, are not displayed in the MemberList.
    • Select All to display the complete inheritance for members all the way up through AnyWin and the control classes, including the Winclass.
    • Select None to display only the members that are defined in the class of the current object and window declaration.
  17. Specify which members are displayed in your MemberList by checking the corresponding check boxes.
    1. Check the Show methods check box to display all methods that are defined in the referenced .t, and .inc files. Methods are indicated in the Memberlist with a red icon.
    2. Check the Show window children check box to display all window objects of type WINDOW that are defined in window declarations in the referenced .t and .inc files. Works with the parent statement, the with statement, and the this keyword. Window children are indicated in the Memberlist with a yellow icon.
    3. Check the Show properties check box to display all properties that are defined in the referenced .t, and .inc files. Properties are indicated in the Memberlist with a blue icon.
    4. Check the Show variables check box to display all variables that are defined in the referenced .t and .inc files, including native data types, data, and records. Fields defined for records and nested records are also displayed. Variables and fields are indicated in the Memberlist with a red icon.
    5. Check the Show membertype check box to display attributes for the selected members, such as the class for window children, the data type for properties and variables, and the return type for method functions. By default, this check box is unchecked.
  18. Click OK.