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 04-04-2008, 09:12 AM
Jim Brooks Jim Brooks is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default AA in J2SE issue

Hello all,

Being a new user of AA we need a bit of help. We are trying to get a script to deploy as a .EXE so IT in other countries as well as here can test the timeing of an Oracle application that runs via J2SE. We tried creating a web record version that ran fine until Java opened. A second script was recorded for mouse movements and clicks. We log time stamps on certain steps.

We are using a “wait for window” command and a small delay before the mouse movement and click. The issue is, on older systems, they are just slow enough to throw off the timing in our script and it eventually fails. We have tried “If/Else” statements using image recognition of the whole page, then where we need to click. The script may wait, but the mouse click never happens and the script fails.

Any suggestions would be greatly appreciated

Jim
Reply With Quote
  #2 (permalink)  
Old 04-04-2008, 12:12 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Could you please try to recapture the image and see if it works? Perhaps due to change in screen resolution, image is not being recognized.

Note: The size of Image1 (Source Image) should be larger than Image2.

Also, you need to insert enough delay after every action so that each command gets sufficient time to execute.

For your reference, we have attached sample task (IfImageRecognition.atmn). Copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
This task will search for captured image on default page of Tethys website and as soon as it finds the image, it clicks on that particular image.
Before running this task, please keep default page of Tethys website open (http://www.tethyssolutions.com/default.htm).

Hope that helps.
Attached Files
File Type: atmn IfImageRecognition.atmn (47.7 KB, 7 views)
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 07:55 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