Page 1 of 1

Using multiple recordings together

Posted: Tue Jul 14, 2009 7:55 pm
by markwhite
Hello,

I finally find solution for long time problem -- Ranorex!

But, there is a catch. I have very long task I want to automate, so I can't automate it in one recording session. Instead I need to record it in few scenes. Just like as movie set: composed from scenes, not shoot in one way.

So how to to use multiple recording from Ranorex Recorder together, as one movie? What is the easiest way?

p.s. I don't have programming experience, but I know how to copy/paste code.


Kind Regards,
Mark

Re: Using multiple recordings together

Posted: Wed Jul 15, 2009 6:44 am
by Support Team
Hello Mark,

it's very easy to manage multiple recordings. You have just to click 'Add New Recording' and then record your actions for this recording (see picture). After recording all your records, open the file 'Program.cs' from your project and run your recordings in rotation as you will, like this:
try
{
    //TODO: Code here - for example: 
    Recording1.Start();
    Recording2.Start();
    Recording3.Start();
    Recording4.Start();            
}
Regards,
Mhosen
Ranorex Support Team

Re: Using multiple recordings together

Posted: Wed Jul 15, 2009 12:51 pm
by markwhite
Thanks a lot! It works :)

Re: Using multiple recordings together

Posted: Tue Jun 14, 2011 4:54 pm
by Ann
How can it be done if my project is in Vb?
What code to be used in program.vb?Please reply.

Thanks,
Ann

Re: Using multiple recordings together

Posted: Wed Jun 15, 2011 11:53 am
by Support Team
Hi,
Ann wrote:How can it be done if my project is in Vb?
If you use 2.x then you can use the same code, but remove the semicolons and it is ready for VB .Net. If you use 3.x, I would suggest you to use the test suite view to replay your recordings. We developed the test suite for this and it is easier manage your modules.

Regards,
Peter
Ranorex Team