Forum Discussion

G-wagon's avatar
G-wagon
Regular Contributor
8 years ago

Copying Object Mapping Settings of a Project

Hi all

 

I was wondering if it is possible at all to copy the Object Mapping setting from one project to another ? If yes, can you please suggest how ? Thanks

  • cunderw's avatar
    cunderw
    Community Hero

    The project (.mds) file is just xml. You could try copying and pasting from one file to another:

     

    		<setting name="ObjectMapping_Objects" type="6" rowIndex="4" colIndex="3">
    			<columns>
    				<column type="5" enabled="True" />
    				<column type="5" enabled="True" />
    				<column type="2" enabled="True" />
    				<column type="2" enabled="True" />
    			</columns>
    			<data>
    // these are your stored objects
    			</data>
    		</setting>
  • shankar_r's avatar
    shankar_r
    Community Hero

    Hi,

     

    If you go to Tools > Settings > Export Settings, Then you will be presented with the settings that you can export. like below

     

     

    This is the link the import and export reference: https://support.smartbear.com/testcomplete/docs/reference/options/exporting-user-settings.html

     

    Hope this will solve your issue.

     

    ###############################EDITED################################

     

    This is used to copy the settings from one machine to another machine. I misunderstood your issue.

    • G-wagon's avatar
      G-wagon
      Regular Contributor

      Hi

       

      Thanks for this however this doesnt copy over the Object mapping settings.

       


      Regards

      G

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    There currently isn't a way, that I know of, to copy the object mappings from one existing project to another existing project.  However, if you know what object mappings you need, you can set them up in Tools -> Default Project Properties.  Then, everytime you create a new project, they will be applied.  That's my best suggestion at this moment.

    • G-wagon's avatar
      G-wagon
      Regular Contributor

      Hi

       

      You are correct as there isn't any way. I'll try through Tools -> Default Project Properties and see how it works. Thanks

       

       

      Regards

      G