11-09-2010, 05:19 PM
Hi,
At first, import all the data from the excel sheet to the QTP data table. Create a Driver Script action where you will be calling all the actions related to specific task. In the Driver Script action write the following code:
It really doesn't matter how many tasks you have in the data table, it will go on calling the actions as many time as you want
Hope this will help you. Plese write if want further clarifications
At first, import all the data from the excel sheet to the QTP data table. Create a Driver Script action where you will be calling all the actions related to specific task. In the Driver Script action write the following code:
Code:
getTaskCount = DataTable.LocalSheet.GetRowCount
For counter=1 To getTaskCount
DataTable.SetCurrentRow(counter)
RunAction DataTable("Tasks",dtLocalSheet), oneIteration
Next
It really doesn't matter how many tasks you have in the data table, it will go on calling the actions as many time as you want
Hope this will help you. Plese write if want further clarifications