Forum Discussion
QAStarter
Occasional Contributor
The URL which is in NameMapping, this is added automatically when recording
Marsha_R
2 years agoModerator
You generally don't change the NameMapping during the test, you change the test to match the name mapping.
You said the If Then statement wasn't working for you. What happened when you tried it?
- QAStarter2 years agoOccasional ContributorIt fails if the url in name mapping is stg and I am passing in QA . It loads the page fine which means “if then” is working for passing in url but after that if I don’t match the NameMapping url to what I’m passing it fails on the first action after loading the page
- Marsha_R2 years agoModerator
So are all your environments basically the same after the original URL? In that case, you can make use of wildcards to do the matching of the URL. Look at the section about Using Wildcards in Name Mapping.
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html
Related Content
Recent Discussions
- 2 days ago