execute command

Description

Execute a command-line command and return its output.

Arguments

Valid contexts

This action may be used within the following project items: test modules and user-defined actions.

Notes

Example - Case 1

Suppose you issue the dir command in your automation script to see the available files and directories in the D:\Development directory.

Action Lines

Result

Instead of writing the dir output to the var_output variable, you can write the output to a file by using the redirect command output (>) operator.

Action Lines

Result

Effect

Example - Case 2

Suppose you may want to issue two commands in your automation script.

Additionally, these two commands must run asynchronously (without waiting for each command to finish).

Test Lines

Result


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