Forum Discussion
See Using Wildcards which can be used in name mappings.
The parent object i.e. the browser should be defined as http://pega-*app-02.inside note the wildcard * being used. All your other child objects will be beneath this. Therefore, there's no need to define the name mappings twice, for each environment.
I have tried to pass the main URL as a variable as an attached screen. but it was not recognized the INT environment's element when executing on INT environment (pass INT URL while executing on INT for variable value)
- rraghvani11 months agoChampion Level 3
Your ObjectType URL is referring to,
How will that work, for the INT environment!?
- sudam_evonsys11 months agoOccasional Contributor
Sorry for the confusion. What I meant was that when I was running on the INT environment, I passed the INT URL as a variable (for the highlighted URL). The screenshot I have attached is not relevant to the sample project; I just wanted to highlight the URL variable that I passed there.
That screen was relevant to the UAT environment and it was working well. but when I tried to execute the same script on INT by passing the INT URL it was not working (unable to locate elements, but the same locators are there).
- rraghvani11 months agoChampion Level 3
"I passed the INT URL as a variable" - what do you mean by this exactly?
Related Content
- 9 years ago
Recent Discussions
- 3 hours ago
- 6 days ago
- 10 days ago