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 07-30-2009, 09:03 AM
sarad sarad is offline
Junior Member
 
Join Date: Jul 2009
Posts: 1
Default Problem iterating through links in a table

I'm trying to create a script that will run through a list of search results, click on the "View Details" link for each result, and then grab the data from the details page. I've got the second part working fine - once it gets to the details page, it grabs the data with no problems. Unfortunately, the script keeps clicking on only the first "View Details" link, so I end up with the same record multiple times. I haven't been able to get it to move past that first link and click on the link in the next row. The counter is updating correctly, and I can read the data from the table for each row (see the disabled lines of code in the attached script), but regardless of the counter's value, only the 1st link is clicked.

This is my first time using AA, so I spent some time reading this forum to find a solution. There were many helpful suggestions, but I haven't found anything yet that has worked for this situation. One common suggestion for this problem seems to be to adjust the Web Recorder advanced settings (Name, URL, Index). I've played around with these, but haven't found a combination that seems to work.

Thanks!
Attached Files
File Type: atmn Dakota_short.atmn (9.8 KB, 3 views)
Reply With Quote
  #2 (permalink)  
Old 08-03-2009, 11:59 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Use the latest Automation Anywhere 5.5 that provides enhanced web recorder to handle the complex senarios like the one you mentioned. Now, you can specify the index number of control you want to capture. In your case, you can capture the control by index, use variable for index number and increment that variable by one so that in next iteration the next 'View Details' link would be clicked.

We have amended the task for your convenience. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Note: You need Automation Anywhere 5.5 to run this task. You can download free version of Automation Anywhere 5.5 from our website:
Automation Anywhere - The Leading Automation Software

Hope that helps.
Attached Files
File Type: atmn Dakota_short.atmn (11.4 KB, 9 views)
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 03: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