Playback Repeat limit?
Playback Repeat limit?
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?
Re: Playback Repeat limit?
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.
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...
Ciege...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Playback Repeat limit?
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.itchy20 wrote: I put in a repeat figure of 9999999999999999999999
Regards,
Alex
Ranorex Team
Re: Playback Repeat limit?
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?
Re: Playback Repeat limit?
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.