Can I make it try x runs of which y must pass?

Ask general questions here.
stapes
Posts: 206
Joined: Wed Sep 16, 2015 10:55 am

Can I make it try x runs of which y must pass?

Post by stapes » Wed Oct 21, 2015 4:41 pm

When it comes to integrating this with Jenkins, it will be helpful to perform the Test Runs more than once, mainly because they are not very robust & often fail for silly reasons.

For this reason, I would like to be able to say, perform x test runs of which y must pass.

Is this something I can do with Ranorex?

tvu
Posts: 195
Joined: Tue Apr 07, 2015 10:47 pm

Re: Can I make it try x runs of which y must pass?

Post by tvu » Wed Oct 21, 2015 5:59 pm

Are you asking to run the entire Test Suite X amount of times or are you asking to run a Test Case X amount of times during one Test Suite?

You can use Jenkins' Multi Job or Multi-Configuration job to repeatedly run the Test Suite. Each iteration would just call the exe and then Jenkins would have the record of all the pass / fail runs.

You can drive a Test Case with a data connector if you want to run a Test Case X amount of time. If your data connector is a CSV then each link would have the exact info. Then the test case would pass if each iteration passes.

Hope that helps.