06-15-2009, 06:42 PM
Niranjan,Thanks I could not use the Local Sheet as the data set was also used by other Actions. So I did the following which act as reference for anyone else facing the same kind of problem..:
The above set of code runs through the data set from Global and then moves to the next Action.
Code:
[b]Dim row_count[/b]
[b]row_count[/b] = DataTable.GetSheet("Global").GetRowCount
[b]For[/b] I = 1 to row_count
[b]SystemUtil.Run[/b] "C:\Program Files\Internet Explorer\iexplore.exe", "http://"
[b]DataTable.SetCurrentRow (I)[/b]
[b]Browser[/b]("Term Life").Page("Term Life_18").WebEdit("PayCCNumber").Set "1234567890124568"
[b]Next[/b]
[b]Browser[/b]("TD Insurance - Term Life").Page("TD Insurance - Term Life_12").Sync
The above set of code runs through the data set from Global and then moves to the next Action.