Using multiple recordings together : Automation Tools

Using multiple recordings together

Ranorex Spy, Recorder, and Studio.

Using multiple recordings together

Postby markwhite » Tue Jul 14, 2009 8:55 pm

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
markwhite
 
Posts: 7
Joined: Tue Jul 14, 2009 8:48 pm

Re: Using multiple recordings together

Postby Support Team » Wed Jul 15, 2009 7:44 am

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
Attachments
NewRecording.PNG
NewRecording.PNG (22.17 KiB) Viewed 492 times
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Using multiple recordings together

Postby markwhite » Wed Jul 15, 2009 1:51 pm

Thanks a lot! It works :)
markwhite
 
Posts: 7
Joined: Tue Jul 14, 2009 8:48 pm

Re: Using multiple recordings together

Postby Ann » Tue Jun 14, 2011 5:54 pm

How can it be done if my project is in Vb?
What code to be used in program.vb?Please reply.

Thanks,
Ann
Ann
 
Posts: 4
Joined: Fri Jun 10, 2011 5:15 pm

Re: Using multiple recordings together

Postby Support Team » Wed Jun 15, 2011 12:53 pm

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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests

cron