Page 1 of 1

How to repeat sub test case?

Posted: Fri Jun 13, 2014 4:19 am
by DanniEE
As attached screenshot, I include several test cases inside a big test case"Create Model". I want to repeat running this big test case"Create Model", is there any convenient way to do it other than copy the test case many times inside the test suite?
Thanks.

Re: How to repeat sub test case?

Posted: Fri Jun 13, 2014 8:39 pm
by krstcs
Sure is!!

The best and easiest way is to add a new data connector to the test case you want to repeat. Make it a Simple Data Connector.

Add a column to it (call it whatever you like).

Then, add how ever many rows you want. You can leave them blank, put a 1 in each or put the row number in them (or anything else), but blank is the easiest.

The test case will run once for each row in the data source.

Re: How to repeat sub test case?

Posted: Tue Jun 17, 2014 7:47 am
by DanniEE
Thanks. It works now.