Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. 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 05-28-2009, 07:59 AM
blakpawn blakpawn is offline
Junior Member
 
Join Date: Mar 2008
Location: UK
Posts: 7
Default Application form keeps moving

Hi,

I recorded a user launching my new application then running through a series of tests within a form which is not full screen.
My problem is that when the recording is played back the form sometimes opens up at a slightly different location on the screen, in the same way that explorer might if you open up multiple instances of it.
The application does not remember the last screen position it was running from, windows seems to choose it.
This obviously then results in the mouse coordinates being misplaced and the recording fails to playback.

Any suggestions on how to resolve this issue would be most appreciated.

Many Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-28-2009, 01:14 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

What happens is, the position where the window was, when it was closed last time, it opens again at the same position. But, when you run the task again, the window moves to the position where it was at the time when you created the task. This is because the task records size and position of windows the moment when you insert any keystroke or mouse action in that window. So, what you can do is keep the window in one size and position where you want to when you enter any keystroke/mouse actions in it so that when the task is run again, it will be in the same size and position as it was at the time it was created.

Also, you can edit mouse clicks to perform activities relative to window instead of screen. Please follow the steps given below:
. Double click on Mouse Click command.
. Click on 'Advanced' button.
. From 'Relative To' frame select option 'Window' and save the command.
. Perform the above steps for every Mouse Click command in question.

If you are working with web application (Internet Explorer) I suggest using the 'Web Recorder' tool for web tasks as Web Recorder is ideal for web recording. Web Recorder understands all web controls. If websites change and web controls move, Automation Anywhere will find the correct controls and the task will continue to work. You can use this tool to automate any web tasks like login to websites, search for items, submit forms, update records, automate ERP web front end, extract web data, testing an online application etc.

If you are working with Windows application then you can use 'Manage Windows Control' command, found under 'Programs/Files/Windows' category. Using this command you can work with windows controls like textbox, drop-down, Check Box, Tree View, Command Button, List Box, Radio Button and Status Bar. You can get the status and set the status of checkbox or radio button, you can click on a command button and much more. When you use MWC, not only your task is independent of screen coordinates and screen resolution, but it can also run in background.

Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 05-29-2009, 08:15 AM
blakpawn blakpawn is offline
Junior Member
 
Join Date: Mar 2008
Location: UK
Posts: 7
Default

Hi Thanks for your advice.

I could go through all the mouse clicks and adjust each task so that the coordinates are relative to the window although this would take me some time.

Can I not switch on "relative to the window" by default for future recordings ?

I also really like the notion of referencing the items by name rather than just coordinates as you suggested but I cant find the 'Manage Windows Control' option under Programs/Files/Windows, the only options there are Open Program/File, Files/Folders, Window Actions, Log to file & System.

Many thanks for your help, much appreciated.
Reply With Quote
  #4 (permalink)  
Old 05-29-2009, 12:07 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Manage Windows Control command is the exclusive feature of Enterprise edition.

You can download free version of Automation Anywhere 5.0 Enterprise edition from our website:
Automation Anywhere Enterprise - Automation Software for automating complex and simple tasks
Reply With Quote
  #5 (permalink)  
Old 10-01-2009, 02:41 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Quote:
Originally Posted by forumsupport View Post
Hello,
.... But, when you run the task again, the window moves to the position where it was at the time when you created the task.

.

I want the window to STAY WHERE THE USER HAS IT.

I don't want the window where I RECORDED IT.

Our users have 3 monitors.

It is very disconcerting to them to have the window "jump around" among the monitors.

I have ENTERPRISE edition of AA.

Is there no way to make the windows STAY PUT??

Thanks
Phil

My apologies -

I found (again) the magic trick of put a wild card (*) in the window name so that the keystrokes don't cause it to move.

Now,
If you could just stop the Window action recorder from SPAWNING NEW WINDOWS - I'd be all set!

Thanks!
Phil

Last edited by philkryder; 10-01-2009 at 02:54 PM.
Reply With Quote
  #6 (permalink)  
Old 10-02-2009, 01:18 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello Phil,

The server version of Automation Anywhere provides a tool called Object Recorder using which you can record actions with any windows or legacy applications. Object recorder is screen, GUI and machine independent.

You can view an online demo of Object Recorder usage at, Automation Anywhere - Learning Center

You can download the free version of Automation Anywhere Server from, Automation Anywhere Server - The Leading Automation Software

Hope that helps.
Reply With Quote
  #7 (permalink)  
Old 10-14-2009, 12:07 AM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Quote:
Originally Posted by forumsupport View Post
Hello Phil,

The server version of Automation Anywhere provides a tool called Object Recorder using which you can record actions with any windows or legacy applications. Object recorder is screen, GUI and machine independent.

You can view an online demo of Object Recorder usage at, Automation Anywhere - Learning Center

You can download the free version of Automation Anywhere Server from, Automation Anywhere Server - The Leading Automation Software

Hope that helps.
Are you saying that AA SERVER will STOP spawning separate windows?
Reply With Quote
  #8 (permalink)  
Old 10-14-2009, 09:02 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

The task recorder does not spawn separate window. It just resizes the window to the size it was while recording to ensure all the activities are performed reliably. The Object Recorder in server version directly accesses the windows objects hence making the task independent of window size and position. It makes task independent of screen resolution and screen coordinates so the task can run in background.

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

BB 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 04:57 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved