Command Prompt/Terminal Automation

I want to execute a list of commands on the terminal
some of the commands might take minutes or even hours to get executed(the time for execution of each command can vary)
so what will be ideal solution to automate the task of typing the commands because i need to only give the next command when the previous one is done

kindly help

Hi @Aishwarya_Bhargava ,

How do you know when the previous one is done?

Marius

i get the cursor blinking again
or sometimes there is this line showing that the file has been created or something like that

Hi @Aishwarya_Bhargava ,

A very simple workflow using only basic UiPath activities would be:

Help file: TerminalCheck.xaml (18.7 KB)
Source: https://www.uipath.com/kb-articles/how-to-scrape-the-whole-text-including-hidden-elements-from-a-terminal-window

I assume there are other way such as invoking .bat files …

Best regards,
Marius

i cant use get visible text activity because that makes the terminal in a permanent not responding mode, which is not ideal

Hi @Aishwarya_Bhargava ,

Then you can use the Image Exists activity. Please find here the updated file: TerminalCheckBlink.xaml (14.3 KB)

Best regards,
Marius

its giving wrong output
and i am using Bitvise SSH terminal for running the commands

Hi @Aishwarya_Bhargava ,

Are you using the Terminal Activities Pack (https://docs.uipath.com/activities/docs/about-the-terminal-activities-pack) ?

Perhaps the Wait Text at Position activity (https://docs.uipath.com/activities/docs/terminal-wait-text-at-position) would help you

Best regards,
Marius

i am not able to understand the terminal session activity
i have been trying for hours
in order to try this package
do you know how it works?

I’ve tested the activity on Attachmate terminal and it is working fine. I didn’t apply on Bitvise SSH terminal, but I assume it should be similar

Please let us know more details (workflow / error print screens)