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 03-03-2008, 07:50 PM
jay78 jay78 is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default Web Recorded 'File Chooser' Window Issue

I have an issue where a web recorded series of actions function properly when I'm logged in but when I schedule the task, the recorded actions work up until a "Windows File Chooser" window pops up. When this Window pops up, Automation Anywhere just hangs...

Please refer to the attachments for a visual reference.

Step1.gif:
In this screen shot, notice the 'File Name:' field with a 'Browse' button. Automation anywhere does not recognize this control as a field. It records this field as a button which spawns the "Windows File Chooser" window.

Step2.gif:
This is a screen shot of the "File Chooser" window. When I'm logged in, the software will keystroke the path in perfectly. BUT if this task is scheduled, Automation Anywhere simply freezes at this point. No errors are reported.. nothing... just freezes until I stop it.

Code.gif:
This is a screen shot of the recorded code.

Again, this recorded task works when I manually run the task. BUT when I schedule the task, it run up until the "File Chooser" window appears.

I've had this problem in version 3.x and still have it in 4.x.

Thanks!
Attached Images
File Type: jpg step1.jpg (25.8 KB, 5 views)
File Type: jpg step2.jpg (21.9 KB, 2 views)
File Type: jpg code.jpg (39.7 KB, 4 views)
Reply With Quote
  #2 (permalink)  
Old 03-03-2008, 09:40 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

We looked into screenshots that you have sent. What we understand is, you are logged in to some website, selecting product, browsing for file by clicking 'Browse' button, uploading that file, clicking on link for re-indexing and finally logging out. Am I right?
What we suggest is, if 'File Name:' field is enabled for typing then you can directly write path and filename instead of clicking on 'Browse' button. In that way you can escape "Windows File Chooser" window.
If 'File Name:' field is disabled for typing then we suggest you to use Keystrokes to select particular file instead of mouse clicks as they are more reliable than mouse moves/clicks irrespective of change in screen resolution or window size. For e.g. instead of choosing the file, directly type in the filename along with path and to click on 'Open' button use keystrokes 'Alt+o'.

Hope that helps.

Last edited by forumsupport; 03-04-2008 at 09:14 AM.
Reply With Quote
  #3 (permalink)  
Old 03-04-2008, 07:28 AM
jay78 jay78 is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default

Quote:
What we understand is, you are login to some website, selecting product, browsing for file by clicking 'Browse' button, uploading that file, clicking on link for re-indexing and finally logging out. Am I right?
Yes, you are correct. However, the 'Browse' button is selected whether I click on the 'File Name' field or the button. For some reason Automation Anywhere doesn't recognize the 'File Name:' field as a 'Field' but rather as a button.

Quote:
If 'File Name:' field is disabled for typing...
The 'File Name:' field is enabled in the sense that I can physically click on the field and type a path in. The problem is Automation Anywhere doesn't recognize that field as a 'Field Control'.

Quote:
...then we suggest you to use Keystrokes to select particular file instead of mouse clicks as they are more reliable than mouse moves/clicks irrespective of change in screen resolution or window size. For e.g. instead of choosing the file, directly type in the filename along with path and to click on 'Open' button use keystrokes 'Alt+o'.
I've tried entering keystrokes into the 'File Chooser' window rather than clicking but for some reason, when that 'File Chooser' window appears, no other keystrokes steps are taken. It's like Automation Anywhere freezes. I've even tried refocusing the 'File chooser' window, use tabbing, or no matter what I can not get keystrokes to appear in the 'File Chooser' window when the task is scheduled.

Again, if I run this task while I'm logged in, it function perfectly. But, if I schedule it, it runs great all the way up until that 'File Chooser' window appears.

I'm assuming it's a window focus issue even though it is the on-top window when it stops. If there was a way to bypass the window.... I tried tabbing to the 'File Name:' field after 'Products' was selected but that ended up in a mess.

Any other ideas are welcome.

Thanks!
Reply With Quote
  #4 (permalink)  
Old 03-04-2008, 10:14 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Can you please email us your phone number at http://www.tethyssolutions.com/support_form.htm so that one of our Technical Support staffs can call you to help you resolve the problem.

Alternatively, you can reach us at 1-888-484-3535 x 3
Reply With Quote
  #5 (permalink)  
Old 03-04-2008, 05:32 PM
jay78 jay78 is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default

OK... I re-created the same control on an HTML page that you can test with. See the following link:

dialogtest.html

I've tested my task with the above URL and I achieve the same results.
#1. Open the above URL
#2. Click the 'File Name:' field (Will spawn 'File Chooser' window no matter what)
#3. Keystroke full path of file
#4. Close 'File Chooser' Window

When I'm logged in and run this task, it runs perfectly. When I schedule the same working task, it functions properly until the 'File Chooser' window appears then steps #3 and #4 never complete. It just freezes.

If we can get the task to fill the 'File Name:' field with a directory path when it is a scheduled task, I'll be well on my way.

Hopefully you guys can run some tests on the above URL. The code present on that HTML page is the exact code I'm dealing with in our secure area.

Thanks!

Last edited by jay78; 03-04-2008 at 05:39 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:02 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