View Single Post
  #2 (permalink)  
Old 05-01-2008, 11:52 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 456
Default

Hello,

What you can do is, using 'Extract Table' command, extract table having CLASS NAME and the REGISTER hyperlink into a CSV file. After 'Extract table command, insert 'Loop For Each row in an Internet Explorer Table' command and inside loop insert command to click on REGISTER hyperlink. Double click on command that clicks on REGISTER hyperlink and replace the link name in 'Name:' textbox with System Variable $Table Column(2)$ (use F2 to insert variable).
Whenever you extract table using Automation Anywhere Web Recorder->Export Table command, the rows and columns of the table are stored in the System Variable $Table Column$. Let's say you imported table that has 2 columns. You can access the two columns of the table by calling $Table Column(1)$ and $Table Column(2)$.
Then insert command to go back to main page that have list of Register hyperlink.

Text format of commands would appear as follows.

1) Extract table from 'http://www....' website's '3' table
2) Start Loop " Each row in an Internet Explorer Table"
3) If $Table Column(2)$ Not Equal To "" Then
4) Click on '$Table Column(2)$' link in the webpage 'Window title of webpage'
5) Go Back From details page.
6) End If
7) End Loop

For your reference, we have attached a sample task (BrowseOnlineSampleTasks.atmn). Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

This task will browse through all the online samples on Tethys website one by one. Table on webpage has two columns Task number and Task name. In each iteration task will click on respective task name link then will come back to page having list of tasks. In that way task will browse through all the sample tasks.

Hope that helps. If you could send us URL of website, we would be able to help you more with specific task.
Attached Files
File Type: atmn BrowseOnlineSampleTasks.atmn (9.3 KB, 0 views)
Reply With Quote