Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Workspace Macro Pro - Automation Edition
Register FAQ Search Today's Posts Mark Forums Read

Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2010, 01:25 PM
fcosenti fcosenti is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
Default Macro not completing

Hello,

I created a macro to reboot a wireless router in a remote unattended location.

The macro does the following:

1. Open Chrome web browser;
2. Type http://10.0.0.138 (internal web interface of router);
3. Click OK on the saved username and password dialog;
4. Select the appropriate menu item to restart, then press the restart button;
5. Close Chrome.

The macro has a repeat every 2 hours. It works for a while (usually 2-3 iterations), but then suddenly I find that the router has not been rebooted. The macro doesn't complete - when I opened the remote machine screen with VNC, I found the note on the screen saying that the macro is running, when it wasn't (chrome was closed already).

What causes a macro to do not terminate?
Reply With Quote
  #2 (permalink)  
Old 03-31-2010, 09:30 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Following are few points that should be considered while recording a macro for its errorless execution.

1) While recording we recommend using more of keyboard short cuts instead of mouse clicks as they are more reliable than mouse moves/clicks irrespective of change in screen resolution or window size. Mouse clicks/moves are subject to work on a screen resolution they were recorded on. However, keystrokes will work as expected no matter whatever screen resolution you set to. For e.g. Up/Down arrow key would work in a reliable way than using mouse to scroll in an excel sheet.

2) While recording after you perform an action, wait for few seconds so that command gets enough time to execute on replay. Insufficient delay can skip any command and hence can mess up the commands. After recording, you can also edit your macro through Tools->Macro Editor to insert Delay command (Available in Workspace Macro Pro 6.5).

3) Using Workspace Macro Pro you can edit mouse clicks to perform activities relative to windows. Please follow the steps given below:
. Double click on Mouse Click command.
. Click on 'Advanced' button.
. From 'Relative To' frame select option 'Window' and save the command.
. Perform the above steps for every Mouse Click command in question.
. Save the macro and run it.

If you can upload your macro (.wksp file) then we can look into it and suggest viable solution.

You can locate your macro by selecting your macro from Macro List, right clicking that particular macro and selecting 'Locate on disk' from context menu.

Hope that helps!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 09:21 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved