How to copy a module to a different project
How to copy a module to a different project
I need to copy or move some existing modules from one project to a different project. Is there a way to do it? If so, what would be the right way to do it?
Re: How to copy a module to a different project
Hi,
I would suggest to use menu Project >> Add >> Existing Item... where you can select an existing file (or files) you want to add to your actual project.
I would suggest to use menu Project >> Add >> Existing Item... where you can select an existing file (or files) you want to add to your actual project.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: How to copy a module to a different project
Have you tried what you suggested? How about the repositories of the module? Copy the whole repository file of the other project?
Re: How to copy a module to a different project
Hi, yes, I tried this action;)
When you import a module, you should receive an error "The Repository reference for recording "xyz.rxrec" is unresolved". Clicking this error should invoke the "Repository Project Reference Missing" dialog, where you can select what should happen with the original repository:
- link repository - linking allows sharing one repository among multiple projects
- copy repository - copies the original repository to the project to which you imported the module
- embed repository - embeds the repository directly to the module
My preferred action is to Copy the repository. After copying the repository it's a very good idea to clean it up from unused elements. Hope this helps?
When you import a module, you should receive an error "The Repository reference for recording "xyz.rxrec" is unresolved". Clicking this error should invoke the "Repository Project Reference Missing" dialog, where you can select what should happen with the original repository:
- link repository - linking allows sharing one repository among multiple projects
- copy repository - copies the original repository to the project to which you imported the module
- embed repository - embeds the repository directly to the module
My preferred action is to Copy the repository. After copying the repository it's a very good idea to clean it up from unused elements. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration