Working Environment: Win7 ,Ranorex2.02
Related files:program.cs,repository.rxrep,Recording1.rxrec,Recording1.cs
Step:
1. record your action..
2. modify Recording1.cs with your code.
3. Modify repository.rxrep.
4. Save all
And you will find you lost all informatioin in Recording1.cs. All code are re-generated. That means terrible. In case i occasionally modify *.rxrep and save all , all i changed will lost.
In fact, few of us will record and replay without modify source.
Lost my modified codes when save
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Hi,
I see what you mean. The problem is that with version 2.0.x all Ranorex Recorder generated code is replaced when changing or saving the recording again.
With V2.1 the Ranorex Recorder provides an additional file to extend existing recordings with user defined code actions.
For now, you'll have to copy&paste the generated code to extend it with user code. But I'm sure you'll like the new feature of implementing code actions provided by version 2.1
kind regards,
Christoph
Ranorex Support Team
I see what you mean. The problem is that with version 2.0.x all Ranorex Recorder generated code is replaced when changing or saving the recording again.
With V2.1 the Ranorex Recorder provides an additional file to extend existing recordings with user defined code actions.
For now, you'll have to copy&paste the generated code to extend it with user code. But I'm sure you'll like the new feature of implementing code actions provided by version 2.1
kind regards,
Christoph
Ranorex Support Team
Thanks , i will have a try
thank you for your hard work.
-
- Posts: 7
- Joined: Fri Apr 10, 2009 10:43 am
Hi marcushe!
I believe what you want to do isn't available yet, like christoph said, it will be possible with Ranorex v2.1, currently v2.0.2
I think the only possible step to do this is to make an extra test where you copy your generated code from the recorder into and extend it with your own code, or the other way round...
I hope my post helped you a little bit further
greets
I believe what you want to do isn't available yet, like christoph said, it will be possible with Ranorex v2.1, currently v2.0.2

I think the only possible step to do this is to make an extra test where you copy your generated code from the recorder into and extend it with your own code, or the other way round...
I hope my post helped you a little bit further

greets