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 11-26-2009, 11:17 AM
TylerMitton TylerMitton is online now
Senior Member
 
Join Date: Nov 2009
Posts: 102
Default Extracting text from alt tag of an image.

I'm extracting data from the tables on this page:

http://ets.aeso.ca/ets_web/ip/Market...ntentType=html

I've attached a simplified version of my atmn file. This simplified version only extracts data from the COAL table... it returns the UNIT name as a message to user as it goes through the table.

I need to get the value of the ALT text on the IMG tag for each UNIT. You see there is the little black sideways triangle... it has some ALT text that I need to extract. For example, the text I need for the "Battle River #3" unit is "BR3", as seen when you hover over the little black triangle to the left of the unit name. I can't find a way to get at that text when using the extract table command. Can you provide some guidance?

Thanks!

Tyler
Attached Files
File Type: atmn ExtractCoal.atmn (1.9 KB, 2 views)
Reply With Quote
  #2 (permalink)  
Old 11-28-2009, 05:54 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

You can get the source code using 'Extract Source' web recorder command and extract the required data i.e. Alt text using String Manipulation.

We have attached a sample task for your reference. To run this sample, please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Hope that helps.
Attached Files
File Type: atmn WDESampleForTerry.atmn (26.3 KB, 15 views)
Reply With Quote
  #3 (permalink)  
Old 11-30-2009, 01:26 PM
TylerMitton TylerMitton is online now
Senior Member
 
Join Date: Nov 2009
Posts: 102
Default

Ok, thanks again! It looks like the only way to do it is to go through the source... was hoping not have to do that.
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 06:50 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