Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere Server & Enterprise
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Server & Enterprise Post messages and questions related to Automation Anywhere Server or Automation Anywhere Enterprise here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2011, 11:22 AM
mattBCF mattBCF is offline
Junior Member
 
Join Date: Jun 2011
Posts: 1
Default exe files not working properly

Hello,

This issue has us quite stumped, I'll try to explain as best I can. I've attached a part of the code for reference (lines 5-21 aren't present because they are commented out). Also, both PCs are running the same version of WinXP SP3 and IE.

A coworker created a task that reads in information from a spreadsheet and populates/alters attributes on a web form based on the spreadhseet values. She saved the task after verifying it worked on her machine and created an exe. This task runs fine on the machine that it was created on. The exe runs fine on the machine that it was created on.

Now, when the exe is distributed to other machines, it fails. When run it will successfully open the excel spreadsheet, but once it reaches line 28, the first window control, it does not find the link and exits with the message "Unable to find 'TextBox'". This has puzzled us as it is not even supposed to be searching for a textbox, but a link to click.

THIS is what has me completely lost. I've downloaded a trial version of AA on my machine and opened the AA script that my coworker created. Running the task from AA Trial version fails at line 28 just like before. BUT, if I recapture line 28 on my machine, save it, and run the task, it will fail at the next window control, which is at line 38. If I recapture 38, the task will execute until 39. If I recapture 39, the task executes until line 40 and so on until it reaches the next window control that hasn't been recaptured.

If I create an exe after recapturing the aforementioned lines, the exe will execute until it reaches the last window control not recaptured.

The script lines remain unchanged after recapturing, so there is really no way to tell what lines have been recaptured without actually running the script. We aren't using screen or window or anything that would depend on the resolution/placement so I don't understand why the task can't find the specified controls.

I'm really at a loss, any help is very much appreciated, thanks.
Attached Images
File Type: jpg aaCode.jpg (21.0 KB, 3 views)
Reply With Quote
  #2 (permalink)  
Old 06-24-2011, 03:42 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello mattBCF,

If you can please send us your contact details on support@automationanywhere.com we can give you a call and can schedule an online meeting. We will have to take a look at your end for understanding this issue in a better way so that we can guide you with proper solutions.

Thanks & Regards
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 01:59 AM.


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