Playing rxrec files from C#

Class library usage, coding and language questions.
TCs
Posts: 2
Joined: Tue Jan 03, 2017 12:31 pm

Playing rxrec files from C#

Post by TCs » Tue Jan 03, 2017 1:38 pm

Hello

How can I play, using the API, a given "rxrec" file created by the recorder?

I noticed that if I use the studio, it generated cs files automatically, but that is not what I want. I get a path to "rxrec" file in rumtime and I want to start and play the recording.


Thanks for your help!

Vaughan.Douglas
Posts: 250
Joined: Tue Mar 24, 2015 5:05 pm
Location: Des Moines, Iowa, USA

Re: Playing rxrec files from C#

Post by Vaughan.Douglas » Wed Jan 04, 2017 7:18 pm

You need to build the solution and run the executable that is generated there. I don't think you can play an rxRec file outside of Rx Studio without the context of a test suite.
Doug Vaughan

TCs
Posts: 2
Joined: Tue Jan 03, 2017 12:31 pm

Re: Playing rxrec files from C#

Post by TCs » Thu Jan 05, 2017 12:44 pm

Okay, thanks!

Vaughan.Douglas
Posts: 250
Joined: Tue Mar 24, 2015 5:05 pm
Location: Des Moines, Iowa, USA

Re: Playing rxrec files from C#

Post by Vaughan.Douglas » Thu Jan 05, 2017 1:40 pm

Could I ask what it is in general you're trying to accomplish? We're pretty good at coming up with solutions.

Since Ranorex is based on the .net ecosystem, the .cs file is what gets executed by Ranorex. The rxrec file contains meta information that is used by Ranorex to keep track of everything.
Doug Vaughan