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 03-16-2010, 12:49 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 242
Default ?? how does wait for window change work??

I have some wait for window change commands that seem to wait for the entire time, even though I can see the window change.

Do I need to Re-capture the before image each time I edit the coordinates?

I was under the impression that the coordinates were compared at run time and if a change occured the wait would end.

could you clarify why my waits are waiting the full time?
Reply With Quote
  #2 (permalink)  
Old 03-18-2010, 04:13 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,311
Default

Hello,

Regarding Wait for screen change command, the task will wait for the amount of seconds you specified before it starts comparing the captured image to current image. After that, it continuously compares the image in marked rectangular section to captured image. As soon as the captured image and the current image differ, it stops comparing and goes to the next command. However, if the images do not differ in the specified amount of time then it either stops the task or goes to the next command as specified by you.

If you can upload your task, we can have a look into it and suggest viable solution.
Reply With Quote
  #3 (permalink)  
Old 03-18-2010, 11:37 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 242
Default

so,
it compares the "captured image" rather than the image after the initial wait?

that would imply that one can not/should not edit the x y coordinates manually, but rather re-capture.

somehow,
I was under the impression that whatever image was present after the initial wait,
would be compared with the window until the window changed.

in my situation,
the captured image NEVer matches the window, yet the command waits the entire time.

I will try to upload an atmn with the lines of interest.

thanks
Phil
Reply With Quote
  #4 (permalink)  
Old 03-19-2010, 12:37 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 242
Default upload of WAIT FOR WINDOW CHANGE - line 200

see line 200

it seems to wait the entire 60 seconds - even if there is a screen change.
Attached Files
File Type: atmn AAklearForUpload.atmn (75.5 KB, 4 views)
Reply With Quote
  #5 (permalink)  
Old 03-19-2010, 09:31 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,311
Default

Hello,

This is very strange as we tried to recreate the exact scenario at our end but it did not reproduce. Attached is the sample we tested with. Before you run the attached sample keep following webpage open. http://www.tethyssolutions.com/default.htm

We would like to see the actual scenario at your end so can you please provide your phone number and best time to reach at Automation Anywhere - Open A Support Case

Alternatively, you can reach us at 1-888-484-3535 x 3.

Hope that helps.
Attached Files
File Type: atmn WaitForWindowChange.atmn (11.0 KB, 1 views)
Reply With Quote
  #6 (permalink)  
Old 04-01-2010, 10:23 AM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 242
Default

Your sample works fine at my end as well.

I need to find out why mine doesn't.
Reply With Quote
  #7 (permalink)  
Old 04-01-2010, 04:45 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 242
Default

based on other problems that I've had using RELATIVE TO WINDOW, I switched to using RELATIVE TO SCREEN with the WINDOW MAXIMIZED and now the waits work.

thanks for all your help.
Phil
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 06:21 AM.


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