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はLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400