![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I'm trying to create a web automation and having to deal with the delays. I'm using a combination of Wait for Window and Delay but you never know exactly how fast a page is going to draw. I can just put in really long delays to ensure that a page is fully drawn but that will slow the task down substantially. I see that you can wait for a screen but that is dependent on screen coordinates which will change from monitor to monitor and the postion of the window. I'd like to use a "Wait for Image Recognition" which doesn't exist. I could also "loop on condition until image recognised", another function that doesn't exist. I could loop on condition and set that condition with image recognition but all you can do in that command is click the recognised image. So, what is the best way to recognise that a web page is fully drawn that doesn't depend on a static monitor/webpage scenario. tia |
| |||
|
Hello, What you can do is, save the image of the screen that will load into a .bmp file. Now, inside loop, wait for a screen 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 In Wait for Screen change command select 'Relative To Window' option. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |