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 11-14-2007, 06:47 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default AA resizing my application windows

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.
Reply With Quote
  #2 (permalink)  
Old 11-14-2007, 10:54 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default Moving window now

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.
Reply With Quote
  #3 (permalink)  
Old 11-17-2007, 11:31 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

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.
Reply With Quote
  #4 (permalink)  
Old 11-19-2007, 08:08 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default Possible

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.
Reply With Quote
  #5 (permalink)  
Old 11-19-2007, 10:30 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

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!
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 11:52 PM.


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