Customizing your MemberList
10
Using
AutoComplete
Customizing your MemberList
The members that you see in the MemberList are dependant upon the MemberList Options that you
select. You can specify which members appear in your MemberList: window children, methods,
properties, and variables. You can also determine how much detail appears in the MemberList by
specifying the Inheritance Level and deciding whether or not you want to view class, data type, and the
function return type for methods in your MemberList.
All member options are enabled by default and the default Inheritance Level is Below AnyWin Class,
meaning that methods for any class derived from the AnyWin class will appear in the MemberList.
Note that methods that are defined in and above the AnyWin class, such as Click and Exist, which are
defined in the Winclass, will not appear in the MemberList. You can type these methods into your
script, but they will not appear in the MemberList unless you change the Inheritance Level to All. For
more information about the Inheritance Level see the AutoComplete area of General Options dialog.
To customize your MemberList
1. Open SilkTest and click Options/General.
2. In the AutoComplete area of General Options dialog, make sure MemberList is selected.
3. In the MemberList Options area, select the members that you want to appear in your
MemberList. For example, if you want to view only properties and variables, clear the
Methods and Window Children checkboxes.
4. Select the appropriate Inheritance Level for the selected methods. You can choose one of the
following:
·
Below AnyWin Class: displays methods for any class derived from the AnyWin class.
Note that methods that are defined in and above the AnyWin class, such as Click and
Exist, which are defined in the Winclass, will not appear in the MemberList. Below
AnyWin Class is the default.
·
All: displays the complete inheritance for members all the way up through AnyWin and
the control classes, including the Winclass
·
None: displays only those members defined in the class of the current object and
window declaration
5. If you want to view 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 in your
MemberList, select the Member Type checkbox. Member Type is not enabled by default. The
following is a sample MemberList with and without Member Type enabled.