Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 10-03-2008, 05:58 PM
rlauretta rlauretta is offline
Junior Member
 
Join Date: Oct 2008
Posts: 5
Default Alert/Alarm Firt time posting

I know AA 5.0 can do this but rather than spending the hours it will take learning how I was hoping someone out there knows how to do it quickly and efficiently. I have a web page that I refresh and the message is the same until I get an order. How can I have AA loop (refresh web page and (extract?)) until it sees something different and then stops and plays a sound or music file. Any help would be appreciated.
Reply With Quote
  #2 (permalink)  
Old 10-03-2008, 11:28 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

There are two ways to perform this task.

First is, copy the entire contents of a webpage using keystrokes Ctrl+a followed by Ctrl+c and loop until $Clipboard$ includes that message when you have not received an order. Inside loop, refresh the webpage using keystroke F5 and copy the contents of webpage again. As soon as you will receive an order the webpage will not contain that static message and hence, the task will come out of the loop. After 'End Loop' command you can insert Extract Data or Extract Table commands to extract data as per your requirement.
Text format of commands would appear something like this,

1 Open "http://www.XYZ.com"
2 Keystrokes: [CTRL DOWN]a[CTRL UP] in "*Windows Internet Explorer"
3 Keystrokes: [CTRL DOWN]c[CTRL UP] in "*Windows Internet Explorer"
4 Loop While $Clipboard$ Includes "Static Message"
5 Keystrokes: [F5] in "*Windows Internet Explorer"
6 Keystrokes: [CTRL DOWN]a[CTRL UP] in "*Windows Internet Explorer"
7 Keystrokes: [CTRL DOWN]c[CTRL UP] in "*Windows Internet Explorer"
8 End Loop
9 Comment: Extract Data or Extract Table command as per your requirement.

Second is, you can make use of 'Loop While Web Control does not Exists' command to loop until the webpage does not contain a web control that exists only when you receive an order. Inside loop you just have to refresh the webpage using F5 keystroke. Text format of commands would appear something like this,

1 Open "http://www.XYZ.com"
2 Loop While Web Control Does Not Exist(Link on: XYZ Consulting) in the webpage Then
3 Keystrokes: [F5] in "*Windows Internet Explorer"
4 End Loop
5 Comment: Extract Data or Extract Table command as per your requirement.

Hope that helps. If you could reply to following questions, we would be able to help you more with specific task.

• What website you want to extract the data?
• What are the steps we need to follow to go to the page where the data is?
• What pieces of data you want to extract?
• Where do you want the data to be extracted?
Reply With Quote
  #3 (permalink)  
Old 10-05-2008, 03:47 PM
rlauretta rlauretta is offline
Junior Member
 
Join Date: Oct 2008
Posts: 5
Default

1) I have attached a photo of the web site. This is an appraisal management company that post new advertised orders on this web site. If there are no new orders this screen shows up. If an order comes up the screen changes. It's that change I am trying to catch and have AA alert me.

2)The web site has a secure log, which I log into first thing in the morning. I am just trying to avoid having watching this web site all day.

3)I am not trying to extract data at this time. I just want to know when the screen text is different. Because that is a new order. I want AA to alert me "play a song or Beep" when this condition exist so I can go to my computer and review the order and decide if I want it or not.

4)Nowhere

Thank you for your help.
Attached Images
File Type: jpg web page copy.jpg (58.7 KB, 5 views)
Reply With Quote
  #4 (permalink)  
Old 10-07-2008, 11:31 AM
rlauretta rlauretta is offline
Junior Member
 
Join Date: Oct 2008
Posts: 5
Default Order screen

I captured an order for an example of change in the web site. It's this change that I am trying to capture using AA and have the my computer alert me.

I tried both your suggestions but the program only opens the web site once.

Again Thank you for your help.
Attached Images
File Type: jpg web order.jpg (56.8 KB, 4 views)
Reply With Quote
  #5 (permalink)  
Old 10-08-2008, 10:44 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

Looking at the screenshots, we suggest you to try using the first way we suggested in our last post. To play a song or music file, you can use 'Open Program/File' command. Text format of commands would appear something like this,

1 Open "http://www.XYZ.com"
2 Keystrokes: [CTRL DOWN]a[CTRL UP] in "*Windows Internet Explorer"
3 Keystrokes: [CTRL DOWN]c[CTRL UP] in "*Windows Internet Explorer"
4 Loop While $Clipboard$ Includes "There are currently no orders in the queue for the selected client"
5 Keystrokes: [F5] in "*Windows Internet Explorer"
6 Keystrokes: [CTRL DOWN]a[CTRL UP] in "*Windows Internet Explorer"
7 Keystrokes: [CTRL DOWN]c[CTRL UP] in "*Windows Internet Explorer"
8 End Loop
9 Open "C:\..\My Music\music.wma "

You can set this task to 'repeat until I stop it' or 'repeat for certain duration’ as per your requirement. You can find Repeat options under Properties window at the bottom.

Hope that helps.
Reply With Quote
  #6 (permalink)  
Old 10-19-2008, 12:51 PM
rlauretta rlauretta is offline
Junior Member
 
Join Date: Oct 2008
Posts: 5
Default Getting closer

The recommendation got me close but the select all copies everything and it does not work well in the clipboard. This seems to work but the loop only picks up at the refresh and does not repeat at the beginning so when a new order shows up it just refresh past it. It seems that it only copies the "There are currently no orders in this queue for the selected client" at the beginning of the cycle.


Open"https:/lcc.landsafe.com/default.aspx?pageld=AutoAdvertise"
Mouse Click: Left Button (818.392)in "Landsafe Advertised Orders-Windows Internet Explorer"
Keystrokes:[CTRL DOWN]c[CTRL UP] in "Landsafe Advertised Orders-Windows Internet Explorer"
Loop While$Clipboard$Includes "There are currently no orders in this queue for the selected client"
Keystokes:[F5] in "Landsafe Advertised Orders-Windows Internet Explorer"
End Loop
Play Media File:


Thanks again for your help
Reply With Quote
  #7 (permalink)  
Old 10-19-2008, 12:55 PM
rlauretta rlauretta is offline
Junior Member
 
Join Date: Oct 2008
Posts: 5
Default Add on

I forgot that I also tried including this after the [F5] step
Mouse Click: Left Button (818.392)in "Landsafe Advertised Orders-Windows Internet Explorer"
Keystrokes:[CTRL DOWN]c[CTRL UP] in "Landsafe Advertised Orders-Windows Internet Explorer"

same result
Reply With Quote
  #8 (permalink)  
Old 10-19-2008, 11:03 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

We suggest inserting Delay of minimum 200 ms after every command so that so that command gets enough time to execute on replay. . You can find Delay command under 'Pause/Delays/Wait' command category. Just double click on it, specify the delay time and save the command. Text format of command would appear as follows,
Delay: (200 ms)

In addition, we recommend using 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.

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

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved