Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2007, 07:10 AM
bfountaine bfountaine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 13
Default Esc or Del key being pressed

Hello

I am using Automation Anywhere to test the software we write. I been working on a script for some time which calls other tasks. I'm finding that after one task has completed it seems to press either the delete or esc key. I'm not sure which I just know the software I'm testing responds as if one of those keys has been pressed (both do the same thing in the software). Is it possible that ending one task would send something like an esc sequence that would indicate the script completed? I'm a little stuck, so have added the scripts I've written, though without the database I'm connecting to they won't work on their own. The main script I'm running is called 'transactionsByDateRange' that then calls 'TransactionLinesLoop' it's immediately after the 'TransactionLinesLoop' script is called that the key press occurs. I've tried putting a pause in immediately after the script call but the key is still pressed.

Any susggestions would be greatly appreciated
Attached Files
File Type: atmn TransactionsByDateRange.atmn (4.7 KB, 5 views)
File Type: atmn TransactionLinesLoop.atmn (7.0 KB, 4 views)
File Type: atmn clickCashButton.atmn (498 Bytes, 1 views)
Reply With Quote
  #2 (permalink)  
Old 07-18-2007, 08:41 AM
bfountaine bfountaine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 13
Default

Further information for this issue, I've found if I disable all the logging that I've put in, the script works correctly. I've also had to disable a comment too.
Reply With Quote
  #3 (permalink)  
Old 07-19-2007, 12:41 AM
navneet.soni navneet.soni is offline
Junior Member
 
Join Date: Jan 2007
Posts: 12
Default Re: Esc or Del key being pressed

Hello,

I don't think the logging to a file is causing the Esc or Del key to be inserted. It could be on of the keystrokes in Transactionlinesloop.atmn. If you run the task in Debug mode you will be able to identify the exact location of the problem.
Reply With Quote
  #4 (permalink)  
Old 07-20-2007, 03:55 AM
bfountaine bfountaine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 13
Default

Thank you

How do I run a task in debug mode?
Reply With Quote
  #5 (permalink)  
Old 07-20-2007, 03:58 AM
bfountaine bfountaine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 13
Default

Don't worry, found it, thanks again.
Reply With Quote
  #6 (permalink)  
Old 07-24-2007, 03:32 AM
bfountaine bfountaine is offline
Junior Member
 
Join Date: Jul 2007
Posts: 13
Default Running in Debug Mode

When I run in debug mode, it just steps through my script within automation anywhere, doesn't actually click in the software that the script is for. So running in debug mode doesn't help me because AA doesn't show in any way what keys are being pressed. I think (by putting delays in) that I have narrowed it down to when it changes from one script to another. I have one main script that calls a secondary script, when the secondary script passes control back to the main script I get a flash of a window that says 'loading' the screen flickers and when it's finished the problem occurs (esc/del pressed) the main script then resumes, but can't continue because the program is no longer in the state it expects. I can't move the contents of the second script into the main script because both of them need to run sql loops and I can't nest loops. If anyone can help I'd appreciate it.
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

vB 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 05:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved