Page 1 of 1

Function Calls in Recorder1.cs

Posted: Tue Jun 16, 2009 10:52 pm
by costamesakid
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

Re: Function Calls in Recorder1.cs

Posted: Wed Jun 17, 2009 8:05 am
by Support Team
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