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 11-17-2008, 05:51 AM
ganesanvijay ganesanvijay is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default Doesn't work fine when the Window position is changed(Help Needed)

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
Reply With Quote
  #2 (permalink)  
Old 11-17-2008, 08:54 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

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.
Reply With Quote
  #3 (permalink)  
Old 11-21-2008, 03:02 AM
ganesanvijay ganesanvijay is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default

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
Reply With Quote
  #4 (permalink)  
Old 11-21-2008, 03:57 AM
ganesanvijay ganesanvijay is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Post

It always gives an Error message saying "Unable to Capture Selected Control"
Reply With Quote
  #5 (permalink)  
Old 11-21-2008, 09:03 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

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.
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 09:16 AM.


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