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