Forum Discussion
shankar_r
8 years agoCommunity Hero
Hi,
Let’s say the main object (which means the Parent Object) having URL as “https://testenv.com:1947" and if you want to test the same application with different port as "https://testenv.com:443"
If you are in this scenario then,
- Go to your parent object in NameMapping.
- Click Edit in the Parent object.
- And set your URL property to "https://testenv.com:*"
Then you should be able to access all objects.
If you want that as a dynamic way, then instead selecting Constant you can select Project.Variable for that object.
you starting your test items then you set a value as you want.
Project.Variable.urlname = "<your environment URL>"
start your execution.
Let me know if this works for you.
- tristaanogre8 years agoEsteemed Contributor
You can also use a wildcard (*) in the URL for the hostname within your mapping. That way the mapping will work, no matter the host/domain.
Related Content
- 10 years ago
Recent Discussions
- 3 days ago