Automation SoftwareAutomation Anywhere
  Home > Product > Solutions > Application Integration > T100  

T100 - Using Application Integration to integrate Terminal Emulator program e.g. Putty

Task Description

Often businesses need to get data from application windows that have no way of getting data. For such cases, Automation Anywhere features App Integration.

This task checks if a user has logged in successfully to a FTP server using Putty. It captures data from Putty application window and checks for the string ‘logged in’ to ensure the user is logged in successfully.

Test File T100.atmn

Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks

Solutions
1 Connect to remote machine using Putty
  • Insert ‘Open Program/files’ command.
  • Type path of putty exe for e.g. ‘C:\puttytel.exe’.
  • Double click on Manage Windows Control command found under ‘Programs/Windows/Files’ command category, select Putty application window, capture ‘Host Name’ of the Textbox and ‘Set Text’ option specify the machine name for e.g. ‘Pc9’
  • Double click on Manage Windows Control command, select Putty application window, capture radio button of ‘Telnet’ and select ‘Select the Radio button’ option.
  • Double click on Manage Windows Control command, select Putty application window, capture ‘Open’ button and select ‘Click’ option.


Open Program/File
Screenshot 1

Manage Windows Controls
Screenshot 2

Manage Windows Controls
Screenshot 3

Manage Windows Controls
Screenshot 4

Insert Keystrokes
Screenshot 5

Select Loop
Screenshot 6

App Integration
Screenshot 7

Variable Manager
Screenshot 8

Task Editor
Screenshot 9
2 Login to FTP server using Putty

Insert necessary keystrokes commands to login to ftp server.
3 Use ‘App Integration’ command to capture the data in Putty window

Double click ‘App Integration’ command under ‘Integration Pack’ command category, select ‘Other’ from drop down of Application, select window of putty application, click on ‘View Captured Text’ window and select ‘Prompt-Assignment’ from the variable drop down.
4 Using ‘If’ command check if user is logged in successfully

  • Double click on ‘If’ command found under ‘Conditions/Loops’ command category, select ‘Variable’ option and click on ‘Edit’ button, insert ‘Prompt-Assignment’ using F2 key, select ‘Includes’ option from the drop down, select ‘Fix’ option and type ‘logged in’ in text box.
  • You can put this command inside ‘Loop times’ command to repeat the action in case the system takes time to login.
  • Insert ‘Exit loop’ command inside if command if ftp server is connected.
5 How to run the task

  • In case you do not have Automation Anywhere installed, please download and install it from, http://www.automationanywhere.com/download/freeTrial.htm
  • Save T100.atmn under location, My Documents\Automation Anywhere\Automation Anywhere\My Tasks
To run this task edit the commands and make necessary changes related to ftp server and putty exe path.

When we run this task it opens putty application; enter user name and password necessary to login to ftp server and capture the text and checks if it contains ‘logged in’ maximum five times until the ftp server is logged in successful.
Buy Now Free Trial

Next Steps
Compare versions Compare versions
Watch a flash demo Watch a flash demo
Contact me Contact me
Ask the Expert Ask the Expert
Request live demo Request live demo

Call 1-888-484-3535

Our Customers
Automation Anywhere Customers
Customer list | Case Studies

We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys.
- Jack Greenberg

Read Customer Testimonies >>
  Products     Download     Purchase     Services     Support     Customers     Company     Sitemap     Trademark FacebookTwitterAutomation Anywhere Blog © Automation Anywhere, Inc. 2012 Privacy Policy
Automation Anywhere Call: 1-888-484-3535 x1   

Automation Software - Free Trial Automation Software - Buy Now