I wonder why dont you try it out yourself, It will be really helpful for you if you try it out on your own first.
answers to your question -
In the first scenario does it print all the 10 records data or not w.r.t two conditions (Run on all rows and single iteration)
Run on All Rows - will print all the 10 records
Run one iteration - will print the first record.
In the second scenario does it print all the 15 records data or not w.r.t two conditions (Run on all rows and single iteration)
Run on All Rows - will not print all the 15 records, it will print only 10 records
Run one iteration - will print the first record.
if you select Run on all rows, QTP will run for all rows for the global sheet and one row for local sheet.
if you select Run One iteration, QTP will run for single row for the global sheet and same for local sheet.
answers to your question -
In the first scenario does it print all the 10 records data or not w.r.t two conditions (Run on all rows and single iteration)
Run on All Rows - will print all the 10 records
Run one iteration - will print the first record.
In the second scenario does it print all the 15 records data or not w.r.t two conditions (Run on all rows and single iteration)
Run on All Rows - will not print all the 15 records, it will print only 10 records
Run one iteration - will print the first record.
if you select Run on all rows, QTP will run for all rows for the global sheet and one row for local sheet.
if you select Run One iteration, QTP will run for single row for the global sheet and same for local sheet.

