Forum Discussion
Can you add some more specific details about what you're trying to do? TestComplete automatically loads NameMapping from local project file anyways.
e.g. for my project residing in C:\TC11Projects\VER it'll automatically load name mapping from the C:\TC11Projects\VER\..\NameMapping\NameMapping.tcNM file.
- abrar2210 years agoFrequent Contributor
In our project we have different modules so depending on the module i want to pick up the NameMapping file for that Module from Common Directory.
Example: Project- Module A and Module B
Module A uses NameMapping File A
Module B uses NameMapping File B
So depending on Module I want to load up the Copy the nameMapping file as from
C:\Users\ab84953\Documents\
to
C:\FXQA\TestComplete_Projects\Project1\NameMapping
- djadhav10 years agoRegular Contributor
The only way I know to do it is before you run the tests in testcomplete. I don't think there is a TestComplete feature that let's you do that during test execution.
The other option is to run your tests using TestExecute and between running of different modules programmatically replace the NameMapping files.
This should help you do that.
- NisHera10 years agoValued Contributor
You have two options
1) merge Name mapping A and B and run in same project
2) Create two projects A and B and run seperately.
why do you keep mapping seperatly (A and B ) and single project?