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 02-06-2010, 02:10 PM
moorebrothersmusic moorebrothersmusic is offline
Junior Member
 
Join Date: Jan 2010
Posts: 12
Default IF Text found on web page

I'm using AA to check inventory levels of products we sell on our website and have drop-shipped from our supplier. We have to log in to the supplier's B2B website to see the stock level of each item. Occasionally, products that are discontinued drop from the B2B site.

I'm trying to write an IF statement: IF the Text: "Product not found" Exists ON webpage, THEN.....

The tool to write IF statements force me to open the page before capturing the Web Control. I cannot open the page directly since I need to login to the site first. Logging in on another browser instance doesn't work either.

Is there a way I can directly edit the IF statement to look for the text "Product not found"?
Reply With Quote
  #2 (permalink)  
Old 02-06-2010, 04:06 PM
moorebrothersmusic moorebrothersmusic is offline
Junior Member
 
Join Date: Jan 2010
Posts: 12
Default Nevermind

I figured out I can launch through the front door of the site, navigate to the proper page THEN hit the capture button. I also decided to look for the product id which is a variable in my task instead of the "Product not found" message on the page.

Result: It finally worked!
Reply With Quote
  #3 (permalink)  
Old 02-06-2010, 06:19 PM
trentonponder trentonponder is offline
Member
 
Join Date: Jan 2009
Posts: 59
Default

Another way would be once you get to the proper screen:
Keystrokes ctrl-A, ctrl-C
If Clipboard includes 'product not found'
blah blah
End If
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 02:10 PM.


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