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 12-15-2008, 03:28 PM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default How to detect Logon Prompt

How can I detect a logon prompt when presented with this screen?

Thanks,
Tom
Attached Images
File Type: jpg logged.jpg (40.7 KB, 7 views)
Reply With Quote
  #2 (permalink)  
Old 12-15-2008, 08:58 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

If you wish to insert keystroke in attached login screen then you can use 'Insert Keystrokes' command. For e.g. to insert Login name, double click on 'Insert Keystrokes' command, select window title of attached login screen and insert the login name in Keystrokes window.

Hope that helps. If not then can you please tell us more about your requirement? In that way we would be able to understand the problem better and can help you accordingly.
Reply With Quote
  #3 (permalink)  
Old 12-16-2008, 05:59 AM
tburk tburk is offline
Junior Member
 
Join Date: Oct 2008
Posts: 26
Default

This task opens a HyperTerminal connection, then needs to wait for the logon prompt before sending username and password. See the Loop While construct below. The problem is that the task must somehow detect the logon prompt.


Quote:
9 Open "C:\Documents and Settings\PAQ9518\Desktop\BCLA.ht "
10 Click On Command Button : "OK" in Window : "Connect To"
11 Delay: (4000 ms)
12 Click On Command Button : "Dial" in Window : "Connect"
13 App Integration: Capture text from screen "BCLA - HyperTerminal" after ":" and assign to $strBBSScreenText$
14 Log to File: $strBBSScreenText$ in "$strLogFile$"
15 Loop While $strBBSScreenText$ Not Equal To "Enter logon id"
16 Comment: Please enter your commands to loop.
17 App Integration: Capture text from screen "BCLA - HyperTerminal" after ":" and assign to $strBBSScreenText$
18 Log to File: $strBBSScreenText$ in "$strLogFile$"
19 Delay: (4000 ms)
20 End Loop
Reply With Quote
  #4 (permalink)  
Old 12-16-2008, 08:01 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can make use of 'Wait for window to open command' to wait for particular window to open before performing subsequent actions. You can find this command under 'Delay/Wait' commands category. Please follow the below steps to use 'Wait for Window' command.

1) Open the Task Editor from Tools - Task Editor.
2) Double click on the 'Delay/Wait' command.
3) Select 'Wait For' option.
4) Select 'Wait For Window To Open' option and specify the window title.
5) Specify how long would you like Automation Anywhere to wait for the condition to be true i.e. for particular window to open.
You can specify if you want to continue with the task or stop the task in case that particular window did not open in your specified time.

Put a Wait for Window command with sufficient time to wait. For e.g. if the window eventually loads in one minute then put a time of 100 seconds or so. That way it will keep waiting for the window to come up before going to the next action. If the window comes up in 10 seconds then it will move forward as soon as it comes up. It works as an intelligent delay command.

Also, you can insert 'If Window Exists' Statement and inside If-Endif block insert commands to enter username and password. You can find 'If Window Exists' command under ‘Conditions/Loops’ command category.

Hope that helps.
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:34 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