Forum Discussion
Kitt
3 years agoRegular Contributor
More specifically you want to use "conditional" mapping for you base page objects and use a Project.Variable.baseURL (or whatever you call your variable) as a condition - then use the hard coded base urls as a fallback/failsafe:
*** be sure you are setting your NameMapping Project.Variables before the test starts or before you look for the object - so use the OnStartTest event or your own script to handle accordingly.
Related Content
- 10 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago