Forum Discussion
Just to add my work around for this is to use Set Variable Value just before I need the Alias Mapping. In the Alias mapping a set it to the variable I just populated from the excel sheet.
- rraghvani3 months ago
Champion Level 3
The reason it's showing as undefined, is because your variables have not been set. They can be set during runtime i.e. test run, but will eventually become unset when your test run finishes.
If you use Project And Project Suite Variables, then TestComplete tests use variables to store and exchange data during the test run.
Is there any reason, why you have chosen this method, of setting variables and using Excel to store your variables?
- Hassan_Ballan3 months ago
Champion Level 3
To parameterize NameMapping:
- Configure NameMapping to use Project variable %ProjectVariableName%
- Set value to Project variable and run RefreshMappingInfo https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/how-to/refresh-cache.html
💬 Was this helpful? Click Like to show appreciation.
✅ Got the answer you needed? Mark as Solution to help others find it too.