Forum Discussion
m_essaid wrote:Hi,
We are currently doing huge back end modifications to one of our products.
To give you an idea of the mapping, the mapping file is about 5Mb.
I just can't re-map everything.
All the changes are transparent for TestComplete, because it consists in new libraries.
I would like to use the actual mapping for the "program.exe" for example and use also the "program2.exe".
Processes names are different.
But I would like to call the with the same "Aliases.program.etc etc etc". I just cant imagine re-do my mapping or my script.
Because of the fact that in fine we will have several executables running I would like to know the best way to do that.
Any help would be much appreciated
Mehdi
It's a piece of cake.
First of all, create some project variable, f.e. "PrVar" (during test you can change value of this variable on "Program1", "Program2" and so on)
Next, In the "Namemapping" > "Mappiped Object" > Select "Aliases.program" > in right panel select value of property "ProcessName" and click button "...' > In form "Edit the ProceessName Property Value" > change value in combobox "Mode" from "Constant" To "Project variable" > change value in combobox "Variable" from "" To "PrVar" > Profit
- m_essaid10 years agoValued Contributor
Hi pyatakov,
Sounds like a fine answer, thank you very much.
Finaly I just used conditionnal mapping (several process names).
And I use a dynamic management of testedapps, with TesttedApp.Programx.ItemName:= Program.
Like this, all the program1, program2 etc have the same aliase.
Note : in the conditional mapping, process names seem to be case sensitive