Lagencie
7 years agoFrequent Contributor
Overwrite Namemapping Configuration in Runtime
Is it possible to overwrite a mapped objects className within a script during runtime?
NameMapping.bla.element.this.className ="newClassName"
Sadly this doesnt work, it only overwrites th...
- 5 months ago
Also, have a look at https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/configurations/about.html - this seems to be similar.
Version 1, has the following property valuesWhereas, Version 2, have slightly different property values.
You can change the name mapping configuration, to use the appropriate name mappings for your application - I'm not sure if this can be done during runtime.I've just checked, it can be changed during runtime, see https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/configurations/switching.html I think this should work for you