01-03-2013, 10:24 AM
Hi ,
QTP by default runs as per the Global data sheet rowcount and for all the rows present in Global datatable.
So here in your case, Global sheet if having no data, ( by default Global datasheet having one row) so it runs only the first row for all local datasheets for all the acions.( Because for local sheet, default setting is run for one row only)
So if you want to run the script as expected and handle it on the basis of row numbers present in Local sheet then use Action call properties.
Here if you select Run for all rows then the specific action will run for all the rows present in that local data sheet and then again move to the next action. Even if you can control that only for 1-3 rows you want to run that specific action though it might have more rows in local sheet using Action call Properties.
Hope above information will help. Please let me know if you need more details.
Regards,
Nilanjan.
QTP by default runs as per the Global data sheet rowcount and for all the rows present in Global datatable.
So here in your case, Global sheet if having no data, ( by default Global datasheet having one row) so it runs only the first row for all local datasheets for all the acions.( Because for local sheet, default setting is run for one row only)
So if you want to run the script as expected and handle it on the basis of row numbers present in Local sheet then use Action call properties.
Here if you select Run for all rows then the specific action will run for all the rows present in that local data sheet and then again move to the next action. Even if you can control that only for 1-3 rows you want to run that specific action though it might have more rows in local sheet using Action call Properties.
Hope above information will help. Please let me know if you need more details.
Regards,
Nilanjan.