I have a Ranorex solution that contains several tests. Up until recently, there were a couple common functions that I would copy into each test's UserCode.cs file. Yesterday, I decided it'd make a lot more sense to add a base class to each test that contained the commonly used functions so I could stop copying them. As expected, this built successfully and worked.
However, if I now open a recording, Ranorex sees that my recording has UserCode actions and automatically regenerates the function signatures in the test's UserCode.cs file, despite the inherited class already having the exact same function signatures.
How can I get Ranorex to stop doing this seemingly helpful, but actually irritating behavior? Is there a way I can fool Ranorex into thinking the method signatures are present in the UserCode file, so it won't regenerate them?
Thanks,
-Craig
Why does Ranorex regenerate functions that are inherited?
- Support Team
- Site Admin
- Posts: 12174
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Why does Ranorex regenerate functions that are inherited?
Hi,
Would it be possible to send us your project?
Then we can check it directly with your entire solution.
Thanks in advance.
Regards,
Peter
Ranorex Team
Would it be possible to send us your project?
Then we can check it directly with your entire solution.
Thanks in advance.
Regards,
Peter
Ranorex Team
Re: Why does Ranorex regenerate functions that are inherited?
I've attached a zip file that contains a sample project that reproduces the issue. I've also enclosed a txt file with repro instructions.
Thanks,
-Craig
Thanks,
-Craig
- Attachments
-
- RegenerateFunctionExample.zip
- (11.24 KiB) Downloaded 269 times
- Support Team
- Site Admin
- Posts: 12174
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Why does Ranorex regenerate functions that are inherited?
Hi,
thanks for your feature request. Right now this is not implemented but It will be sheduled in our feature request list.
Kind regards,
thanks for your feature request. Right now this is not implemented but It will be sheduled in our feature request list.
Kind regards,