Invoke Method Dialog Box

Use the Invoke Method dialog box to specify the parameters for the method that you want to test. The dialog box displays the signature of the selected method in the correct language syntax.

To display the Invoke Method dialog box, right-click the method's object, and then click Invoke Method. From the list, select the method to test.

  • Method Signature
    The method's full signature, including any parameters. The parameter type is highlighted when its corresponding Parameter box is selected.

  • Method Name
    The name of the selected method. Not editable.

  • Parameter Name
    The name of the parameter to pass. If the method has parameters, the Invoke Method dialog box displays a box for each parameter. Type the parameter name in the box, or select the parameter from the drop-down list that contains the method's currently-active variables.

    If you type a char in the parameter box, you must enclose the char in single quotes. (' ')

    If you type a string in the parameter drop-down list box, you must enclose the string in double quotes (" ").

    Unquoted chars or strings are treated as object names.

    If the object does not exist, the Object Test Bench returns an error.

See Also

Reference

Method Call Result Message Box

Create Instance Dialog Box