When adding a new code module, the template from C:\Program Files (x86)\Ranorex 3.3\RanorexStudio\AddIns\AddIns\Misc\RxSharpdevelop\Templates\Files\CSharp\UserCodeModule.xft
is used.
I tried to clone this file and create my own template but it does not appear in the Ranorex Studio IDE.
Is there a way for such an approach, i.e. can I use my own templates?
\Ralf
Writing own Code Module Templates
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Writing own Code Module Templates
Hello Ralf,
If you want to use your own template you have to delete or to rename the original template.
Then you have to save your template into the directory C:\Program Files (x86)\Ranorex 3.3\RanorexStudio\AddIns\AddIns\Misc\RxSharpdevelop\Templates\Files\CSharp.
The name of your template must be the same as the name the original Ranorex template (UserCodeModule.xft).
Regards,
Bernhard
Ranorex Support Team
If you want to use your own template you have to delete or to rename the original template.
Then you have to save your template into the directory C:\Program Files (x86)\Ranorex 3.3\RanorexStudio\AddIns\AddIns\Misc\RxSharpdevelop\Templates\Files\CSharp.
The name of your template must be the same as the name the original Ranorex template (UserCodeModule.xft).
Regards,
Bernhard
Ranorex Support Team
Re: Writing own Code Module Templates
So there is no way of having multiple templates?
What is the dialog showing "Categories" and "Templates" good for?
What is the dialog showing "Categories" and "Templates" good for?
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Writing own Code Module Templates
Hello Ralf,
Insert your templates in addition into the CSharp directory.
Restart Ranorex after that and use Add -> New Item on your project to select the template you added.
Regards
Bernhard
Ranorex Support Team
Insert your templates in addition into the CSharp directory.
Restart Ranorex after that and use Add -> New Item on your project to select the template you added.
Regards
Bernhard
Ranorex Support Team