![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi , I used mouse clicks to record a simple task. I have recorded a Task which clicks on the “Menu bar items” File, Tools and so on in an application. I made a click on the “Tools” menu during recording and created an exe. Now when I run the exe in another system, the position of the application is different so it clicks on the wrong place and gives out an error saying it cannot find the window Title. How can i solve this issue. When I carried the same thing with Notepad application. It moves the notepad automatically to the desired position and works fine but other applications gives out an error as stated above. Thanks In Advance |
| |||
|
Hello, 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 to ensure all the activities are performed reliably. We recommend using more of keyboard short cuts instead of mouse clicks as they are more reliable than mouse moves/clicks irrespective of change in screen resolution or window size. Mouse clicks/moves are subject to work on a screen resolution they were recorded on. But keystrokes will work as expected no matter what ever screen resolution you set to. For e.g. to access Tools menu use keyboard shortcut Alt+t. If you have Automation Anywhere Premier version, you can also use Manage Windows Controls (MWC) directly. MWC allows you to directly access Windows UI objects like Text Box, Drop Down, List Box, menu items and 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. |
| |||
|
Thank you so much for your reply. I tried using "Manage Windows Controls" but it does not work properly. When I click capture button and drag it to the component it always finds the component as text Box and not Button or any other component. What else could be done to rectify the issue. Waiting for your reply. Thanks |
| |||
|
Hello, Can you please send us screenshot of window that has button you are trying to capture? Also, if you are using Mouse Click command to click on button, then try editing Mouse Click command to perform the action relative to window. Please follow the steps given below: 1) Double click on Mouse Click command. 2) Click on 'Advanced' button. 3) From 'Relative To' frame select option 'Window' and save the command. 4) Perform the above steps for every Mouse Click command in question. 5) Save the task and run it. Hope that helps. Last edited by forumsupport; 11-21-2008 at 08:35 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
| |