Calling Recording from a Recording

Ask general questions here.
LPG
Posts: 39
Joined: Mon Jul 25, 2011 6:12 pm

Calling Recording from a Recording

Post by LPG » Thu Apr 12, 2012 9:13 pm

Hi,

Is there a way to call a Recording from a Recording?

Right now drag recordings to the Test Suite, and some of them are used numerous times. So instead of doing this, could I rather have a line in the Recording file (or code) to grab another Recording?

Thanks

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

Re: Calling Recording from a Recording

Post by Support Team » Fri Apr 13, 2012 10:35 am

Hi,
LPG wrote:Is there a way to call a Recording from a Recording?
Just call the recording inside a user code action.
public void CallRecording()
{
   Recording2.Start();
}
But you won't see this recording as a different module in the report, the logs are placed under the module where you call the recording from.

Regards,
Peter
Ranorex Team
.
Image