Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Sample Tasks -> T25 - Automatically Connect to Internet if connection is lost

Task Description: Check Internet connectivity. If Internet is not connected, dial a connection.

Solution
1.Create a new task Using If command with Ping unsuccessful option, check if internet is connected or not.

If Ping unsuccessful ("www.google.com") Then


End If

2.Dial a connection If Ping unsuccessful command returns true, dial a connection. Insert dial connection command between If - Endif. You can also set properties like No of attempts & Time between attempts of dial up connection.

Internet Connection : Connect "Dial-up Connection"

Screenshot 1

3.Use Loop command to keep on trying to connect to Internet You can use Loop command & keep on trying to connect to Internet until it is connected.

Loop While Ping unsuccessful ("www.google.com")
       Internet Connection : Connect "Dial-up Connection"
End Loop

Screenshot 2

 
When you run this task, it checks if Internet is connected. It not, then it connects to the Internet using dial up connection.

This tutorial demonstrates use of 'Loop' + 'Condition' commands. Use this when you want to perform iterative task based on some condition.

Screenshot 1:

Screenshot 2:

 

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
   Integration Pack
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 CUSTOMERS

 Customer List
 Case Studies
 Testimonies

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Developers
 

 GENERAL

 Partners
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks