Get Shell Text
Last updated
This is a pre-built Action located under the Captured Shell Element. The functionality of this Action in Avo Assure is to fetch the complete text available in the shell element and store the result in a dynamic variable.
Input Value: N/A
N/A
Not Applicable
Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)
<Dynamic Variable> (Required)
This dynamic variable stores the retrieved shell text.
<Dynamic Variable> (Optional)
This dynamic variable stores the status as True or False.
In this example, we explain how to retrieve text displayed in the shell or terminal screen.
Action: Get Shell Text
Input Value: N/A
This action does not require any input value.
The action automatically retrieves the text available from the active shell or terminal session.
Output Value: {ShellText}
The first output variable ({ShellText}) stores the retrieved shell text.
If a second output variable is provided, the action returns the status as True or False:
True: If the shell text is retrieved successfully.
False: If the shell session is not available or no text is found.
Logical Explanation: The Get Shell Text action retrieves the text displayed in the active shell or terminal screen without requiring any input value. The action stores the fetched shell text in the {ShellText} variable.

Last updated