Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running test with datatable multiple times
#1
Solved: 10 Years, 9 Months ago Exclamation 
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??
Reply
#2
Solved: 10 Years, 9 Months ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Blank pages occurring when running Google Chrome test in ALM 11 DDODGE 0 2,730 05-12-2014, 07:39 PM
Last Post: DDODGE
  Running Quick Test With QC with a Parameter bolls 0 2,517 12-13-2011, 11:24 PM
Last Post: bolls
  Get the Parent Folder name in Test Plan for a Test from Test Lab using QTP godsown 0 5,939 09-29-2011, 04:55 PM
Last Post: godsown
  When are common times to use checkpoints? futureQTPpro 0 1,909 05-26-2011, 02:10 AM
Last Post: futureQTPpro
  After running about 70-80 transactions QTP and the browser hangs and stops running. pram 11 9,755 08-28-2009, 06:21 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)