![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| 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 |
| |||
| 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. |