Running test with datatable multiple times - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Running test with datatable multiple times (/Thread-Running-test-with-datatable-multiple-times) |
Running test with datatable multiple times - QTPuser430 - 10-18-2011 I have a test that has a Datatable (30 iterations), i want to run the test for a certain amount of time...lets say 1 hour. I would like it rerun the whole test if it finishes the 30 iterations before the time is up. ie. if before the hour is up, it already ran all 30 iterations, i want it to restart again. If this is too complicated, then is it possible to specify the number of times i want to run the test within QTP or possibly QC?? ie. I want the test to run 3 times. Basically since there aer 30 iterations in the test, it'll run 90 times. does anyone have any suggestions?? RE: Running test with datatable multiple times - Ankesh - 10-18-2011 Hi, U can specify the number of time/rows u want the script to run. As u have 30 iteration and u want the test to run 3 times. Navigate to Edit -> Actions -> Action Call Properties. Select the run from row radio button and specify the start and end row. Similar kind of setting u can do for global data table iteration as well.. File -> Settings -> Run ->Select the run from row radio button and specify the start and end row. Do let me know if u have any query. Regards, Ankesh |