Function Calls in Recorder1.cs

Ranorex Spy, Recorder, and Studio.
costamesakid
Posts: 94
Joined: Tue Jun 16, 2009 10:27 pm

Function Calls in Recorder1.cs

Post by costamesakid » Tue Jun 16, 2009 10:52 pm

I am currently using Ranorex 2.1 Trial Version

According to the User Guide I can extend Ranorex's functionality by placing my functions in the UserCode.cs file and placing my function calls in the .cs file.

I have done so and seems every so often the .cs file is overwritten and all my function calls disappear?

Its worth noting that after I modify any file I am saving it using 'CTRL + S'.

Any help in resolving this problem is appreciated. Thanks

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

Re: Function Calls in Recorder1.cs

Post by Support Team » Wed Jun 17, 2009 8:05 am

Hello costamesakid,
you have to create a UserCode Item in the Recorder View first. So you don`t need editing the .cs file manually. After creating your User Code Item, set a name and go to the Usercode.cs file to implement your code.

Regards,
Christian
Ranorex Support Team
.
Image