Make sure the script starts and stops at the same point in the application and put For... Next loop in the expert view with the entire script body come within the loop.
I am using QTP 8.2 and I am able to record and run a sample test.Is there an option to run the same test for x number of times? If so How can I run the same test that I have recored for 10 times in a row?
Thanks in advance
Do you have the data for 10 iterations in Datatable?
Also make sure that the proper option is selected in Test Settings -> Run tab