Creating user-scripted actions

Explains how to create a stub action for a user-scripted scripted action in TestArchitect.

  1. In the TestArchitect explorer tree, right-click the Action node, and then select Create User-Scripted Actions.

    The Create User-Scripted Actions dialog box appears.

  2. Next to the Bundle location box, click the Browse button to specify a DLL.

    Important: 
    Currently, only C# bundle harness is supported to create user-scripted actions.

    User-scripted actions defined in DLL(s) are loaded into the Select actions list with the following information.

    • Name: User-scripted action name
    • Function: Function name
    • Class: Class name
    • Assembly: Path of the class library.

  3. Select action(s), and then click Create.

    Notes: 
    • You are not allowed to select more than one identical user-scripted actions.
    • Also, the selected user-scripted actions cannot have the same name as an existing built-in action

    If the creation is successful, a dialog box appears.

  4. Click OK to dismiss the dialog box.

    In the TestArchitect explorer tree, under the Action node, new stub actions of the user-scripted actions are created successfully.

  5. Close the Create User-Scripted Actions dialog box.

    In the TestArchitect explorer tree, under the Actions node, new stub actions of the user-scripted actions are created successfully.

  6. Open a newly-created stub action.

    From the test editor, we can see that argument names are populated based on the implementation code, and their argument types are assigned to String automatically. You are free to modify the argument type.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400