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 05-01-2008, 02:11 PM
Boomerang Boomerang is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default Registration Loop

Folks:


Each week I have to register for a bunch of online classes. The registration page consists of 2 columns of data. The first column shows the NAME of the class. The other column has a "REGISTER" hyperlink for me to click if I choose to register for that particular class. Each row of the table has CLASS NAME and the REGISTER hyperlink. The table has about 10 rows.

It is easy to record the registration process for one class. But how do I tell the AA software to go to the next row and click on REGISTER ?

-------------- --------------
NAME REGISTRATION
-------------- --------------
Course # 1 REGISTER
Course # 2 REGISTER
Course # 3 REGISTER
Course # 4 REGISTER
.................................................. ...
Course # 9 REGISTER
Course # 10 REGISTER



Thanks in advance for any suggestions.
Boomerang.
Reply With Quote
  #2 (permalink)  
Old 05-01-2008, 11:52 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
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, 1 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 08:09 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