robbie_pannell
11 years agoNew Contributor
Name Mapping wildcards VS Dynamic Parameters in URL Processing
Hi forum folks,
I'm a new user of TestComplete and am primarily using Keyword Tests. These forums have been a huge help for me as I've been getting to know the product so thanks to everyone that keeps them going!
I'm creating tests for a web application and would like to run them on multiple versions. The issue I'm running into is that each version has a different URL.
Here are some examples:
http://172.21.1.22/plmTRK/Desk/
http://172.21.1.525/plm542/Desk/
Is the best way to handle this to manually update the URL for new pages in the Name Mapping area? For example, http://*/plm*/Desk/.
I tried adding a new Dynamic Parameter in the URL Processing area that read http://*/plm*/ and thought that it would automatically update new page URLs in Name Mapping as I recorded tests, but it didn't. Am I missunderstanding this functionality?
Thanks for any advice on this!
Robbie
I'm a new user of TestComplete and am primarily using Keyword Tests. These forums have been a huge help for me as I've been getting to know the product so thanks to everyone that keeps them going!
I'm creating tests for a web application and would like to run them on multiple versions. The issue I'm running into is that each version has a different URL.
Here are some examples:
http://172.21.1.22/plmTRK/Desk/
http://172.21.1.525/plm542/Desk/
Is the best way to handle this to manually update the URL for new pages in the Name Mapping area? For example, http://*/plm*/Desk/.
I tried adding a new Dynamic Parameter in the URL Processing area that read http://*/plm*/ and thought that it would automatically update new page URLs in Name Mapping as I recorded tests, but it didn't. Am I missunderstanding this functionality?
Thanks for any advice on this!
Robbie
- Hi Robbie,
You need to add http://*/plm*/Desk/ to the mapped page in the Name Mapping editor:
Refer to the "Modifying Mapping Criteria" article for more information.