Playback Repeat limit?

Ranorex Spy, Recorder, and Studio.
itchy20
Posts: 5
Joined: Mon Nov 21, 2011 6:12 pm

Playback Repeat limit?

Post by itchy20 » Mon Nov 21, 2011 6:22 pm

Is there a limit to the number of repeats possible? I want a test to run in a loop for several days if possible. I put in a repeat figure of 9999999999999999999999 which was accepted, but it only ran the test once. If I reduce the figure to 255 then it works in a repeating loop but will only give me 12 hours of test rather than several days. So - is there a limit? and what is it? and is there any way around it? Can I specify to run the test in a loop for x amount of days or hours?

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Playback Repeat limit?

Post by Ciege » Mon Nov 21, 2011 6:26 pm

Are you doing this in code or in the IDE? Which IDE are you using?

You can code this up pretty easily to loop while hours or days is less than X.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Playback Repeat limit?

Post by Support Team » Mon Nov 21, 2011 6:47 pm

itchy20 wrote: I put in a repeat figure of 9999999999999999999999
Just use a number that fits into an integer, i.e. a number smaller than 2147483647, then it should work within the Ranorex Recorder as well.

Regards,
Alex
Ranorex Team
.
Image

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: Playback Repeat limit?

Post by sdaly » Mon Nov 21, 2011 6:55 pm

As Ceige says if you are doing it in code then it is easy, even easier if using NUnit, just decorate with the Repeat attribute ;) If using the Studio, could you possibly just write a batch file with a loop to start through command line?

itchy20
Posts: 5
Joined: Mon Nov 21, 2011 6:12 pm

Re: Playback Repeat limit?

Post by itchy20 » Tue Nov 22, 2011 10:23 am

Thanks guys, some good answers, for now I will stick to using a number smaller than 2147483647 in recorder, but for sure in the future, when I get a bit more time, the while less than x days or hours in code will be a winner.