Page 1 of 1

How to play a recording several times?

Posted: Thu Nov 12, 2009 3:22 pm
by Thor
Hello!
I'm evaluating different programs that can record and replay click sequences in order to create automated tests for my company. So far Ranorex is by far the best alternative I've found, but there's still one problem.

I would like to create some recordings where each recording tests a single task, then in the afternoon create a lists of recording for Ranorex or some other program to play through, not only once, but say 100 times or from 05 p.m. to 05 a.m., and the recordings can be played in the order I've chosen or randomly. I can't find this described in the help file. I've tried to look through the different alternatives on the drop down menus, but I haven't found what I'm looking for. Maybe I could have found the answer to this myself if I used more time, but I don't want to use too much time fiddling with a program if it turns out it doesn't do what I need it to do.

Re: How to play a recording several times?

Posted: Fri Nov 13, 2009 9:27 am
by Thor
Well, I found out how to make Ranorex Studio do the test several times; I just change the number in x Repeat from 1 to some other number, f. ex. 100, on the recording tab.

Two questions remains though:

- What happens if say replay no. 14 out of 100 fails because of some bug in the program that causes a non-repeatable error? What I want is that Ranorex or whatever test tool I'm using creates a log or report of the error(s) that have occured during the replay session. After the error is logged, Ranorex shuts down the application I'm testing, and then start the next replay, i.e. replay no. 15 in my example.

- Typically I will record a session that tests a single task in my application. I will record several such recordings, and then I would like to create a playlist of different recordings in Ranorex Studio and have Ranorex play through them either in conescutive order, or randomly, preferably randomly, because that is more similart to how a user might use the application.

Re: How to play a recording several times?

Posted: Fri Nov 13, 2009 1:10 pm
by Support Team
There are many ways you can achieve this what you would like to do. However you will need to write some code to do it. For example in the program.cs file of a c# Ranorex Studio project you could just wright a simple loop to run the recordings and create a log for each.
untitled.PNG
Regards,
Ron
Ranorex Team