For example: If we can paramertize the name mapping we can easily distinguish the IDs in processes. This way it can be unique and it can be used in the test.
Property values for mapped objects can be either a constant string or a project variable. So, for your example, if you upon starting the application capture the ID from the process, you can assign that to the project variable. You can then utilize that variable in the mapping. See https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/mana...
Perfect, thank you I got my answer
TestComplete provides this feature:
Implemented in TestComplete 12.31
I am aware that you can do either or but what if you want to mix the two? For instance if my site is www.mysite.com and my test site it www.qa.mysite.com is there a way were when NameMapping I can use something like (Property, URL)/settings/account so that no matter which url I am testing it uses the same mappings?
I also have my own post about this: https://community.smartbear.com/t5/TestComplete-Functional-Web/NameMapping-Can-You-Use-A-Project-Var...
Thanks in advance.
@TylerSadler There is an option called "Conditional Mapping" where you can use AND/OR logic for the property values. That way you can have exactly what you're asking.
@tristaanogre Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.