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 10-12-2007, 05:16 PM
terrymartin terrymartin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default wait for window to change

I have setup a wait for window to change and I have captured a screen in an application to look for "query has finished" see attached capture(waiting for window to change).

The problem is it doesnt wait it just passes over it.

How do I fix that?

Can I just put in somewhere to look for "Query finsihed"

Terry Martin
Attached Images
File Type: jpg waiting for window to change.jpg (24.1 KB, 11 views)
Reply With Quote
  #2 (permalink)  
Old 10-13-2007, 11:57 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 522
Default

Hello Terry,

Using 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 your screen is taking time to change then you can increase the time before you stop comparing the images.

Wait for screen change simply moves to next command as soon as the screen changes. It does not look for a specific image in a screen.

Our latest release of Automation Anywhere includes 'If Image Recognition' command, using which you can find, if an image exists within another image either from a file or capture the rectangular area on any window. Specify the minimum percentage match that you want for the If command to be true.

What you can do is, save image of the screen with 'Query finished' and then use this command in loop. Inside loop, wait for a seen change, find the image using 'If Image Recognition' and if image is recognized then exit from loop.

The text format of your commands will look something like this:

1) Start Loop "5000" Times
2) Wait for Screen change (Wait up to 5 seconds - for Screen to change)
3) If Image from "- Microsoft Internet Explorer" Exists in "C:\Sample.jpg" with 100 percentage match Then
4) Exit Loop
5) End If
6) End Loop

Image Recognition command is available only in Enterprise license of Automation Anywhere.

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

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 06:54 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