![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Every once in a while, certain tasks that I run will automatically resize windows or message boxes. This is not good for an application that uses coordinates for clicking on an object as everything is shifting over and the script is failing. Has anybody ever had this issue before? I am testing a .NET application that uses modal windows if that has anything to do with it. The line in my task where this is happening is just a regular mouse move and mouse click so nothing weird in the task itself, but everytime I run it, the screen shrinks by more than half. Sometimes when a message box appears that is a bit long, it shrinks it and cuts off most of the text. |
| |||
| I have another task that for some reason, when the modal screen is opened, it is moved to my far left monitor (We have 3 monitors). All my scripts are recorded from (and for) my center monitor, but for some reason the application is moving the screen to the left one. On a side note - I also noticed that if I have AA open on the left monitor, when I click on a folder within AA, it doesn't refresh (Its as if it can't handle the negative coordinates so it just does nothing). Last edited by marcgallant : 11-16-2007 at 07:53 AM. |
| |||
| Hello Marc, About your earlier post, it may be possible that when you recorded the task, the size of the window was half size (what you are seeing right now) and that is why every time when you run the task, it tries to resize the window to the same size and location. Was that case? Is it possible to re-record the task and try. Or, if the task is too long then you can record only the portion of the task that concerns this window and then copy paste other actions from the previous task. |
| |||
| Yes the screen did resize, and I had a suspicion that this was the reason as so far, both screens that I have reported have had changes to them. It doesn't really explain why one of them would completely change monitors, but it is a possibility. It is a long enough task but I will have to re-record it. It seems to make the screen the size it used to be. It doesn't sound like this is something that should be happening though, so hopefully you can look into it and find a solution. What I usually do instead of re-recording the whole thing is that i just re-record the coordinates for the fields that have changed, so it saves me alot of time, but in this case it won't work. |
| |||
| Hello, What happens is, when the task is being recorded Automation Anywhere captures the window size and position. When the task is replayed, it will reposition and resize the window to the size and position that it was when the task was recorded. What you can do is, in addition to recapturing the mouse coordinates, also re-record the action that concerns this window and then copy paste other actions from the previous task. Alternatively, if you have already re-recorded the mouse coordinates then use ‘Group by Windows’ filter and edit the window title of other actions (concerning this window). You can find ‘Group by Windows’ tab under ‘Task Actions List’ text. Hope that helps! |