Export to Script Dialog

Applies to TestComplete 15.70, last modified on December 17, 2024

TestComplete displays the Export to Script dialog after you select the Export Selected Events to Script command from the context menu of the low-level procedure editor. In the dialog you specify the name of the script routine in which TestComplete will place the script code that corresponds to the low-level events that you would like to export.

On the left of the dialog, there is a tree of script units that exist in your project. On the right, there is a list of script routine that belong to the unit that is selected on the left.

To specify a script routine:

  • Choose the desired script unit under the Script node on the left of the dialog.

    You can also create a new unit. To do this, click the Create a new unit link and use the ensuing dialog.

  • Type the desired routine’s name in the Test name box.

  • Click OK.

You can export low-level events only to a new script routine. If you select the name of an existing routine, the OK button will be disabled.

After you export low-level events, you can copy the generated script statements and paste them to some other routine.

For information on why exporting may be needed, see Parameterizing Low-Level Procedures.

See Also

Editing Low-Level Procedures
Parameterizing Low-Level Procedures

Highlight search results