While running terminal commands, telnet service must be in started. For the purposes of this we check whether telnet service is started or not, if not then we will start the telnet service. T80.atmx Note: Save the xls in C: drive, the .atmx file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks
Create a new task
Insert service command to ‘Get Service Status’
Enter if condition to check whether the service is started or not.
Enter Else if condition to check the service is paused or not.
Insert services command to Resume Service
Insert all terminal commands which you want to run
Insert stop services command
Save and Run the task
How to run the task
Web and Desktop applications are filled with images that need to be converted to a readable text for certain actions to be performed. OCR technology is used to do just that.
The task below logs into FTP server via DOS and waits to check if logged in successfully. It uses OCR technology to retrieve information from Command Prompt in to readable text to check whether login was successful.
T79.atmx Note: Save the xls in C: drive, the .atmx file in My Documents -> Automation Anywhere -> Automation Anywhere -> My TasksCreate a new task
Insert ‘Open Program/File’ command to open command prompt
Insert Loop command
Insert OCR command to capture the text from command prompt.
Enter if command to check logged in successfully or not.
Enter exit loop command in if condition.
Save and Run the task.
When you run this task, all the commands necessary to login to server are entered. It waits for some time to login to server. It uses the OCR technology to check whether login was successful or not.
Resource Credits : Automation Anywhere Examples
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.